Forum Discussion
Policy applied allthough it shouldn't
Hi,
I would check two things here.
First, open the affected sign-in event in Entra ID and review the Conditional Access tab. Make sure there is not another policy applying the same session control. Duplicate or overlapping CA policies are very easy to miss.
Second, be careful with device filters in this scenario. Conditional Access device filters are evaluated based on the device attributes available in Microsoft Entra ID. If the session does not provide the expected registered device attributes, or if the device is not evaluated as expected, the exclusion may not match.
Microsoft documents this behavior here:
For RDP / Windows Server sessions, I would not rely only on operatingSystem -contains "Server" as the exclusion logic. If this server/VDI scenario must be excluded, I would test a separate exclusion using a specific Entra group or named location first, then validate the result in the sign-in logs.
So my approach would be:
- Check for duplicate/overlapping CA policies.
- Confirm the device details shown in the sign-in log.
- Validate whether the filter is actually matching.
- Use a dedicated exclusion group or named location if the device attributes are not reliable for that session.