IIS requires multi factor authentication ? or something else ?

SilverChips 71 Reputation points
2021-02-19T22:52:32.6+00:00

I currently have an ASP.net website deployed on IIS Windows Server 2019. The account that I am using to sign in to the machine is domain joined.
I changed the identity of the user from the application pool of the website to a user who with active directory credentials. However when attempting to access a azure DB the website states that I need to handle Multi factor authentication. I wanted to know what are my options regarding this ?

Developer technologies ASP.NET ASP.NET Core
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jef 1 Reputation point
    2021-02-19T23:21:24.56+00:00

    Hello

    Is the new account your are using now from AD, enabled for MFA ?

    Maybe the AD account you just set up is MFA enabled. Try with another AD account (preferably a service account created for this use)

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards


  2. Sam Wu-MSFT 7,561 Reputation points Microsoft External Staff
    2021-02-22T02:36:02.637+00:00

    Hi SilverChips asked,

    Use the IIS Authentication section of the Azure Multi-Factor Authentication (MFA) Server to enable and configure IIS authentication for integration with Microsoft IIS web applications. The Azure MFA Server installs a plug-in that can filter requests being made to the IIS web server to add Azure Multi-Factor Authentication. The IIS plug-in provides support for Form-Based Authentication and Integrated Windows HTTP Authentication. Trusted IPs can also be configured to exempt internal IP addresses from two-factor authentication.

    More information about configure Azure Multi-Factor Authentication Server for IIS web apps you can refer to the link.


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.