# Set Intune device owner

When a device is joined to Entra ID using the **Join Entra ID** step, it will be considered a shared device with no real device owner.  To assign an owner to the device, the **Set Intune device owner** step lets you specify the UPN of the user that should be the owner of the device.

<figure><img src="/files/lcYrWSLoDXkBPN9X8Byh" alt=""><figcaption></figcaption></figure>

This requires configuring [Microsoft Graph API access](/deployr/getting-started/microsoft-graph-api-access.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://documentation.2pintsoftware.com/deployr/reference/step-definitions/set-intune-device-owner.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.
