Access or Permission Denied for Exchange Online Group

Symptom:

When there is no mailbox attached to the Teams Private Group, the following error message appears:

Backup mailbox [abcd-pvt-group] failed:Access is denied

Solution:

To avoid this issue, follow these steps:

  1. Create a shared mailbox:
    1. Go to the Microsoft Login page, and then log into the Microsoft Office 365 Admin account.
    2. Navigate to the Exchange Online admin center page.
    3. Under Dashboard, go to recipients > shared.
    4. Click + to add or create a shared mailbox.
  2. Set a password and assign the Office 365 license for shared mailbox:
    1. Return to the Office 365 Admin account.
    2. Go to Users > Active users, and then select shared mailbox.
    3. Set the Password and assign the Office 365 license.
  3. Add the shared mailbox as the member of the private group:
    1. Navigate to the Exchange Online admin center page, and then from Dashboard, click Groups.
    2. Select the private mailbox, and then click Edit.
    3. On the Edit Settings page, add the shared mailbox as the member of the group, and then click Save.
  4. Add the shared mailbox for Global Administrator:
    1. Go to the Azure Portal.
    2. Navigate to the Roles section, and then select the Global Administrator role.
    3. Click Add Assignments, select shared mailbox, and then click Save.
  5. On the UDP console, update the node with email address of shared mailbox, and then re-run the backup job.
  6. Verify if the backup job is successful.