This guide is for customers who continue to use the original platform for Veeam Data Cloud for Microsoft 365 until migration to the new unified experience platform is complete. If you use Veeam Data Cloud for Microsoft 365 in the unified experience platform, click here to go to the correct user guide.

Granting Owner Role in PowerShell

To grant the Owner role to the M365 Global Admin account that the Microsoft Entra application uses to log in to Microsoft 365, do the following:

  1. Connect to Exchange Online PowerShell. For more information, see this Microsoft article.
  2. Use the following example to grant the role:

$folders = get-publicfolder "\" -recurse

foreach($folder in $folders)

{

Add-PublicFolderClientPermission -Identity $folder.identity -user <user_account> -AccessRights Owner

}