docs/reference/elasticsearch-plugins/ms-graph-authz-configure-azure.md
To make API calls to Microsoft Graph, Elasticsearch requires Azure credentials with the correct permissions.
:::{image} ./images/ms-graph-authz/01-create-enterprise-application.png :alt: "create your own application" page :::
In the Azure portal, go to Microsoft Entra ID.
Under App registrations, select the All applications tab, and then find the application created in the previous section.
:::{image} ./images/ms-graph-authz/02-find-app-registration.png :alt: find your app registration :::
Take note of the Application (client) ID and Tenant ID shown here. These will be needed to configure Elasticsearch later.
:::{image} ./images/ms-graph-authz/03-get-application-id.png :alt: get your application ID :::
Under Manage > Certificates & secrets, do the following:
Under Manage > API permissions, do the following:
Directory.ReadWrite.All, Group.ReadWrite.All, User.Read.All.:::{note} An Azure Admin must approve these permissions before the credentials can be used. :::
:::{image} ./images/ms-graph-authz/05-configure-api-permissions.png :alt: configure api permissions :::