Microsoft 365 Backup - Group and mailbox owner permissions

If the backup log contains the following warning: Processing mailbox <mailbox name> completed with warning: Failed to find group owner account, take the actions below to remediate the issue.

  1. Open a PowerShell session and connect to Exchange Online with Modern Auth:

    Connect-ExchangeOnline -UserPrincipalName email@domain.com
  2. Copy and run the following script, adjusting the filters for the specific user you want to report on and specifying the desired path for the CSV file output:

    Get-Mailbox -RecipientTypeDetails SharedMailbox -ResultSize:Unlimited | Get-MailboxPermission |Select-Object Identity,User,AccessRights | Where-Object {($_.user -like '*@*')}|Export-Csv C:\Temp\sharedfolders.csv -NoTypeInformation
  3. Review the resulting CSV report, in the code example above:

    C:\Temp\sharedfolders.csv -NoTypeInformation
  4. Read the additional information from Microsoft: https://learn.microsoft.com/en-us/powershell/module/exchange/get-mailboxpermission?view=exchange-ps

  5. Once this is verified, you can automatically assign the same user as an owner on all Teams using these PowerShell commands (Replace x@team.com with the actual user you want to assign as the owner):

 

Â