Azure Portal, signing into specific tenant
When the Azure portal automatically signs you into the wrong tenant.
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
- Sign in to the Azure portal.
- Confirm that you’re signed into the correct tenant.
- Under the Azure services heading, select Microsoft Entra ID (or use the search box to find it).
- Find the Tenant ID in the Basic information section of the Overview screen.
Finding the Tenant ID using PowerShell with AzureAD.
- Launch PowerShell on your system.
-
Type Connect-AzureAD and hit Enter.
This will prompt you to sign in with your Microsoft account credentials. - The output will display your unique tenant ID.