> 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/intune-reference/check-app-version-retention-in-intune.md).

# Check App Version Retention in Intune

*Applies to: Microsoft Intune*

If a Patch My PC (PMPC) Cloud deployment has been configured to use a [Retention Policy](/patch-my-pc-cloud/deployments/deploy-app/configurations-tab/additional-tools/retention-policy.md), this is how you can check that the relevant number of versions have been created correctly in Intune:

1. Sign in to the **Intune admin center**
2. Navigate to **Apps**

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FFcxOib0tHRDJg37s1nXf%2Fimage.png?alt=media&amp;token=89f88964-54a8-4d10-96b0-c1a86d916ede" alt="Navigating to “Apps”" width="563"><figcaption></figcaption></figure>

3. Navigate to **All Apps**

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2FQc4yXUnvomHuK4UNdfBe%2Fimage.png?alt=media&amp;token=e159c495-4ddc-4133-8107-7fe2d93d70e0" alt="Navigating to “All Apps”" width="563"><figcaption></figcaption></figure>

You will see all versions of all apps deployed.

In the following example, 7-Zip has been deployed with a **Retention Policy** of **2**. So the latest version (23.01) is kept as it is the previous two versions (19.00 and 16.04). The next time a new version is deployed, the new version will be added and version 16.04 deleted.

<figure><img src="https://3773699522-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MX7dvS0r_4fc0AikgJS%2Fuploads%2Fv8e6Yj2o7AQZLAvGijE5%2Fimage.png?alt=media&amp;token=d7bf7487-db05-426b-8763-a400ec8270ce" alt="List of apps deps deployed" 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/intune-reference/check-app-version-retention-in-intune.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.
