question

yossi9bd-0657 avatar image
0 Votes"
yossi9bd-0657 asked ·

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

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://docs.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

azure-active-directory
login-window.jpg (29.9 KiB)
capture2.jpg (122.4 KiB)
capture3.jpg (116.6 KiB)
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
1 Vote"
amanpreetsingh-msft answered ·

@yossi9bd-0657 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://docs.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.

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.