# Configuring OAuth for MS Graph

To make API calls to Microsoft Graph, a user must successfully complete an OAuth loop in the Jigx mobile app.

The following sections provide the steps to configure OAuth in Microsoft Azure Active Directory, add OAuth credentials to the Jigx solution in Jigx Management, and YAML examples that make a function call and display the data on a jig.

1. Configure OAuth access for Microsoft Graph in Microsoft Azure's admin portal by following the steps in [Create and configure a new OAuth app in Microsoft Azure AAD](/building-apps-with-jigx/data/data-providers/rest/microsoft-graph-oauth/configuring-oauth-for-ms-graph/create-and-configure-a-new-oauth-app-in-microsoft-azure-aad.md).
2. Add a credential configuration to your Jigx solution in the Jigx Management by following the steps in [Adding the OAuth Configuration to the solution in Jigx Management](/building-apps-with-jigx/data/data-providers/rest/microsoft-graph-oauth/configuring-oauth-for-ms-graph/adding-the-oauth-configuration-to-the-solution-in-jigx-management.md).
3. Implement a function that calls Microsoft Graph and displays the results on a jig by using the YAML examples in [Using the OAuth configuration in a Jigx solution](/building-apps-with-jigx/data/data-providers/rest/microsoft-graph-oauth/configuring-oauth-for-ms-graph/using-the-oauth-configuration-in-a-jigx-solution.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.jigx.com/building-apps-with-jigx/data/data-providers/rest/microsoft-graph-oauth/configuring-oauth-for-ms-graph.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
