Closed mabster closed 2 years ago
Thank you for taking the time to open this issue.
Please open a question/ticket with service at https://developer.microsoft.com/en-us/graph/support as this is a service issue (it works with a global admin and not a standard user). This repo is meant for issues related to the SDK.
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Looks like I had to be added to a specific Intune role for the commands to work. All good now. Will close this one.
Hi gang,
I don't know if this is an "issue" in the module or if it's something I'm doing wrong.
I connect to Graph with the required scopes and then try to query deviceManagement/windowsAutopilotDeviceIdentities, like this:
... and I get this error:
It's returning a 401 unauthorized, but I have the scopes:
If I PIM to Global Admin this works, but as a standard user I get the "forbidden" error.
What am I missing? Or is there a problem in the module?