Dialogue Cloud

Creating and configuring an Azure App for the Snapper Client

Note By default the Snapper will request the user that logs in to accept the delegated permissions.

If Office365 Tenant Administrators disabled users ability to grant consent, the Azure Application should be admin consented before users can login.

Please use the following link to grant admin consent to an Azure application.

https://login.microsoftonline.com/common/adminconsent?client_id=<client id>

In order to use Microsoft Graph API, an app will be need to be created to allow access to Microsoft Teams.



  • Your company must have Azure
  • The user account that creates the app must be present in the Azure AD directory of your company and have the rights to create apps (this is possible by default unless limited by an admin)
  • A global admin will have to go to an admin consent url in order to allow accounts of this Azure AD directory to use it, since Teams requires permissions normally reserved for admins. By consenting a global admin allow regular users to have these permissions in the app.


Create an App

Our first step is to create the App in Azure.

  1. Navigate to https://portal.azure.com

  2. Select ‘Azure Active Directory

  3. From here collect your tenant domain for later use (e.g. domain.com or domain.onmicrosoft.com)

  4. Select ‘App registrations

  5. Click ‘New Registration

    1. Give the application a name (e.g. A365-Azure-Application)

    2. Under ‘Supported account types’ select ‘Accounts in any organizational directory

    3. Add the following redirect URI

      Type: Public client (mobile & desktop)

      Redirect URI: urn:ietf:wg:oauth:2.0:oob

  6. Click ‘Register’

  7. Select ‘Authentication’

    1. Add 'Web' as a platform

    2. Under Web | Redirect URIs enter a url, for example http://localhost

    3. Under ‘Implicit grant’ select both options:

      1. Access tokens

      2. Id tokens

    4. Under Mobile and desktop applications | Redirect URIs check all three options

      1. msal<application_client_id>://auth

      2. https://login.microsoftonline.com/common/oauth2/nativeclient

      3. https://login.live.com/oauth20_desktop.srf

    5. Double check if Supported account types is set to:

      1. Accounts in any organizational directory

  8. Click ‘Save


Configure API Permissions

Before the App can be used, the right permissions need to be assigned. This varies per use of the App.

  1. Navigate to your Azure App

  2. Click ‘API Permissions

    Ad d the following 2 permissions:

    1. User.Read

      1. Click ‘Add a permission

      2. Click ‘Microsoft Graph

      3. Click ‘Delegated permissions

      4. Open 'User'

      5. If 'User.Read' is not selected, select it and click 'Add permissions'

    2. Presence.Read

      1. Click ‘Add a permission

      2. Click ‘Microsoft Graph

      3. Click ‘Delegated permissions

      4. Open 'Presence'

      5. If 'Presence.Read' is not selected, select it and click 'Add permissions'


Using the app

  1. Navigate to your App

  2. Click ‘Overview

    1. Collect the following value to be used in the Snapper client.

      1. Application (client) id