# Microsoft Auth App

**Register your app!**

1. Go to: <https://portal.azure.com/#home>
2. Click on "App Registration" (See in the Screenshot, If it does not appear directly there, you will find it under "more services".)
3. Click on "New Registration"
4. Enter your Apps Name
5. For supported Account types choose "Accounts in any organizational directory" or "Accounts in any organizational directory and personal Microsoft Accounts".
6. For redirect URI, choose web and enter: <https://api.platform.openintegrationhub.com/oauth/callback>
7. Click Register

{% hint style="info" %}
Make sure that "Allow public client flows" is disabled. (You will find this in your App settings under "Authentication (Preview))
{% endhint %}

**Get your client secrets**

1. Click "Add a certificate or secret" and then "New client secret"
2. Please save the Secret Value (this one is going to be important) and Secret ID

**API Permissions**

1. Now go to the API Permissions tab
2. Click "Add Permissions" > "Microsoft Graph" > "Delegated Permissions"
3. Add scopes for the integration you want to have. For example, for Calendar Integrations, add at least all permissions for "Calendar".

## Add Microsoft App to FlowMate

1. Open the Outlook Detail Page in FlowMate
2. Click on “Activate Connector” in the top right corner
3. Add the Client ID and Client Secret you have just created in Outlook (Note: Please add the Client Secret Value - not the Client Secret ID)
4. Select the scopes you need for your use case
5. Save your settings - now you can start to create a template

<figure><img src="/files/VLXxVt1YyH8UMWJ7WelE" alt=""><figcaption></figcaption></figure>


---

# 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://flowmate.gitbook.io/flowmate-documentation/connectors/microsoft/microsoft-auth-app.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.
