can't disable 2 factors authentication when login to azure or power bi

yossi9 bd 1 Reputation point
2020-03-11T12:27:50.323+00:00

I am using azure function app in order to embed PBI reports on my website.

I create a new user on azure.

When i try to login with this user to azure portal or power bi in the login pop up i am being asked to better secure my account
4172-login-window.jpg.

I can sometimes hit the "Skip for now (14 days until this is required)"
but with other users where i have already activeted this serivce - i dont see a way to cancel it.

Now, every time i try to login with any of my users i'm being forced to use the 2 factors verification and approve my login via my mobile device.

This is problematic as my function app on azure print an error menage regarding the 2 factor authentication when it try to log is with my master user.

I am getting a message saying that because that my user log in require 2 factor authentication login inside my function app has failed.

Is there a way to avoid the 2 factors authentication option and just login with my user and password?

so far i have tried this:
https://learn.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-userstates

and also made sure the 2 factors authentication is not tuned on:
4123-capture2.jpg
4154-capture3.jpg

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

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,666 Reputation points
    2020-03-13T04:51:59.97+00:00

    @yossi9 bd This might be happening because of Security defaults in your tenant. To check if Security defaults setting is enabled, navigate to:

    Azure Portal > Azure AD > Properties > Click on manage security defaults link

    Note: For tenants created on or after October 22nd, 2019, it’s possible you are experiencing the new secure-by-default behavior and already have security defaults enabled in your tenant.

    Refer to https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/concept-fundamentals-security-defaults for more details.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept as answer" wherever the information provided helps you to help others in the community.

    2 people found this answer helpful.
    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.