Exchange Powershell shared mailbox permissions problem
Posted on 2009-07-09
I have added a shared mailbox in Exchange PowerShell, but I cannot assign permissions. I added the shared mailbox with the following line:
New-Mailbox -Name:admin -Database:'Mailbox Database' -UserPrincipalName:'email@example.com' -Shared
Then i added users with the line:
add-mailboxpermission admin -user: Kristen -AccessRights:FullAccess
I then added the same line for 1 more user.
Now when I try to set Permissions I get the following:
[PS] C:\Windows\System32>add-adpermission admin -user: Kristen -ExtendedRights:Send-As -AccessRights:ReadProperty, WriteProperty -Properties:'Personal Information'
Add-ADPermission : There are multiple objects matching the identity "admin". Please specify an unique value.
At line:1 char:17
+ add-adpermission <<<< admin -user: Kristen -ExtendedRights:Send-As -AccessRights:ReadProperty, WriteProperty -Properties:'Personal Information'
If it matters this is for a small company and Exchange is part of SBS 2008.
What am I missing?