-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Describe the bug
Let's ensure we have the permissions via the automatic setup to perform queries on devices:
cnquery> microsoft.devicemanagement.managedDevices
error while performing request. Code: Forbidden, Message: {
"_version": 3,
"Message": "Application is not authorized to perform this operation. Application must have one of the following scopes: DeviceManagementManagedDevices.Read.All, DeviceManagementManagedDevices.ReadWrite.All - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: 9567c8a9-89e5-4fc7-bb4a-3558aa3df883 - Url: https://fef.msua09.manage.microsoft.com/DeviceFE/StatelessDeviceFEService/deviceManagement/managedDevices?api-version=2024-06-14&$expand=windowsProtectionState",
"CustomApiErrorPhrase": "",
"RetryAfter": null,
"ErrorSourceService": "",
"HttpHeaders": "{}"
}
microsoft.devicemanagement.managedDevices: null
Metadata
Metadata
Assignees
Labels
No labels