Translate resource tenant ID to name

Mongoose 36 Reputation points
2022-05-10T19:46:10.8+00:00

Our sign-in logs show numerous successful single-factor authentication logins even though we enforce multi-factor authentication. The details for these indicate the user is connecting with an external resource. It gives the resource ID and resource tenant ID. I would like to be able to determine what company has this ID. I found numerous posts on how to obtain my own tenant name, but nothing on how to obtain another tenant's name. I view this as similar to whois for internet domain names. How can I determine the name of an entity with a specific tenant ID?

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,068 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,570 questions
{count} votes

Accepted answer
  1. risolis 8,711 Reputation points
    2022-05-24T21:41:50.003+00:00

    Hi @Mongoose

    Thank one more time for your reply back.

    If you want to use a P1/P2 license, for instance you can activate a Free trial for P2 license and then run the command.

    Regards,

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

    0 comments No comments

6 additional answers

Sort by: Most helpful
  1. Joan Badell 11 Reputation points
    2023-01-10T19:47:35.72+00:00

    Hi @Mongoose .

    Have you found an answer for your problem?

    I have the same problem, and perhaps I have found a solutión to find the tenant name associated with the resource tenant ID.

    In the Azure Active Directory Admin Center you can go to administer External Identities. If you add a new organization and type the tenant ID, you can view the tenant name.

    Regards, Joan Badell

    2 people found this answer helpful.
    0 comments No comments

  2. risolis 8,711 Reputation points
    2022-05-11T03:40:25.49+00:00

    Hi @Mongoose

    I was doing a quick check on your concern and I wonder if you need any other detail to get this going....

    BR,

    0 comments No comments

  3. Mongoose 36 Reputation points
    2022-05-11T12:57:26+00:00

    I know my own tenant ID and name. I am attempting to determine the tenant name for an external tenant to which some users are authenticating. The sign-in logs show users connecting using application Microsoft Teams Web Client. The Cross tenant access type is B2B collaboration. The resource tenant ID is also listed. I am attempting to determine the tenant name associated with the resource tenant ID. I want to know the external company to which our users are connecting.

    I may not have access to the Partner center web page. Can you send a link so I can test it?


  4. James Hamil 23,061 Reputation points Microsoft Employee
    2022-05-24T01:34:10.403+00:00

    Hi @Mongoose , can you please try the command you listed below after installing these modules? It worked for me after this.

    Install-Module -Name Microsoft.Graph.Authentication -Repository PSGallery  
    Install-Module -Name MSIdentityTools -RequiredVersion 2.0.3  
    

    For the "name" you are referring to, are you asking about a name from the following image?

    205477-image.png

    Or is "name" referring to something else? Please let me know and I can help you further.

    Thank you,
    James

    0 comments No comments