Delegate user rights in Microsoft Exchange allow users to manage another user’s mailbox, including accessing and managing their calendar. However, there may be situations where you need to reset delegate user rights to resolve issues or make changes to permissions. In this blog post, we will guide you on how to reset delegate user rights using PowerShell.

Step 1: Open PowerShell

To get started, open PowerShell on your computer. You can do this by searching for “PowerShell” in the Start menu or by pressing the Windows key + X and selecting “Windows PowerShell” or “Windows PowerShell (Admin)”.

Step 2: Connect to Exchange Online

If you are using Exchange Online, you need to connect to your Exchange Online environment before running the command. Use the following command to connect:


If you are using an on-premises Exchange server, you can skip this step.

Step 3: Reset Delegate User Rights

Now that you are connected to Exchange Online (if applicable), you can reset delegate user rights using the following command:

Remove-MailboxFolderPermission -Identity "[email protected]:Calendar" -ResetDelegateUserCollection

Make sure to replace “[email protected]” with the actual email address of the user whose delegate user rights you want to reset. The Calendar specifies that you want to reset delegate user rights for the calendar folder. You can replace it with other folder names like Inbox or Contacts if needed.

Step 4: Confirm the Reset

After running the command, PowerShell will prompt you to confirm the reset. Type “Y” and press Enter to proceed with the reset.

Once the command is executed successfully, the delegate user rights for the specified folder will be reset. The user will no longer have any permissions to access or manage the folder.

Additional Notes:

– If you have multiple folders for which you want to reset delegate user rights, you can run the command multiple times, replacing the folder name in the -Identity parameter.

– If you want to remove delegate user rights for all folders, you can use the -User parameter instead of -Identity and specify the user’s email address.

– Be cautious when resetting delegate user rights, as it can impact the user’s ability to access and manage the mailbox. Make sure to communicate any changes to the affected users.

That’s it! You have successfully reset delegate user rights using PowerShell. This method provides a quick and efficient way to manage delegate permissions in Exchange. Remember to use PowerShell commands with caution and always double-check before executing any commands that can impact your Exchange environment.


    Discover more from Everything-PowerShell

    Subscribe now to keep reading and get access to the full archive.

    Continue reading