Error Message: 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
Action:
When running a package that includes a Dynamics CRM connection, I get the following error:
Error Message:
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
Solution:
Multi-Factor Authentication cannot be used with the COZYROC Dynamics CRM Connection.
If you try to access the Dynamics CRM from outside the network, the application denies access. In Azure AD, if you do an initial login from one location, and then login from another location, there are conditions on the AD that flag this as "risky activity".
For your account, there is a "moved to a new location" flag that can get set, automatically triggering the need for MFA. Check the conditional access locations in Azure and ask your AAD admin to clear the flag. Another option would be to set up the original account with named locations in place.