Locate important IDs for a user

Appropriate roles: Global admin

This article describes how to use the Azure portal to locate the following information for a user:

  • The Microsoft Azure Active Directory (Azure AD) tenant ID of the user's organization or company

  • The primary domain name of the organization or company associated with the Azure AD tenant

  • The user object ID

Find the Microsoft Azure AD tenant ID and primary domain name

Follow these steps to locate the Azure AD tenant ID or primary domain name within the Azure portal. (If you'd like to find a tenant ID programmatically, see Find tenant ID with PowerShell or CLI.)

Note

The tenant ID may be called different names in different applications or resources. For example, the tenant ID may be referred to as the directory ID, the Azure Active Directory (Azure AD) tenant, Microsoft ID, or for certain reports, even the tenantguid.

  1. Sign in to the Azure portal.

  2. Select Azure Active Directory from the menu.

    Shows Azure portal selecting the Azure Active Directory option from the menu.

  3. An Azure Active Directory Overview page appears. To find the Azure AD tenant ID or primary domain name, look for the Tenant ID field and the Primary domain field. These fields appear in the Tenant information section.

    Shows Overview page with two highlighted fields, tenant ID and primary domain name.

  4. You can find the tenant ID in the Azure portal in a few other ways. Select Azure Active Directory from the menu. Then, locate the Manage section on the menu and select Properties.

    The Properties page also displays the user's associated Tenant ID.

    Shows Properties page with highlighted Tenant ID field.

Find the user object ID

Just finding the domain name and tenant ID may not always be enough. You may also need to locate the specific object ID assigned to a user. Follow these steps to find a user's object ID in the Azure portal:

  1. Sign in to the Azure portal.

  2. Select Azure Active Directory from the menu.

  3. Locate the Manage section on the menu, then select Users.

    Shows Azure Active Directory menu with highlighted, Users option.

  4. From the Users page, type the user's name in the search box.

    Shows Users page with search box to search for a specific user.

  5. Select the user's name where it appears on the list.

    Shows User page displaying a row for the searched user.

  6. Locate the Identity section on the user's Profile page. The Object ID field appears here with the user's unique object ID.

    Shows User Profile page with Identity section and one highlighted field for Object ID.

Next steps