Forum Discussion
Marvin Oco
Apr 15, 2019Iron Contributor
What is the script for send on behalf permission?
We have send as script for Send As: $access = "SendAs" $mailbox = Get-Mailbox -Identity MYSHAREDMAILBOX $identity = $mailbox.UserPrincipalName $permissions = Get-MailboxPermission -identity $id...
dotpwsh
Apr 15, 2019Copper Contributor
There is -GrantSendOnBehalf parameter on the Set-Mailbox cmdlet you could check out.
https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/set-mailbox?view=exchange-ps
https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/set-mailbox?view=exchange-ps