shared mailbox

Roger Roger 7,181 Reputation points
2024-12-24T06:08:35.2733333+00:00

Hi All,

I have a shared mailbox, let’s say @contoso.com, and I have granted 3 users Send-On-Behalf-Of permissions using the syntax below. I now want to revoke one user(@contoso.com) Send-On-Behalf-Of permission. Could you please guide me with the PowerShell syntax?

Set-Mailbox -Identity "******@contoso.com" -GrantSendOnBehalfTo @{add="******@contoso.com","******@contoso.com","******@contoso.com"}

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,178 questions
Exchange | Exchange Server | Other
Exchange | Exchange Server | Management
Exchange | Hybrid management
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2024-12-24T08:52:10.4566667+00:00

    Hi,@Roger Roger

    Thanks for posting your question in the Microsoft Q&A forum.

    The command you provided is quite correct, it does assign Send-On-Behalf permissions to shared mailboxes.

    User's image

    If you want to revoke a user's Send-On-Behalf-Of privileges on a shared mailbox, you need to clear the members in the Send-On-Behalf of the shared mailbox first and then reassign the permissions.

    1.Empty the members in Send-On-Behalf of the shared mailbox.

    Set-Mailbox -Identity DL  -GrantSendOnBehalfTo $null
    
    

    User's image

    2.Re-add member.

    Set-Mailbox -Identity "******@contoso.com" -GrantSendOnBehalfTo @{add="******@contoso.com","******@contoso.com"}
    

    User's image

    Note: Microsoft does not display the user's name directly but the GUID for the user's security. you can find out which user it is based on the GUID.

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.