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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rajkumar-MCITPCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

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.