Unable to retrieve the roleScopeTagIds when calling the list managedDevices entity

Nicola Suter 11 Reputation points
2021-02-01T16:23:51.583+00:00

When making a Microsoft Graph API request under the deviceManagement/managedDevices resource I experience strange behavior because the roleScopeTagIds[] collection does not return any data (always empty). Because it's not a referenced entity I also had no luck with the expand option. I'm only able to retrieve roleScopeTagIds collection when making a request to a specific device like: deviceManagement/managedDevices/{deviceId}.

Tried this on the Beta endpoint, on the v1.0 endpoint this property is not yet available.

I would like to access this property for an automation solution, ideally without making a specific request for each device. Help is very much appreciated.

62621-image.png

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,462 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.