> For the complete documentation index, see [llms.txt](https://docs.patchmypc.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patchmypc.com/patch-my-pc-cloud/technical-references/entra-id-reference/delete-an-app-registration-in-entra-id.md).

# Delete an App Registration in Entra ID

*Applies to: Patch My PC Cloud*

Once you have successfully completed any scenarios (such as [Recover Your Company](/patch-my-pc-cloud/manage/settings/company-settings/recover-company.md)) where you had to create an App Registration for use in Patch My PC (PMPC) Cloud, you need to delete the App Registration to avoid potential security issues and prevent unwanted re-use.

To delete an App Registration:

1. Sign in to the Microsoft Azure portal using an account with the **GlobalAdmin** role and navigate to the [App Registrations](https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade) blade.

{% hint style="danger" %}
**Important**

You must use an account in the same Microsoft 365 subscription (tenant) as your PMPC Company.
{% endhint %}

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FUs5VGvUgWCEE2fiOhykI%2Fimage.png?alt=media&amp;token=7a174490-5972-4747-9854-ac046c7e538b" alt="Navigating to the “App registrations” blade" width="563"><figcaption></figcaption></figure>

2. Click **All applications**.<br>

   <figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FDuDor4MVvE2LNrIt7AIe%2Fimage.png?alt=media&amp;token=dccf6b71-d330-42a4-8447-7b273ed4d86a" alt="Clicking “All Applications”" width="563"><figcaption></figcaption></figure>

   <br>
3. Click the **PMPC Recovery** application.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FjIaOlCqNthfiYSkrMQaR%2Fimage.png?alt=media&amp;token=60b8ce21-d339-4602-9932-ba0161fd8432" alt="Clicking the “PMPC Recovery” application" width="563"><figcaption></figcaption></figure>

4. Click **Delete**.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FxjFQhVx8HS9AgGB7UJ4T%2Fimage.png?alt=media&amp;token=b5fe3c58-9ddd-417c-a578-e859764be584" alt="Clicking “Delete”" width="563"><figcaption></figcaption></figure>

5. On the **Delete app registration** screen, check the **I understand the implications of deleting this app registration** checkbox, then click **Delete**.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Fh52ovZZsNq0hcmJHCOR0%2Fimage.png?alt=media&amp;token=10498d3b-211f-4364-8bf7-a4b0fa21fe4e" alt="Checking the “I understand the implications of deleting this app registration” checkbox, then clicking “Delete”." width="563"><figcaption></figcaption></figure>

The **Welcome to Azure** page is shown and the **Delete application - Successfully deleted application PMPC Recovery** notification is shown.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FEV5SMeSF8vvR9NMhDt8B%2Fimage.png?alt=media&amp;token=fa2091e8-b694-4eff-a46e-f271be7955e7" alt="“App registrations” page refreshes and the “Delete application - Successfully deleted application PMPC Recovery” notification is shown." width="563"><figcaption></figcaption></figure>

6. Click **App Registrations**.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FO9PaBJEKJX9ll0EUCH5I%2Fimage.png?alt=media&amp;token=825ee50f-9ecc-4eb3-a140-a0969507d21b" alt="Clicking the “App Registrations” blade" width="563"><figcaption></figcaption></figure>

7. On the **App registrations** screen, click **All applications**.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FNlJefk3UIUUsJmnqWwwJ%2Fimage.png?alt=media&amp;token=011a62cf-8d44-48dd-ad5f-39e800550f26" alt="Clicking the “All applications” blade" width="563"><figcaption></figcaption></figure>

8. Verify the **PMPC Recovery** application has been deleted.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FIlKazWeiolP2hJoD1oQb%2Fimage.png?alt=media&amp;token=4cf64032-43d9-4d92-bf6f-1b765f704197" alt="Verifying the “PMPC Recovery” application has been deleted." width="563"><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.patchmypc.com/patch-my-pc-cloud/technical-references/entra-id-reference/delete-an-app-registration-in-entra-id.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
