Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hi O365developer,
We appreciate your update at your convenience.
Regards,
Jennifer
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I need to bypass MFA when accessed from a particular machine. I have tried to add the machine IP address in trusted IPs list. But, it doesn't work. It throws the below error when using Connect-AzureAD. When i give default gateway IP, it works fine.
Connect-AzureAD : One or more errors occurred.: AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must
use multi-factor authentication to access '00000002-0000-0000-c000-000000000000'
How can bypass machine IP itself? Or explain how this works?
Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Hi O365developer,
We appreciate your update at your convenience.
Regards,
Jennifer
Hi O365developer,
Glad to hear from you again. To understand your situation better and provide further suggestions, could you please kindly send some screenshoots about the detailed configurations about the conditional access policy to us for analysis?
Thanks for your understanding and cooperation, I'm waiting forward to your updates.
Best regards,
Jennifer
I have tried these steps. But the problem is the machine's IPv4 address is not recognized. When I add gateway IP or public IP it works. Am i missing something?
Hi O365developer,
Have you tried the steps to see if it helps?
Regards,
Jennifer
Hi O365developer,
Thanks for post your questions in our forum.
Regarding your concerns, it is recommended to setup conditional access policy from the Azure Active Directory UI via following steps to see if it works:
Here are some articles for your reference:
Please feel free to contact us if you have any further problems and need further assistance.
Best regards,
Jennifer