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.

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

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 :

Get-AzureADMSRoleAssignment | ft -Autosize

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

Get-AzureADMSAdministrativeUnit

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

Remove-AzureADMSRoleAssignment -Id <AssignmentId>

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 Comment

Leave a Reply

Your email address will not be published.

Avoid certificate prompt for Azure Active Directory Certificate-Based Authentication (CBA)

Azure Active Directory Certificate-Based Authentication (Azure AD CBA) allows you to authenticate to Azure Active Directory using a certificate from your internal Public Key Infrastructure (PKI). To know how to implement Azure Active Directory CBA, please refer to the Microsoft...

Manually re-enroll a Hybrid Azure AD Join Windows 10 / Windows 11 device to Microsoft Endpoint Manager without loosing the current configuration

Edit 01/06/2022 : updating this article to include Azure Virtual Desktop Windows 10 / Windows 11 multi-session enrollment command using Device Credential ——– There are several ways to enroll a Windows 10 PC to Microsoft Intune: Manually During the Out-of-the-box...

aOS Luxembourg – Sécurisez vos services Office 365 avec la suite EMS (04/12/2017)

Retrouvez-moi le lundi 4 décembre prochain chez Microsoft Luxembourg pour notre prochain aOS ! J’évoquerai dans une session dédiée les méthodes de sécurisation de vos services Office 365 grâce à la suite Enterprise Mobility + Security (EMS). Nous aborderons notamment...