---
title: "Register the Microsoft app and grant consent"
---

Register a Microsoft Entra ID application, give it the marketplace permissions, assign its Partner Center roles, and create the client secret SaaSify uses.

:::note[Before you start]
- **Role:** Application Developer in Entra; Manager or Owner (and Global Administrator for co-sell) in Partner Center.
- **You need:** access to the Entra and Partner Center tenant for your marketplace publisher account. See [Before you connect Microsoft Marketplace](/connect-clouds/microsoft/prerequisites).
:::

## Register the Entra application

:::steps
### Create the app registration
In the [Azure portal](https://portal.azure.com/), go to **Microsoft Entra ID → App registrations → + New registration**. Name it (for example, `<Your company> - SaaSify App for Marketplace`), choose **Accounts in this organizational directory only (single tenant)**, and select **Register**.

### Copy the IDs
On the app's **Overview**, copy the **Application (client) ID** and the **Directory (tenant) ID**. You enter both in SaaSify.
:::

## Assign API permissions

:::steps
### Add the Microsoft Partner Center permission
In the app, go to **API permissions → + Add a permission → APIs my organization uses**. Search for application ID `fa3d9a0c-3fb0-42cc-9193-47c7ecd2edbd` (Microsoft Partner Center), select **user_impersonation**, and add it.

### Add the Microsoft Dev Center permission
Add a permission again, search for application ID `4990cffe-04e8-4e8b-808a-1175604b879f` (Microsoft Dev Center), select **user_impersonation**, and add it. Dev Center may appear as **Microsoft Partner** in the portal.

### Grant admin consent
Select **Grant admin consent** and confirm **Yes**.
:::


## Create the client secret

:::steps
### Add a secret
In the app, go to **Certificates & secrets → + New client secret**. Enter the description `Secret for SaaSify` and set **Expires** to **24 months**. Select **Add**.

### Record the secret value and expiry
Copy the **secret value** now — you cannot see it again after you leave the page — and note the **expiry date**. You enter both in SaaSify.
:::

## Configure the redirect URI (Payouts and Co-sell)

If you will use **Payouts** or **Co-sell**, add a redirect URI so consent can complete:

:::steps
### Add a Web platform
In the app **Overview**, select **Add a Redirect URI → Add a platform → Web**.

### Enter the SaaSify redirect URI
Enter `https://<your-tenant>.saasify.ai/mslogin`, replacing the host with your SaaSify portal URL.

### Enable the tokens
Under **Implicit grant and hybrid flows**, enable **Access tokens** and **ID tokens**, then select **Configure**.
:::

## Assign the Partner Center roles

:::steps
### Add the app in Partner Center
In [Partner Center](https://partner.microsoft.com/), go to **Settings (gear) → Account settings → User Management → Microsoft Entra applications → Add Microsoft Entra Application**. Search for the app you registered and select it.

### Assign Developer and Finance Contributor
Select the **Developer** and **Finance Contributor** roles and add them. These cover Payouts and the marketplace APIs.

### Assign Referrals Admin for co-sell
If you will use co-sell, assign a user the **Referrals Admin** role: in **User Management → Users**, add or edit the user, select **Manages your organization's referrals for one or more locations**, choose **Referrals Admin** under **Entire Organization**, and update.
:::

:::tip[What happens next]
Consent for **Payouts** and **Co-sell** is granted *after* you add and save the seller account, from the **Consent** badge that appears on those capabilities. See [Add the Microsoft seller account](/connect-clouds/microsoft/add-seller-account).
:::

## Next

::::cards
:::card[Add the Microsoft seller account]{href="/connect-clouds/microsoft/add-seller-account"}
Enter the IDs and secret, validate, and grant consent.
:::
::::
