[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

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.
0
Maquinaloca
Asked:
Maquinaloca
  • 2
1 Solution
 
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
 
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

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now