Find Tenant ID, Object ID, and partner association details

This article describes how to find the Tenant ID, Object ID, and partner association details, along with their respective subscription IDs.

If you need to get screenshots of these items in Azure Cloud Shell to use for debugging assistance, jump down to Find Tenant, Object, and PartnerID association for debugging.


Only the owner of a subscription has the privileges to perform these steps.

Find Tenant ID

  1. Go to the Azure portal.

  2. Select Microsoft Entra ID.

    The Microsoft Entra ID icon in the Azure portal.

  3. Select Overview. Your Tenant ID should appear under Basic information.

    Select Groups in the Azure portal.

Find subscriptions and roles

  1. Go to the Azure portal and select Microsoft Entra ID as noted in steps 1 and 2 above.

  2. Select Subscriptions.

    The Subscriptions icon in the Azure portal.

  3. View subscriptions and roles.

    The Subscriptions screen in the Azure portal.

Find PartnerID

  1. Navigate to the Subscriptions page as described in the previous section.

  2. Select a subscription.

  3. Under Billing, select Partner information.

    Partner information in the left-nav menu.

Find User (Object ID)

  1. Sign in to the Office 365 Admin Portal with an account in the desired tenant with the appropriate administrative rights.

  2. In the left-side menu, expand the Admin Centers section at the bottom and then select the Microsoft Entra option to launch the admin console in a new browser window.

  3. Select Users.

  4. Browse to or search for the desired user, then select the account name to view the user account's profile information.

  5. The Object ID is located in the Identity section on the right.

    Microsoft Entra admin center.

  6. Find role assignments by selecting Access control (IAM) in the left menu, then Role assignments.

    Role assignments for Azure resources.

Find IDs for debugging

This section describes how to find tenant, object, and PartnerID (formerly MPN ID) association for debugging purposes.

  1. Go to the Azure portal.

  2. Open Azure Cloud Shell by selecting the PowerShell icon at the top-right.

    PowerShell icon at the top right of the screen.

  3. Select PowerShell.

    Select the PowerShell link.

  4. Select the Subscription box to choose the one to which the partner is linked, then Create Storage. This is a one-time action; if you already have storage set up, proceed to the next step.

    Select the Create Storage button.

  5. Creating (or already having) storage opens the Azure Cloud Shell window.

    The Azure Cloud Shell window.

  6. For partner association details, install the extension with this command:
    az extension add --name managementpartner.
    Azure Cloud Shell will note if the extension is already installed:

    The Azure Cloud Shell window showing the extension is already installed.

  7. Check partner details using this command:
    az managementpartner show --partner-id xxxxxx
    Example: az managementpartner show --partner-id 4760962.
    Snap a screenshot of the command results, which will look similar to this:

    Sample screen showing the results of the prior command to view parter ID.


If multiple subscriptions require a screenshot, use this command to switch between subscriptions:
az account set --subscription "My Demos"

Next steps