Specifying Send As permission using PowerShell

For Exchange Online users, the master account from which Multimedia Contact Center retrieves emails requires Send As permission for the applicable distribution groups.

Before specifying Send As permissions, ensure that
To specify Send As permission for a distribution group using PowerShell
  1. In Windows, open PowerShell.
  2. To create the PowerShell connection to the remote Exchange Online, run the following credentials:

    $LiveCred = Get-Credential

    $Session = New-PSSession -ConfigurationName Microsoft.Exchange - ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -AuthenticationBasic -AllowRedirection

    Import-PSSession $Session

  3. Enter the credentials for the Exchange Online administrator.
  4. To add the Send As permission to the list

    Add-RecipientPermission -Identity distributiongroup@example.com -Trustee mailbox@example.com -AccessRights SendAs

    Note:

    Identify corresponds to the distribution group. Trustee corresponds to the mailbox.

  5. Repeat Step 3 for each distribution group.