Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a hosted exchange 2010 and I am trying to setup the Send-As permission.

I am following the Manage Send As Permissions for a Mailbox Technet article, which basically describes the commands for achieving this.

I have user accounts aaa and bbb

[PS] C:\Windows\system32>get-mailbox -organization myorg -identity "aaa"
Name                      Alias                ServerName       ProhibitSendQuota
----                      -----                ----------       -----------------
aaa                       aaa                  mx1  4.95 GB (5,315,022,848 bytes)


[PS] C:\Windows\system32>get-mailbox -organization myorg-identity "bbb"
Name                      Alias                ServerName       ProhibitSendQuota
----                      -----                ----------       -----------------
bbb                       bbb                  mx1  4.95 GB (5,315,022,848 bytes)

Now, when I use the command below to give bbb permission to send-as aaa, I get the following error:

[PS] C:\Windows\system32>get-mailbox -organization myorg -identity "aaa" | Add-ADPermission -Extended Rights "Send As" -user "bbb"

mx1/Microsoft Exchange Hosted Organizations/myorg/aaa wasn't found. 
Please make sure you've typed it correctly.
    + CategoryInfo          : InvalidArgument: (:) [Add-ADPermission], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : D2FD338,Microsoft.Exchange.Management.RecipientTasks.AddADPermission

The error message that aaa was not found does not make sense, because I just retrieved the mailbox in the previous commands.

I have tried using email addresses instead of alias as well, but that does not work either.

share|improve this question
    
I found the answer: <br>Reading further ...i found the answer to be partly from technet.microsoft.com/en-us/library/ff935839.aspx It appears that I have to use a different command which does the same thing: Add-RecipientPermission "Help Desk" -AccessRights SendAs -Trustee "Ayla Kol" but for my case, i had to specify the whole organisation etc Add-RecipientPermission "domain/Microsof Exchange Hosted Organizations/myOrg/Help Desk" -AccessRights SendAs -Trustee "Ayla Kol" :) – Ravi Mar 30 '12 at 9:59
    
You can post that as an answer and mark it as accepted, we allow that around here. Though I think you need to wait 48 hours after the questions is posted to actually accept. It lets the system know this question has an answer, so won't recycle it periodically. – sysadmin1138 Mar 30 '12 at 11:48

Reading further I found the answer to be partially from

http://technet.microsoft.com/en-us/library/ff935839.aspx

It appears that I have to use a different command which does the same thing: Add-RecipientPermission "Help Desk" -AccessRights SendAs -Trustee "Ayla Kol"

but in my case, I had to specify the whole organisation etc

Add-RecipientPermission "domain/Microsof Exchange Hosted Organizations/myOrHelp Desk" -AccessRights SendAs -Trustee "Ayla Kol"

share|improve this answer
1  
Is this solved? If it is, please tick the check mark to indicate so to others. If it is not, please make it clear in your question what more needs to be answered. – Michael Hampton Feb 16 at 5:38

protected by Michael Hampton Feb 16 at 5:37

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.