# Enroll Updatable Assets

### Description

This script enrolls a device into Windows Update for Business by registering it as an updatable asset for the specified update category.

### Location

Device → General → Enroll Updatable Assets

**Full Runbook name**

rjgit-device\_general\_enroll-updatable-assets

### Permissions

#### Application permissions

* **Type**: Microsoft Graph
  * WindowsUpdates.ReadWrite.All

### Parameters

#### DeviceId

DeviceId of the device to enroll.

| Property      | Value  |
| ------------- | ------ |
| Required      | true   |
| Default Value |        |
| Type          | String |

#### UpdateCategory

Category of updates to enroll into. Possible values are: Driver, Feature, Quality or All. Selecting All will enroll the device into all three categories sequentially.

| Property      | Value   |
| ------------- | ------- |
| Required      | true    |
| Default Value | Feature |
| Type          | String  |

[Back to Runbook Reference overview](/automation/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/automation/runbooks/runbook-references/device/general/enroll-updatable-assets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
