Closed iperry-indigex closed 3 years ago
Thank you for your question. Could you verify that:
Connect-MgGraph -Scopes "DeviceManagementServiceConfig.Read.All"
. This API only works with delegated permissions, see https://docs.microsoft.com/en-us/graph/api/intune-onboarding-onpremisesconditionalaccesssettings-get?view=graph-rest-1.0#prerequisites.If the above steps do not resolve the issue, I would then recommend you open a support ticket/question here https://developer.microsoft.com/en-us/graph/support for the appropriate team to investigate.
Closing due to inactivity. Please reopen if the error persists.
On running Get-MgDeviceManagementConditionalAccessSetting, the following error is produced: in v1.0:
in beta:
Upon further looking, it appears to receive a bad request error from the server.
I'm connecting to graph in powershell core 7.1.3, using an application that includes the Policy.Read.All permission. Authenticating via AppId/TenantId/Certificate combination. AB#9106