Add outlook users

I'm looking for a way to automatically give a user full permission to thier own mailbox. I know I can run the command "Get-MailboxDatabase -identity “[mailbox database name]” | Add-ADPermission -user [username] -AccessRights GenericAll" in powershell but I need some script to do this for multiple users or if exchange can automatically execute this command when I create a new user.
MaquinalocaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Rajkumar-MCITPConnect With a Mentor Commented:
By default user will have full access permission on their mailbox. generic all will come in place when you are giving permission for other user..

Are you facing any issue for full access permission on the self mailbox?
0
 
MaquinalocaAuthor Commented:
I understand the default settings but I need to implicit grant the user full access.
0
 
Rajkumar-MCITPCommented:
I believe running this shell command, will set a the required permission on the database.

Get-MailboxDatabase -identity “[mailbox database name]” | Add-ADPermission -user [username] -AccessRights GenericAll"

If you create a user later on the above mentioned database, the permission will be assigned to the user who is having permission on the database.

1. Create a Security
2. Set the permission - Get-MailboxDatabase -identity “[mailbox database name]” | Add-ADPermission -user [Securitygroup] -AccessRights GenericAll"
3. in future if you want to add the user, add the user to the group, he will get the permission.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.