# How Scappman keeps your available apps up to date

### Problem

Available apps are just that, available to be installed. That means that when it's time to update that app, the new version is also just available. It won't update itself for the users that have already installed it.

### Solution

We create 2 apps in Intune. One that's available for the users and one that's required. When a new version of the app is released we'll first automagically update the required app - always taking into account your configured delay and even update rings - and add a custom detection script to it. The script will detect if a previous version of the app was ever installed. If it was, an update will be triggered.

We not only allow you to automagically update apps that were installed through the Company Portal, but also apps that the user has installed on his own. For either all of your users or just a subset.

### How-to

In the **Scappman portal** -> **App store**-> **Get** a new app

<img src="https://3434044956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmGEQk9OsMywRXix5jUJk%2Fuploads%2FJ7iuiaa5yVKX7FBCcuH4%2F1.png?alt=media&#x26;token=9fc7c6c0-eb3a-4548-90df-87b75116a728" alt="" width="100%">

Click the **Install** button.

<img src="https://3434044956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmGEQk9OsMywRXix5jUJk%2Fuploads%2FbJBpY95RzQBeQYkc8Zds%2F2.png?alt=media&#x26;token=e8935f04-cc2f-419c-8fb7-43e3ad27cc5f" alt="" width="100%">

Select **Advanced** and click on **Assignment Type**.

<img src="https://3434044956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmGEQk9OsMywRXix5jUJk%2Fuploads%2FvsJ6NgJaquwsxdaVMr33%2F3.png?alt=media&#x26;token=f13eaeb4-6a5b-4344-ab00-222537d6e31d" alt="" width="100%">

Select **Available**. The application will be available in the Company Portal. Only user-based assignments are supported for this type.

Scappman has 2 options to enable updates for available apps.

* **Assignment only:** The update will only be deployed to users or groups that are selected in the assignments tab.
* **All Users:** The update will be deployed to all users, even if they are not selected in the assignments tab.

For both options, Scappman will update the application, even if the previous version wasn't Scappman-managed. As soon as the application is in the "Apps & Features" settings page it will automatically be detected and updated on the targeted devices.

Scappman will create 2 apps in Intune. 1 app will be assigned as Available, while the other will be assigned as required and have Scappman's detection script in place to detect if a previous version of the application is in use.

### Available updates with update rings <a href="#available-updates-with-update-rings" id="available-updates-with-update-rings"></a>

If you are using Available Apps together with update rings, 4 apps will be created in lntune (let's take Firefox as an example):

\*This application contains the requirement script to see if a previous version of the application is installed.

**Option 1: Assignment only**

<table data-full-width="true"><thead><tr><th width="245">Application Displayname</th><th>Assignment type</th><th width="177">Requirement script</th><th width="193">Included assignments</th><th>Excluded assignments</th></tr></thead><tbody><tr><td>Firefox_Fast_Update</td><td>Required</td><td>Yes</td><td>Firefox_Fast_Update</td><td>​</td></tr><tr><td>Firefox_Slow_Update</td><td>Required</td><td>Yes</td><td>Firefox_Slow_Update</td><td>Firefox_Fast_Update</td></tr><tr><td>Firefox_Update</td><td>Required</td><td>Yes</td><td>Firefox_Update</td><td>Firefox_Fast_Update Firefox_Slow_Update</td></tr><tr><td>Firefox</td><td>Available</td><td>No</td><td>Firefox_Fast_Update Firefox_Slow_Update Firefox_Update</td><td>​</td></tr></tbody></table>

#### Option 2: All users

<table data-full-width="true"><thead><tr><th width="246">Application Displayname</th><th>Assignment type</th><th>Included assignments</th><th>Excluded assignments</th></tr></thead><tbody><tr><td>Firefox_Fast_Update</td><td>Required</td><td>Firefox_Fast_Update</td><td></td></tr><tr><td>Firefox_Slow_Update</td><td>Required</td><td>Firefox_Slow_Update</td><td>Firefox_Fast_Update</td></tr><tr><td>Firefox_Update</td><td>Required</td><td><mark style="color:red;">All users</mark></td><td>Firefox_Fast_Update<br>Firefox_Slow_Update</td></tr><tr><td>Firefox</td><td>Available</td><td>Firefox_Fast_Update<br>Firefox_Slow_Update<br>Firefox_Update</td><td></td></tr></tbody></table>


---

# 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://support.scappman.com/applications/how-scappman-keeps-your-available-apps-up-to-date.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.
