> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/subscription-and-recurring-billing-management/how-to-guides/azure-active-directory-app.md).

# 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.

![](/files/thSmDCb0SSJXWVMrygkY)

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