Skip to content

Update-MgDeviceManagementWindowAutopilotDeviceIdentity seems to be not working #892

@hstrang

Description

@hstrang

Attempts to update autopilot device parameters with Update-MgDeviceManagementWindowAutopilotDeviceIdentity end up with the error message below. The message refers to http verb PATCH while according to the related Graph API documentation it should be a POST request instead. (POST /deviceManagement/windowsAutopilotDeviceIdentities/{windowsAutopilotDeviceIdentityId}/updateDeviceProperties)

This can be verified with Graph Explorer where POST does what is expected and PATCH gives the same error message.

Update-MgDeviceManagementWindowAutopilotDeviceIdentity : No OData route exists that match template
~/singleton/navigation/key with http verb PATCH for request /DeviceEnrollmentFE_2109/StatelessDeviceEnrollmentFEService
/deviceManagement/windowsAutopilotDeviceIdentities('deviceid').

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions