Open martintamare opened 1 month ago
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 ?
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)
I did not find anything anywhere : any pointers ?