# DeviceTemplate.Read.All

> Allows the app to read all device templates, on behalf of the signed in user.

Source: https://graphpermissions.merill.net/permission/DeviceTemplate.Read.All.html
Data checked: 2026-12-05

## Permission types

### Application

- Display name: Read all device templates
- Description: Allows the app to read all device templates, without a signed-in user.
- ID: dd9febb5-0c6d-419f-b256-3afe12c6adeb
- Admin consent required: Yes
- Microsoft privilege level: 3 (High)

### Delegated

- Display name: Read all device templates
- Description: Allows the app to read all device templates, on behalf of the signed in user.
- ID: 2bcae0b0-aa93-48e4-a9e4-855482dffdcd
- Admin consent required: Yes
- Microsoft privilege level: 2 (Medium)

## APIs (4)

Least = this permission is the least privileged one for the API. Smaller = a lower privileged permission that also works.

| Method | Path | Versions | Works as | Least | Smaller permission | PowerShell |
|---|---|---|---|---|---|---|
| GET | `/directory/templates/deviceTemplates` | beta | Application, Delegated | Application, Delegated |  | Get-MgBetaDirectoryTemplateDeviceTemplate |
| GET | `/directory/templates/deviceTemplates/{id}` | beta | Application, Delegated | Application |  | Get-MgBetaDirectoryTemplateDeviceTemplate |
| GET | `/directory/templates/deviceTemplates/{id}/deviceinstances` | beta | Application, Delegated | Application |  | Get-MgBetaDirectoryTemplateDeviceInstance |
| GET | `/directory/templates/deviceTemplates/{id}/owners` | beta | Application, Delegated | Application |  | Get-MgBetaDirectoryTemplateDeviceTemplateOwner |

## Data it exposes

- [application](https://learn.microsoft.com/graph/api/resources/application?view=graph-rest-1.0)
- [deviceTemplate](https://learn.microsoft.com/graph/api/resources/devicetemplate?view=graph-rest-1.0)
- [servicePrincipal](https://learn.microsoft.com/graph/api/resources/serviceprincipal?view=graph-rest-1.0)
- [users](https://learn.microsoft.com/graph/api/resources/users?view=graph-rest-1.0)
