---
title: API Permissions
slug: voice-german/api-permissions
docTags: 
createdAt: 2024-03-19T23:10:21.812Z
---

<u>**Setting up API-Permissions**</u>

•From the Bot's main Menu navigate to "Configuration" blade and click "Manage Password" on the page, then click on "API-Permissions" from the left side.

•To add the permissions click on "+ Add a permission" and the Request API permissions page will appear.

•From the Microsoft APIs tab, first click the Application permissions and choose the Application permissions listed below, after that click on the "Add permissions" button to add them.

API Permissions:

✓Application.Read.All

✓Calls.AccessMedia.All

✓Calls.Initiate.All

✓Calls.InitiateGroupCall.All

✓Calls.JoinGroupCall.All

✓Calls.JoinGroupCallAsGuest.All

✓Directory.Read.All

✓Directory.ReadWrite.All

✓Presence.ReadWrite.All

✓User.Read.All

✓User.ReadWrite.All

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/api-permissions.png)

•Also add the following Delegated permissions :

Delegated Permissions:

✓offline\_access

✓openid

✓Presence.Read.All

✓Presence.ReadWrite

✓profile

✓User.Read

✓User.Read.All

![](https://helpserver.biz/onlinehelp/cdc/sf/5.0/help2000/images/api-permissions-delegated.png)

•Click on "Grant Admin Consent ..." to consent the permissions.

<u>**Permissions Required in Azure App**</u>

| **Permission**                 | **Type**    | **Reason**                                        | **Remark**                                                                                                                                                                |
| ------------------------------ | ----------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Application.Read.All           | Application | Application token required for calling            | [Get access without a user - Microsoft Graph](https://learn.microsoft.com/en-us/graph/auth-v2-service?tabs=http)                                                          |
| Calls.AccessMedia.All          | Application | Create a call using MS Teams Bot                  | [Create call - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0\&tabs=http)                                   |
| Calls.Initiate.All             | Application | Create a call using MS Teams Bot                  | [Create call - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0\&tabs=http)                                   |
| Calls.InitiateGroupCall.All    | Application | Create a call using MS Teams Bot                  | [Create call - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0\&tabs=http)                                   |
| Calls.JoinGroupCall.All        | Application | Create a call using MS Teams Bot                  | [Create call - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0\&tabs=http)                                   |
| Calls.JoinGroupCallAsGuest.All | Application | Create a call using MS Teams Bot                  | [Create call - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/application-post-calls?view=graph-rest-1.0\&tabs=http)                                   |
| Directory.Read.All             | Application | Read MS Teams user information like user id email | [Get a user - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0\&tabs=http)                                                  |
| Directory.ReadWrite.All        | Application | Read MS Teams user information like user id email | [Get a user - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0\&tabs=http)                                                  |
| Presence.ReadWrite.All         | Application | Set Presence state of MS Teams User               | [presence: setUserPreferredPresence - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/presence-setuserpreferredpresence?view=graph-rest-1.0\&tabs=http) |
| User.Read.All                  | Application | Read MS Teams user information like user id email | [Get a user - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0\&tabs=http)                                                  |
| User.ReadWrite.All             | Application | Read MS Teams user information like user id email | [Get a user - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0\&tabs=http)                                                  |
| offline\_access                | Delegated   | Access token to get presence state                | [Get access on behalf of a user - Microsoft Graph](https://learn.microsoft.com/en-us/graph/auth-v2-user?tabs=http)                                                        |
| openid                         | Delegated   | Access token to get presence state                | [Get access on behalf of a user - Microsoft Graph](https://learn.microsoft.com/en-us/graph/auth-v2-user?tabs=http)                                                        |
| Presence.Read.All              | Delegated   | Read presence state of MS Teams user              | [Get presence - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/presence-get?view=graph-rest-1.0\&tabs=http)                                            |
| Presence.ReadWrite             | Delegated   | Set presence state of MS Teams user               | [presence: setUserPreferredPresence - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/presence-setuserpreferredpresence?view=graph-rest-1.0\&tabs=http) |
| profile                        | Delegated   | Access token to get presence state                | [Get access on behalf of a user - Microsoft Graph](https://learn.microsoft.com/en-us/graph/auth-v2-user?tabs=http)                                                        |
| User.Read                      | Delegated   | Read MS Teams user information like user id email | [Get a user - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0\&tabs=http)                                                  |
| User.Read.All                  | Delegated   | Read MS Teams user information like user id email | [Get a user - Microsoft Graph v1.0](https://learn.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0\&tabs=http)                                                  |





