Managing external identities to enable secure access for partners, customers, and other non-employees
To apply a Conditional Access Policy (CAP) filter for Azure DevBox devices using the device.model attribute, ensure that the model name is correctly specified in your filter. The syntax you provided, device.model -startswith "Microsoft Dev Box", is correct, but if it's not working, consider the following:
- Check Device Attributes: Confirm that the devices are indeed reporting the model as "Microsoft Dev Box" in Azure Entra ID. Sometimes, there might be discrepancies in how the model is reported.
- Filter Conditions: Ensure that the devices are compliant and managed as required by the CAP settings. If the devices do not meet the compliance criteria, the filter may not apply as expected.
- CAP Configuration: Review the overall configuration of the CAP to ensure that all conditions and requirements are correctly set.
Regarding the EnrollmentProfileName attribute, you can use it to filter based on the enrollment profile applied to the device. The syntax would be similar to:
device.enrollmentProfileName -eq "YourEnrollmentProfileName"
This attribute can be used in CAP filters, allowing you to narrow down the assignment scope based on the specific enrollment profile associated with the devices.
If you continue to face issues, consider reviewing the documentation for any updates or specific requirements related to device filters in Conditional Access policies.
References: