Full Access & Send As rechten op Office365 mailbox

Prosper's picture
Forums: 

Mailbox permissies in Office365 en Send As rechten toekennen via Powershell

 

$Mailbox = Read-Host 'What mailbox do you want to give access to?'
$SG = Read-Host 'What group can have access?'
Add-recipientPermission -Identity "$Mailbox" -Trustee "$SG" -AccessRights SendAs
Add-MailboxPermission -Identity "$Mailbox" -User "$SG" -AccessRights FullAccess