Azure Portal, signing into specific tenant

When the Azure portal automatically signs you into the wrong tenant.

Anders Moth Falk

When logging into the Azure portal, it sometimes automatically sign you into the latest tenant. However, there are instances when it doesn’t work as intended. Especially when you’re working with multiple tenants. In such cases, you may not want to relog into the lastest tenant you were working on.

To force the portal to a specific tenant, simply append the tenant ID to the login URL. For example, use portal.azure.com/tenantid . This approach will override the portal sign in experience.

Remember that The Tenant ID is essential for this process. If you need help finding it, follow these steps in the Azure portal:

Finding the Tenant ID through Azure Portal

  1. Sign in to the Azure portal.
  2. Confirm that you’re signed into the correct tenant.
  3. Under the Azure services heading, select Microsoft Entra ID (or use the search box to find it).
  4. Find the Tenant ID in the Basic information section of the Overview screen.

Finding the Tenant ID using PowerShell with AzureAD.

  1. Launch PowerShell on your system.
  2. Type Connect-AzureAD and hit Enter.
    This will prompt you to sign in with your Microsoft account credentials.
  3. The output will display your unique tenant ID.