# Azure Active Directory App

Please follow the below steps to create Azure Active Directory (AAD) app:

Step 1 – Login into Azure portal – <https://portal.azure.com/>

Step 2 – Click on Azure Active Directory.

![How to create Azure Active Directory App](https://www.inogic.com/blog/wp-content/uploads/2020/10/image1.png)

Step 3 – Navigate to App registrations and then click on new registration.

![How to create Azure Active Directory App](https://www.inogic.com/blog/wp-content/uploads/2020/10/image2.png)

Display name of app –

If you are going to use this app for Recurring Billing Manager then “Inogic\_RecurringBillingManager”.

Redirect URI should be in below format –

“<https://CRMUrl/WebResources/ikl\\_/SM/html/Callback.html”>

Here CRMUrl is like “<https://octtrial.crm8.dynamics.com”>. After filling these details click on register.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FzUJAlEVNS5b6OW8xs4DV%2FAzure%20direct_1.png?alt=media\&token=7c8e7081-d32f-402a-9109-9f9c4863cf53)

Step 4 – Now you need to give some permissions to app. So navigate to API permissions. Here you need to add permission for Dynamics CRM.

![How to create Azure Active Directory App](https://www.inogic.com/blog/wp-content/uploads/2020/10/image4.png)

Please follow below screenshot for add permissions.

Adding Dynamics CRM permissions:

![How to create Azure Active Directory App](https://www.inogic.com/blog/wp-content/uploads/2020/10/image5.png)

![How to create Azure Active Directory App](https://www.inogic.com/blog/wp-content/uploads/2020/10/image6.png)

After adding permissions we need to Grant this by clicking **Grant admin consent** button.

![How to create Azure Active Directory App](https://www.inogic.com/blog/wp-content/uploads/2020/10/image7.png)

![How to create Azure Active Directory App](https://www.inogic.com/blog/wp-content/uploads/2020/10/image8.png)

Step 5 – Now we need to create secret key. For this, navigate to Certificate & secrets and create secret key.

Please copy/paste it somewhere because after some time it will disappears.

![How to create Azure Active Directory App](https://www.inogic.com/blog/wp-content/uploads/2020/10/image9.png)

![](https://www.inogic.com/blog/wp-content/uploads/2020/10/image10.png)

We are done with AAD app, now copy/paste your app id and secret key in connector in credentials section then you can authenticate it.

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}


---

# 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.inogic.com/subscription-and-recurring-billing-management/how-to-guides/azure-active-directory-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.
