2.2 KiB
author, ms.author, manager, ms.service, ms.subservice, ms.topic, ms.date, ms.localizationpriority
author | ms.author | manager | ms.service | ms.subservice | ms.topic | ms.date | ms.localizationpriority |
---|---|---|---|---|---|---|---|
tiaraquan | tiaraquan | aaroncz | windows-client | autopatch | include | 09/16/2024 | medium |
You enroll devices based on the types of updates you want them to receive. Currently, you can enroll devices to receive feature updates (feature
) or drivers (driver
). You can enroll devices to receive updates from multiple update classifications.
- To enroll devices, POST to updatableAssets using enrollAssets. The following example enrolls three devices to receive driver updates:
-
In Graph Explorer, select POST from the drop-down list for the HTTP verb.
-
Enter the following request into the URL field:
https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/enrollAssets
-
In the Request body tab, enter the following JSON, supplying the following information:
- Microsoft Entra Device ID as
id
- Either
feature
ordriver
for the updateCategory
{ "updateCategory": "driver", "assets": [ { "@odata.type": "#microsoft.graph.windowsUpdates.azureADDevice", "id": "01234567-89ab-cdef-0123-456789abcdef" }, { "@odata.type": "#microsoft.graph.windowsUpdates.azureADDevice", "id": "01234567-89ab-cdef-0123-456789abcde0" }, { "@odata.type": "#microsoft.graph.windowsUpdates.azureADDevice", "id": "01234567-89ab-cdef-0123-456789abcde1" } ] }
- Microsoft Entra Device ID as
-
Select the Run query button. The results will appear in the Response window. In this case, the HTTP status code of
202 Accepted
.:::image type="content" source="../media/7512398-deployment-enroll-asset-graph.png" alt-text="Screenshot of successfully enrolling assets through Graph Explorer." lightbox="../media/7512398-deployment-enroll-asset-graph.png" :::
-