---
title: "Parameters for Device Code Flow"
canonical: "https://docs.cuesystem.com/space/M3SG/268828679/Parameters%20for%20Device%20Code%20Flow"
format: markdown
---
The parameters of the registered applications must be set as follows:

| Parameter | Registered app  
**For sending email** | Registered app  
**For import resources and users** | Registered app  
**For API operations** | Registered app<br>**For units** |
| --- | --- | --- | --- | --- |
| **Required delegated API permissions** | offline_access  
User.Read  
Mail.Send | offline_access  
User.Read  
User.ReadBasic.All  
Place.Read.All  
Calendars.Read.Shared | offline_access  
User.Read  
Calendars.ReadWrite  
Calendars.ReadWrite.Shared | offline_access  
User.Read  
Calendars.ReadWrite.Shared  
Mail.Send |
| **Admin consent** | Depends on Microsoft 365 security policy settings.<br>Whether individual permissions require administrator approval depends on the security policy of the tenant. Device Code Flow uses interactive sign-in. This means that permissions can be granted by the user the first time the application is sign-in. However, it is possible that the set security policy does not allow user approval of permissions and requires admin consent. |
| **Client secret** | Not required |
| **Allow public client flows** | Yes |
| **Redirect URIs** | Not required |


Continue with [Registered apps creating.](https://cue.atlassian.net/wiki/spaces/M3SG/pages/268828679/Parameters+for+Device+Code+Flow#)