Issue with Azure redirect to wrong organization.

Hill, Kirk 5 Reputation points
2023-03-07T17:21:58.22+00:00

It seems while in an Azure class a few years ago I made the mistake of using my work email to login into Azure. Well, now it seems that portal.azure.com keeps redirecting me to that organization and not my actual work. How do I solve this? If I put that actual tenant id after the portal.azure.com it will let me in. I have tried this in chrome and firefox and even cleared the cache and cookies on both browsers. The other thing I noticed is that I have the lab organizations show up under my organization in my work account in Microsoft. When I try to leave them it won't let me. It keeps trying to authenticate with my MS authenticator app but a notice never comes. I even try to use a verification code but now go. My AD group is kind of stumped on how to fix this.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,360 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Sandeep G-MSFT 16,361 Reputation points Microsoft Employee
    2023-03-09T08:44:49.6+00:00

    @Hill, Kirk

    Looks like it is not an issue with the browser nor the session cookies.

    Because you are not able to login to your actual Azure directory even after resetting the browser. Also, this issue is happening on multiple browsers.

    Issue is with the setting in Azure portal itself. To fix this issue you can follow below steps,

    • You can login to Azure portal by entering the tenant ID after portal.azure.com.
    • Once you land to the correct directory, you have to click on your account on the top right corner.
    • Click on Switch directory and then look for an option "Appearance + startup views" on the left side of the page.
    • Scroll down and look for "Startup directory"
    • Click on select directory and set the value as the actual tenant that you want to land into upon logging in evertime.

    Do let me know if you have any further questions.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    4 people found this answer helpful.

  2. 2023-03-07T17:53:59.24+00:00

    Enter another email in the list of another account on Microsoft and then modify the account

    0 comments No comments

  3. JimmySalian-2011 42,071 Reputation points
    2023-03-08T08:38:44.9466667+00:00

    Hi,

    Can you try incognito mode on the browser? With regards to the MS Auth not showing code is could be the link is broken, you will need to request the admin to reset the MFA for that account to authenticate.

    Also check if you have added the MS account no the device - check this link and follow the steps to remove the acocunt .

    https://support.microsoft.com/en-us/windows/add-or-remove-accounts-on-your-pc-104dc19f-6430-4b49-6a2b-e4dbd1dcdf32#:~:text=from%20your%20PC%3A-,Select%20Start%20%3E%20Settings%20%3E%20Accounts%20%3E%20Other%20users.,account%20data%20from%20your%20PC.

    Hope this helps.

    JS

    ==

    Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.

    0 comments No comments