How to configure Send As Permission to a User in Office 365

/

image

If you need to give Send As Permissions to a User in Office 365, it can be done using a few simple commands in Exchange Online PowerShell.

Send As permission is used when you need to give a user permission to use another recipient’s email address in the From address.

First connect to your Office 365 tenant, using Windows PowerShell.

To connect to Exchange Online, just start a PowerShell session and type in following commands:

$Cred = Get-Credential

The above command prompts you, for your Office 365 tenant admin credentials, it is important to enter as UPN format, such as e.g. [email protected].

Next, we will create a new remote PowerShell session using the following cmdlet:

$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection

Next we import of the PowerShell session:

Import-PSSession $s

You are now connected to Exchange Online with you Office 365 Tenant admin and can use Exchange Online PowerShell cmdlets available.

Next grant a user permission to access another user’s mailbox, so they have permission to open it:

Add-MailboxPermission <mailbox> -User <user or security group> -AccessRights FullAccess

Then give Send As permission to users, som they can send as the user:

Add-RecipientPermission <identity> -AccessRights SendAs -Trustee <user>

 

 

Reference documentation: http://technet.microsoft.com/en-us/exchangelabshelp/ff852815

17 thoughts on “How to configure Send As Permission to a User in Office 365”

    • Hello it is great for your post so if i want add sendas permission for 2 users what can I do without by script

  1. Use this page almost every day, copy and past. Nice and clear, unlike some of the MS sites! I am developing a tool that does this will let you know when it’s ready.

  2. Need help in importing multiple users to “Send as” for a mailbox.

    I have figured out on how to import multiple users for Full mailbox access

    foreach ($line in import-csv “path of the csv file”){Add-MailboxPermission -Identity “Mailbox name” -User $line.Name -AccessRights FullAccess}

    can you give me a similar code for send as?

    • Hello your script is perfet for me but how can run this AD cmdlet on exchange powershelI
      Add-MailboxPermission

      The term ‘Add-ADPermission’ is not recognized as the name of a cmdlet

      Thanks,
      Fran

  3. tried this script for send as
    foreach ($line in import-csv “path of csv”){Add-ADPermission $Line.UserMailbox -Extendedrights “Send As” -User $Line.Name}

    The CSV file contains one title” Name” and below it all the Login ids

  4. Looks like you can do this through the web UI now using the “mailbox delegation” tab on the users mailbox.

  5. got anything in English, for us that just want the function to work in the mail box delegation tab?

  6. Thanks for this – was struggling to get advice on adding SendAs access – TechNet not very helpful. Wish this was top of Google’s list! Thank you.

  7. I need to allow members of our service desk to set mailbox delegation, full access, send as, send on behalf etc. on user’s mailboxes when they request it. The service desk team all have “User management administrator” role, but the mailbox Delegation options are unavailable for them. What role is required for them to be able to do this?

    • There is no default Role for that. Unless you give them full Administrator rights, which you might not want. In that case you will need to create your own RBAC role. You could start by copying the “User Management Administrator” Role and then add the permissions they need to this new role. Hope this helps you on the way.

  8. I am using Powershell ISE and I tried but get an error that the cmdlet Add-RecepientPermissionis not a recognized as a name of a cmdlet
    $UserCredential = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http:///PowerShell/ -Authentication Kerberos -Credential $UserCredential
    Import-PSSession $Session -ErrorAction Stop
    add-MailboxPermission -User “” -AccessRights fullaccess -Confirm:$False
    Add-RecipientPermission -AccessRights SendAs -Trustee
    Remove-PSSession $Session
    If I remove the Send As to check the Full access rights it works
    Any Suggestions
    Thank you for your time

    I can

Comments are closed.