An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
Welcome to Microsoft Q&A
Hello Aniket Kuiri I hope you are doing well,
This is a very specific issue related to Continuous Access Evaluation (CAE).
Even though you excluded the user from the policy, their Outlook (and your Add-in) is likely holding onto an "old" access ticket.
LocationConditionEvaluationSatisfied means Exchange Online thinks the user moved to a "bad" IP address or location that violates a strict security rule, and it is rejecting the token immediately.
To prove this is a CAE caching issue vs. a policy misconfiguration:
- Revoke the user's refresh tokens (via PowerShell:
Revoke-MgUserSignInSession). - Clear the browser/Outlook cache completely.
- Retest. If the exclusion works after a full revocation, the issue is your Add-in not handling the CAE challenge response to "upgrade" the token session dynamically.
😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!