Continuous Access Evaluation (CAE) Brings Real-Time Security to Azure DevOps
Angel Wong introduces support for Continuous Access Evaluation (CAE) on Azure DevOps, discussing its impact on real-time security and the implications for developers using Microsoft Entra ID.
Real-Time Security with Continuous Access Evaluation (CAE) comes to Azure DevOps
Author: Angel Wong
Continuous Access Evaluation (CAE) is now available on Azure DevOps, enhancing the platform’s security by enabling near real-time enforcement of Conditional Access policies using Microsoft Entra ID.
What Is CAE?
CAE is a feature of Microsoft Entra ID designed to quickly enforce Conditional Access (CA) policies in near real time. Traditionally, access tokens issued by Microsoft Entra for Azure DevOps were valid for up to an hour, allowing continued access even after critical account changes like password resets or user disablement. With CAE, access can be revoked almost immediately after events such as:
- User deletion or disablement
- Password changes or resets
- Admin-triggered token revocations
- Multi-factor Authentication (MFA) enablement
- IP/location changes
CAE operates by establishing a two-way communication between Microsoft Entra and Azure DevOps, providing enforcement at the time of access instead of just at token issuance. This approach significantly reduces the window of exposure for compromised accounts or policy violations, strengthening overall security and improving incident response times.
For further details and technical implementation, see Microsoft Entra documentation on CAE.
What’s Changing for Developers?
Developers using the latest .NET client library must update their applications to handle CAE-specific scenarios. When a token is rejected under CAE, the service will respond with a 401 Unauthorized error that includes a claims challenge. Apps should be designed to extract this claims challenge, obtain a fresh token, and retry the request. Support for CAE in Python and Go client libraries will be available by the end of 2025.
To learn more about the claims challenge flow, refer to the Microsoft Entra documentation on claims challenges. Upcoming blog updates will include example code for handling these scenarios with the .NET client library.
For questions or feedback, readers are encouraged to comment on the official blog announcement.
This post appeared first on “Microsoft DevBlog”. Read the entire article here