> 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="/files/rNxvDBv1QuPd9xxlNl6G" alt="Navigating to “Apps”" width="563"><figcaption></figcaption></figure>

3. Navigate to **All Apps**

<figure><img src="/files/B9714l0fqH71u74T1Ksr" 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="/files/Ih71kekZ9l3ppOh8BpdP" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.patchmypc.com/patch-my-pc-cloud/technical-references/intune-reference/check-app-version-retention-in-intune.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
