Azure OAuth

Learn how to create OAuth app for Azure Active Directory(Entra ID)

Register a new app

Provide app details

  • Name - application name that will be prompted to your users

  • Supported account types - Select Accounts in any organizational directory (Any Microsoft Entra ID tenant - Multitenant)

  • Redirect URI - Choose Web for the platform. Copy the redirect URI from here


Permissions

  • select Manage and then API Permissions in the sidebar
  • click Add a permission > Microsoft Graph > Delegated Permissions
  • search for the following permissions:
    • User.ReadBasic.All
    • Group.Read.All
    • GroupMember.Read.All
    • Directory.Read.All
  • click Add permissions

Credentials

  • select Certificates & secrets > Client secretsand then click New client secret
  • provide a description and choose an expiration time
  • click Add
  • copy the Value and Secret ID because you will not be able to see them after you close this page