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
Go to the Azure portal.
Select Azure Active Directory.
Select Overview. Your Tenant ID should appear under Basic information.
Find subscriptions and roles
Go to the Azure portal and select Azure Active Directory as noted in steps 1 and 2 above.
View subscriptions and roles.
Navigate to the Subscriptions page as described in the previous section.
Select a subscription.
Under Billing, select Partner information.
Find User (Object ID)
Sign in to the Office 365 Admin Portal with an account in the desired tenant with the appropriate administrative rights.
In the left-side menu, expand the Admin Centers section at the bottom and then select the Azure Active Directory option to launch the admin console in a new browser window.
Browse to or search for the desired user, then select the account name to view the user account's profile information.
The Object ID is located in the Identity section on the right.
Find role assignments by selecting Access control (IAM) in the left menu, then Role assignments.
Find IDs for debugging
This section describes how to find tenant, object, and PartnerID (formerly MPN ID) association for debugging purposes.
Go to the Azure portal.
Open Azure Cloud Shell by selecting the PowerShell icon at the top-right.
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.
Creating (or already having) storage opens the Azure Cloud Shell window.
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:
Check partner details using this command:
az managementpartner show --partner-id xxxxxx
az managementpartner show --partner-id 4760962.
Snap a screenshot of the command results, which will look similar to this:
If multiple subscriptions require a screenshot, use this command to switch between subscriptions:
az account set --subscription "My Demos"