Describe the bug
The CLI is failing to communicate with the Microsoft Graph due to some issue with Continuous Access Evaluation. Below is an example of a command that returns a CAE challenge error message, though other commands have done the same.
This error is happening immediately after I authenticated with az login, so it's highly unlikely that any of the session's properties have changed (IP/location included).
Command Name
az ad app owner add
Errors:
Continuous access evaluation resulted in claims challenge with result: InteractionRequired and code: LocationConditionEvaluationSatisfied
To Reproduce:
- Authenticate with
az login
- Run a command such as
az ad app owner add --id {app id} --owner-object-id {owner oid}
- Hopefully, voila!
Expected Behavior
Environment Summary
Windows-10-10.0.22621-SP0
Python 3.10.8
Installer: MSI
azure-cli 2.42.0
Additional Context
Confirmed that downgrading to v2.40 of the CLI (before CAE was introduced in v2.41) and logging out/back in is a workaround.
Describe the bug
The CLI is failing to communicate with the Microsoft Graph due to some issue with Continuous Access Evaluation. Below is an example of a command that returns a CAE challenge error message, though other commands have done the same.
This error is happening immediately after I authenticated with
az login, so it's highly unlikely that any of the session's properties have changed (IP/location included).Command Name
az ad app owner addErrors:
To Reproduce:
az loginaz ad app owner add --id {app id} --owner-object-id {owner oid}Expected Behavior
Environment Summary
Additional Context
Confirmed that downgrading to v2.40 of the CLI (before CAE was introduced in v2.41) and logging out/back in is a workaround.