Skip to content

Where is the documentation ? #277

@martintamare

Description

@martintamare

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions