Information for some of the compliance policies will be returned and others will result in an error like the following
Expression.Error: The field 'passwordBlockSimple' of the record wasn't found.
Details:
@odata.type=#microsoft.graph.androidCompliancePolicy
roleScopeTagIds=[List]
Note this is being caused by the fact the request for device compliance policies returns multiple types. So, the code, as it stands now, needs to detect each type returned in the collection.
Environment
Windows 10.
Power BI Desktop
SecMgmtInsights version 1.3
Steps to reproduce
Run the following query
Expected behavior
Data for each compliance policy to be returned
Actual behavior
Information for some of the compliance policies will be returned and others will result in an error like the following
Environment