Category: Azure

  • Get Tenant Name using Tenant ID

    We recently had a Governance case where we found some flows doing some connections to other Tenants, we had a list of the Tenant IDs that we needed to know the name of just to get an understanding of what was being done.

    If you want to get a Tenant Name from the Tenant ID there’s a graph API endpoint that’ll help you with that, the tenantInformation.

    What if you need some quicker way without having to deal with calling that endpoint? Here’s a quick workaround:

    Go to Azure Portal, search for External Identities.

    Select Cross-tenant Access Settings and then Organizational Settings.

    From here just select Add Organization and past the ID on the search box, it’ll do a lookup and give you the Tenant Name:

    When done just press Discard.

    Nice and easy!