---
title: AAD app creation
description: "The first step to take is creating an app registration on Azure Active Directory to upload the generated deployable package to LCS. Head to [Azure portal](https://portal.azure.com) and once logged in go to Azure ActiveDirectory, then App Registrations and create a new…"
url: "https://ariste.info/dynamics365almguide/aad-app-creation/"
updated: "2024-08-25"
category: Legacy Guide / Release Pipelines
---

# AAD app creation

The first step to take is creating an app registration on Azure Active Directory to upload the generated deployable package to LCS. Head to [Azure portal](https://portal.azure.com) and once logged in go to Azure ActiveDirectory, then App Registrations and create a new Native app:

![Register a Microsoft Entra ID app registration](http://ariste.info/wp-content/uploads/2020/05/New-AAD-App.png)
Register a Microsoft Entra ID app registration

Next go to "Settings" and "Required permissions" to add the Dynamics Lifecycle Services API:

![Add the Dynamics Lifecycle Services API](http://ariste.info/wp-content/uploads/2020/05/Add-permission.png)
Add the Dynamics Lifecycle Services API

In the dialog that will open, change to the “APIs my organization uses” tab and select “Dynamics Lifecycle Services”:

![Add the Dynamics Lifecycle Services API](http://ariste.info/wp-content/uploads/2020/05/LCS.png)
Add the Dynamics Lifecycle Services API

Select the only available permission in the next screen and click on the “Add permissions” button. Finally, press the “Grant admin consent” button to apply the changes. This last step can be easily forgotten and the package upload to LCS cannot be done if not granted. Once done, take note of the Application ID, we’ll use it later.

There's an additional step we need to take, which is enabling the app registration as a public client flow. In the Authentication tab, scroll to the bottom and set the option "Enable the following mobile and desktop flows" to Yes.

![Enable the following mobile and desktop flows](http://ariste.info/wp-content/uploads/2024/01/image.png)
Enable the following mobile and desktop flows

Thanks to [Valery Moskalenko for noticing this in the comments](http://ariste.info/en/dynamics365almguide/aad-app-creation/#comment-16056)!

#### Subscribe!

Receive an email when a new post is published
