question

GaoLucyEUT-4031 avatar image
0 Votes"
GaoLucyEUT-4031 asked

How to get device compliance policies for each device OR devices assigned for specific compliance policy?

How to get device compliance policies for each device or devices assigned for specific compliance policy? I need this information from Graph API to create customized report from dev perspective.

Is below API the correct direction? However, this returns empty.
https://docs.microsoft.com/en-us/graph/api/intune-deviceconfig-devicecompliancepolicyassignment-list?view=graph-rest-1.0

Meanwhile, from retrieved managed device list, most devices showing compliance state as 'compliant' and some are 'noncomplianct'.

microsoft-graph-corporate-mgmt
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers