-
Notifications
You must be signed in to change notification settings - Fork 664
Open
Description
Hello there,
I'm trying to find the documentation associated to this call in Win10_PrimaryUser_Set.ps1 (https://github.com/microsoftgraph/powershell-intune-samples/blob/master/ManagedDevices/Win10_PrimaryUser_Set.ps1)
$graphApiVersion = "beta"
$Resource = "deviceManagement/managedDevices('$IntuneDeviceId')/users/`$ref"
...
$uri = "https://graph.microsoft.com/$graphApiVersion/$($Resource)"
$userUri = "https://graph.microsoft.com/$graphApiVersion/users/" + $userId
$id = "@odata.id"
$JSON = @{ $id="$userUri" } | ConvertTo-Json -Compress
Invoke-RestMethod -Uri $uri -Headers $authToken -Method Post -Body $JSON -ContentType "application/json"
I did not find anything anywhere : any pointers ?
Metadata
Metadata
Assignees
Labels
No labels