How to remove MFA when trying to log in to a tenant in Azure?

Robert Acosta 20 Reputation points
2024-02-27T18:39:38.8533333+00:00

I have an IIS website authenticating with Azure. The secret expired and I need to create a new one. The previous IT person is the one that set it up. I already reset his credentials and reauthenticated with Microsoft Auth app, I am able to log in, but when I go to switch directory, I select the tenant that I need, and it asks for MFA again, but the new on that I registered doesn't go through. Am I doing something wrong? Or is it a completely different token that i need to reauthenticate?
Here's a screenshot of what I'm selecting and when it asks for a code from the auth app. tenant1

tenant2

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,799 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael Smith-MSFT 2,831 Reputation points Microsoft Employee
    2024-02-28T09:35:28.16+00:00

    Hi @Robert Acosta , Thank you for contacting the Q&A community, When connecting to a tenant that requires MFA authentication you cant get around it by signing in to another tenant without MFA and switching directories. The tenant still requires MFA. If you cant complete the MFA request you will need an admin to exclude you from the MFA policy or turn off MFA temporarily.

    if you are the last admin in the tenant and cant access because of MFA you will need to open a support ticket so our data protection team can verify your tenant ownership and allow you access.

    https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request https://support.microsoft.com/en-gb/topic/global-customer-service-phone-numbers-c0389ade-5640-e588-8b0e-28de8afeb3f2

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.


0 additional answers

Sort by: Most helpful