> For the complete documentation index, see [llms.txt](https://docs.jigx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jigx.com/building-apps-with-jigx/data/data-providers/rest/microsoft-graph-oauth/configuring-oauth-for-ms-graph.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` 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>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
