This commit is contained in:
Meghan Stewart
2023-01-25 20:27:17 -08:00
parent 4386d5f097
commit ee47c2ad3d
3 changed files with 68 additions and 37 deletions

View File

@ -11,7 +11,7 @@ ms.technology: itpro-updates
ms.date: 02/14/2023 ms.date: 02/14/2023
--- ---
# Deploy drivers and firmware updates with Windows Update for Business deployment service # Tutorial: Deploy drivers and firmware updates with Windows Update for Business deployment service
<!--7260403, 7512398--> <!--7260403, 7512398-->
***(Applies to: Windows 11 & Windows 10)*** ***(Applies to: Windows 11 & Windows 10)***
@ -20,6 +20,8 @@ In this tutorial, you will:
> * [Open Graph Explorer](#open-graph-explorer) > * [Open Graph Explorer](#open-graph-explorer)
> * [Run queries to identify test devices](#run-queries-to-identify-test-devices) > * [Run queries to identify test devices](#run-queries-to-identify-test-devices)
> * [Enroll devices](#enroll-devices) > * [Enroll devices](#enroll-devices)
> * [Create a deployment audience and add audience members](#create-a-deployment-audience-and-add-audience-members)
> * Do Z
> * Do Z > * Do Z
> * Do Z > * Do Z
> * [Remove device enrollment](#remove-device-enrollment) > * [Remove device enrollment](#remove-device-enrollment)
@ -49,24 +51,53 @@ When you enroll devices into driver management, the deployment service becomes t
<!--Using include for enrolling devices using Graph Explorer--> <!--Using include for enrolling devices using Graph Explorer-->
[!INCLUDE [Graph Explorer enroll devices](./includes/wufb-deployment-enroll-device-graph-explorer.md)] [!INCLUDE [Graph Explorer enroll devices](./includes/wufb-deployment-enroll-device-graph-explorer.md)]
## Create an audience ## Create a deployment audience and add audience members
```rest 1. Create an audience for the driver deployment. The deployment audience is a collection of member devices that will receive the driver deployment. POST to the [deployment audience](/graph/api/resources/windowsupdates-deploymentaudience) resource with a request body of `{}` to create a new audience.
POST https://graph.microsoft.com/beta/admin/windows/updates/deploymentAudiences
content-type: application/json
{} ```rest
``` POST https://graph.microsoft.com/beta/admin/windows/updates/deploymentAudiences
content-type: application/json
Returns a [201 Created] response with the following body: {}
```json ```
{
The POST returns a [201 Created](/troubleshoot/developer/webapps/iis/www-administration-management/http-status-code#2xx---success) response with the following body, where `id` is the **Audience ID**:
```json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#admin/windows/updates/deploymentAudiences/$entity", "@odata.context": "https://graph.microsoft.com/beta/$metadata#admin/windows/updates/deploymentAudiences/$entity",
"id": "f0ec689b-fa10-4e45-965c-ce753f7d4363", "id": "d39ad1ce-01234-5678-9abc-def012345678",
"reportingDeviceCount": 0, "reportingDeviceCount": 0,
"applicableContent": [] "applicableContent": []
} }
``` ```
1. Add devices, using their **Azure AD ID**, to the deployment audience so they become audience members. Specify the deployment **Audience ID** in the URL field and the devices to add in the request body. The `id` property specifies the **Azure AD ID** of the device.
```rest
POST https://graph.microsoft.com/beta/admin/windows/updates/deploymentAudiences/d39ad1ce-01234-5678-9abc-def012345678/updateAudience
Content-type: application/json
{
"addMembers": [
{
"@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"
}
]
}
```
## Remove device enrollment ## Remove device enrollment
<!--Using include for removing device enrollment--> <!--Using include for removing device enrollment-->

View File

@ -11,7 +11,7 @@ ms.technology: itpro-updates
ms.date: 02/14/2023 ms.date: 02/14/2023
--- ---
# Deploy feature updates with Windows Update for Business deployment service # Tutorial: Deploy feature updates with Windows Update for Business deployment service
<!--7512398--> <!--7512398-->
***(Applies to: Windows 11 & Windows 10)*** ***(Applies to: Windows 11 & Windows 10)***