# OAuth authentication flow

<figure><img src="https://627748108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0shDrJltbdGiCRz6ip4Z%2Fuploads%2F0U1G9m57W0d8fQjxdhHJ%2Flogo_microsoft365.webp?alt=media&#x26;token=efd6e5ec-67ec-4bb7-89ec-19183a1cc0ed" alt=""><figcaption></figcaption></figure>

UMA provides an easy and secure way to get connected to your Microsoft 365 tenant using OAuth2.0 and OpenID Connect.&#x20;

You must first provide UMA with your Microsoft Azure Tenant ID.

Shown below is the authentication process that UMA uses using OAuth2.0 and Open ID connect:

<figure><img src="https://627748108-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0shDrJltbdGiCRz6ip4Z%2Fuploads%2FFng5QZHLlnqhMwBZOVxi%2Fo365.PNG?alt=media&#x26;token=f2fa3ea2-90cd-4884-aadf-19ec5622f325" alt=""><figcaption></figcaption></figure>

For more information on OAuth and OpenID Connect, follow the documentation below:

{% embed url="<https://learn.microsoft.com/en-us/entra/architecture/auth-oidc>" %}
