Invoke any function against a customer without Microsoft Intune that is dependent on the customer having it. Such as the following one
SecMgmtInsights.ManagedDevices()
Expected behavior
The resulting table to be empty with no data
Actual behavior
Expression.Error: The field '@odata.context' of the record wasn't found.
Details:
Reason=Access denied
Message=Have you verified the expected permissions are in place?
Detail=[Record]
This happening because Microsoft Graph will return an error instead of an empty set for Microsoft Intune operations when the customer does not have an entitlement for the service.
Environment
Windows 10
Power BI Desktop
SecMgmtInsights version 1.3
Steps to reproduce
Invoke any function against a customer without Microsoft Intune that is dependent on the customer having it. Such as the following one
Expected behavior
The resulting table to be empty with no data
Actual behavior
Environment