There is an error when connecting to the Microsoft entra ID.

QK9897 0 Reputation points
2024-06-24T00:18:17.5133333+00:00

The device was accidentally disabled within Office 365. As a result of the search, I was asked to access Microsoft entra ID as an administrator and release the disabled device. I logged in, but when I access the device page, I keep getting a pop-up like the one below. I'm wondering if this account is not an administrator or if it's an administrator but doesn't have that permission. And if the account that accessed Microsoft entra ID is not the administrator, I would like to know how to find the administrator account. Because the person in charge of the company doesn't know about this either. What should I do?

entraiderror

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,461 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,535 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sandeep G-MSFT 16,691 Reputation points Microsoft Employee
    2024-06-24T05:04:00.4+00:00

    @QK9897

    Thank you for posting this in Microsoft Q&A.

    As I understand you are getting error while trying to access the device blade in your Entra ID portal.

    You want to know ways to find the administrators in your Entra ID.

    If you don’t know who are the admins then you can follow below steps to know who are the admin in your tenant. There is a PowerShell way to find global admin in your Azure AD. However, to use PowerShell as well you will have to authenticate yourself first.

    • Open Windows PowerShell as administrator.

    • Run command “Install-Module azuread”

    • Once installed you can run command “Connect-AzureAD” and enter your credentials once it asks for.

    • Once you login, you can run command “Get-AzureADDirectoryRole”.

    • From the output you can copy the object ID of Global administrator

    • Run command “Get-AzureADDirectoryRoleMember -ObjectId "Paste the object ID of global admin that was copied earlier"

    • You will get the list of users with global admin role assigned.

    You can contact them directly and ask them to perform the steps to get the device enabled again.

    Let me know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.