Press ESC to close

Maxime RastelloMaxime Rastello Microsoft 365, Azure, Identity, Security & Compliance, Enterprise Mobility, Workplace

Cannot access to Teams Admin Center because of Administrative Unit Role Assignment

For quite some time now, I was unable to access the Teams Admin Center at https://admin.teams.microsoft.com. My account was the only one impacted as other admins could connect just fine.

[br]

There are issues loading the site.
We can’t get to the Teams Admin Center right now. Something went wrong.

https://admin.teams.microsoft.com/service-unavailable

[br]

[br]

After reviewing the role assignments on my account using the AzureAD PowerShell module, I’ve detected that a stale role assignment linked to a deleted administrative unit :

[br]

Get-AzureADMSRoleAssignment | ft -Autosize

[br]

[br]

However, all the administrative units in the directory have been deleted one day ago :

Get-AzureADMSAdministrativeUnit

[br]

[br]

After deleting the stale role assignment using PowerShell, I can now access the Teams Admin Center.

[br]

Remove-AzureADMSRoleAssignment -Id <AssignmentId>

[br]

This cmdlet did not work at first with “Access Denied”, as I think 24h was needed to propagate the deletion of the administrative units.

Leave a Reply

Your email address will not be published. Required fields are marked *