Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function Set-IntuneDevicePrimaryUser not working, Bad Request #240

Open
pheasantus opened this issue Feb 23, 2023 · 0 comments
Open

function Set-IntuneDevicePrimaryUser not working, Bad Request #240

pheasantus opened this issue Feb 23, 2023 · 0 comments

Comments

@pheasantus
Copy link

Win10_PrimaryUser_Set.ps1
function Set-IntuneDevicePrimaryUser not working, throws,
Response content:
{"error":{"code":"BadRequest","message":"Write requests are only supported on contained entities or navigation properties with bindings.","innerError":{"date":"2023-02-23T16:
33:21","request-id":"95d961d2-843b-4d5e-9329-86ed60f5c9d1","client-request-id":"95d961d2-843b-4d5e-9329-86ed60f5c9d1"}}}
pheasant@domain.onmicrosoft.com AzureCloud c4401c5a-3f02-4a4a-a660-3943af27c558 domain.onmicrosoft.com User
Set-IntuneDevicePrimaryUser : Request to https://graph.microsoft.com/beta/deviceManagement/managedDevices('DEV_ID')/users/ failed with HTTP Status BadRequest Bad Request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant