# Register an Application

*Applies to: Patch My PC Publisher*

The Publisher requires an Entra ID Application (client) ID to uniquely identify itself when authenticating to your tenant. This app registration represents the Publisher as a trusted service in Microsoft Entra ID and is used to request access tokens from the Microsoft identity platform. These tokens allow the Publisher to securely call the Microsoft Graph API to create, update, and assign Win32 applications in Intune without requiring a user to be signed in.

You can leverage an existing application or create a new one. The following section details how to create a new app registration for use with the Publisher.

{% hint style="info" %}
**Note**

If your Microsoft Entra ID administrator has already created an app registration for use with the Publisher, you can skip this step and proceed directly to reviewing and configuring the required Microsoft Graph [API permissions](https://docs.patchmypc.com/patch-my-pc-publisher/publisher-requirements/intune-requirements/entra-id-app-registration/broken-reference).
{% endhint %}

1. **Sign in to the Microsoft Entra admin center**\
   Sign in using an account with sufficient privileges (Application Developer or higher).
2. **Switch tenants (if applicable)**\
   If you are managing multiple tenants, use the Settings menu to select the target tenant where the app should be registered.
3. **Navigate to App registrations**\
   Under **Microsoft Entra ID** > **App registrations**, select **New registration**.<br>

   <figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2F0HGY6DZMG9HekLROH15N%2Fimage.png?alt=media&#x26;token=76d1b4f6-8098-44a0-bde5-cdf6edb805df" alt="New app registration" width="563"><figcaption></figcaption></figure>
4. **Enter registration details**

   1. Choose a friendly **Name** for the app (e.g., *Patch My PC Publisher – Intune Connector*)
   2. Select **Supported account types >** ***Accounts in this organizational directory only***
   3. Leave **Redirect URI** blank
   4. **Register the application**\
      Click **Register** to create the app. Once complete, the **Overview** page will show the newly assigned **Application (client) ID** and **Directory (tenant) ID** — record both for later use.<br>

   <figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FHha4eCii9HwFwm5kg0tB%2Fimage.png?alt=media&#x26;token=4ba5a423-f0ec-44df-a5b4-23628f27fab5" alt="App registration details" width="563"><figcaption></figcaption></figure>

Once the application has been created, the next step is to configure the correct [API Permisisons](https://docs.patchmypc.com/patch-my-pc-publisher/publisher-requirements/intune-requirements/entra-id-app-registration/api-permissions).


---

# 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.patchmypc.com/patch-my-pc-publisher/publisher-requirements/intune-requirements/entra-id-app-registration/register-an-application.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.
