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