Configuring client application and API permissions

Learn configuring client application and API permissions.

  1. Navigate to Microsoft Azure Portal.

    Note: The current URL of Microsoft Azure Portal is https://portal.azure.com /#home.
  2. Click Azure Active Directory > App registrations.

    Note: If you want to register a new client, then click New registration.
  3. Select the registered client application.

  4. To add or generate a client secret for the application, do the following:

    1. Click Client credentials > New client secret.

    2. Type the description, and then specify the expiry date.

    3. Click Add.

      Note: Take note of the actual value of client secret as it will be masked after saving it.
  5. To add Redirect URIs, do the following:

    1. Select Redirect URIs.

    2. Click Add a platform > Web.

    3. Enter a valid URI for the application.

      Note: The port details must be specified.
    4. Click Configure.

Setting API permissions for registered client applications

  1. Navigate to Microsoft Azure Portal.

    Note: The current URL of Microsoft Azure Portal is https://portal.azure.com /#home.
  2. Click Azure Active Directory > App registrations.

  3. Select the registered client application.

  4. In the left pane, select API permissions > Add a permission.

  5. In the Microsoft APIs section, select Microsoft Graph > Delegated permissions.

  6. In the Opened permissions section, select the following:

    • email

    • offline_access

    • openid

  7. In the Mail section, select Mail.ReadWrite.

  8. Select Add permissions.