Paolo Matarazzo 23f88759ea updates
2023-03-02 15:43:28 -05:00

8.7 KiB

title, description, ms.date, ms.topic, appliesto
title description ms.date ms.topic appliesto
Validate the applications deployed to Windows SE devices Learn how to validate the applications deployed to Windows SE devices via Intune. 03/02/2023 tutorial
<a href="https://learn.microsoft.com/windows/release-health/supported-versions-windows-client" target="_blank">Windows 11 SE, version 22H2 and later</a>

Validate the applications deployed to Windows SE devices

:::image type="content" source="./images/validate-app.svg" alt-text="Diagram showing the three tutorial steps, highlighting the app validation step." border="false":::

A fundamental step in deploying apps to Windows 11 SE devices is to validate that the apps work as expected.

Application validation consists of the following steps:

  1. Wait for the application to install
  2. Verify that the app has installed successfully
  3. Open the app and exercise all user workflows
  4. Inspect the app and take note of any potential problems
  5. If necessary, create a policy to allow the app to run

Note

Apps must be validated on a case-by-case basis. A successful installation doesn't mean that the app will run properly. A successful execution of the app, doesn't mean it will always run properly. More details about these behaviors are provided below.

Wait for the application to install

Application installation depends on two factors:

  • when the initial managed installer policies are applied to the device
  • when the apps are deployed to a device

Important

The Intune management extension agent checks every hour (or on service or device restart) for any new Win32 app assignments.

Unless applications are blocked by the E-Mode policy, the process to deploy apps to Windows SE devices should be consistent with the experience that you have with non-SE devices.

Check for installation

There are two ways to check that your app has installed successfully:

  • Intune portal
  • On the device

Both options are worth checking. Installation in Intune can be used to check the installation status remotely and to ensure that the installation detection rules are coonfigured correctly. Checking on the device can indicate if the app installed and if it can be executed correctly.

Check for installation from Intune

To check the installation status of an app from the Intune portal, follow these steps:

  1. Sign in to the Microsoft Intune admin center

  2. Select App > All apps

  3. Select the application you want to check

  4. From the Overview page, you can verify the overall installation status

    :::image type="content" source="./images/intune-app-install-overview.png" alt-text="Microsoft Intune admin center - App installation details.":::

  5. From the Device install status page, you can verify the installation status for each device, and the status code that indicates the cause of the failure

    :::image type="content" source="./images/intune-app-install-status.png" alt-text="Microsoft Intune admin center - App installation status for each device.":::

An application may have installed correctly, but reported as failed due to the detection rules defined in Intune.
If you find that the app is being reported as having a failure, but it has been installed successfully when checking for its presence on a device, you may need to adjust the app's detection rules in Intune.

You should also consider the opposite scenario. If an app is reported as being installed, but has actually failed to install, Intune will not retry the installation. You must ensure that you have the correct detection rules set for that app in Intune.

Check for installation on the device

On a Windows SE device, open the Settings app and select Apps > Installed apps. You can see the list of installed apps and validate that your targeted app is listed. Another way to validate that the app has installed is to check its installation directory. The path is usually C:\Program Files or C:\Program Files (x86), but can vary from app to app. Lastly, launch the app to ensure that it has installed correctly.

Known limitations

Not all apps are compatible with managed installers even after installation; there are known limitations.

This resource lists known limitations with apps deployed via a managed installer: Allow apps deployed with a WDAC managed installer.

Additionally, when using Intune, Packaged apps (MSIX) aren't installed using the Intune Management Extension and thus aren't tracked by the managed installer heuristic. These will need to be separately authorized in your WDAC policy. See Manage packaged apps with WDAC.

Check for compatibility

Checking for compatibility will often mean opening the app up and checking its core functionality. Obviously, the core functionality varies from app to app, so signals that an app is or isn't working will also differ.

Here are some things you should try while testing the behavior of your app:

  • Open the app.
  • Test the core functionality and common user scenarios. Exercise a common workflow that a user would do.
  • Force an update of the app.

Here are things to pay attention to and watch out for:

  • Know how apps you deploy are updated, whether it auto-updates and if it offers controls for auto-updating.
  • Dialogs show during use indicating something was blocked.
  • Multiple apps are installed, especially if one app appears to be a launcher/updater. (e.g. Downloading Adobe Photoshop includes the Adobe Creative Cloud launcher, which updates Photoshop)
  • Any messages indicating that the app is doing pre-installation work or downloading additional content.
  • Event logs found in CodeIntegrity - Operational, and AppLocker - MSI and Script. For more information, see AppLocker - MSI and Script

Compatible apps

If an app appears to be functioning correctly without being blocked, it is likely compatible with managed installer installation. Again, you should follow the recommendations above to test the behavior of your app.

However, just because an app works initially does not mean it will always work. Apps can be updated by self-updating or done through a separate launcher/client. See more about this in the next section Semi-compatible apps.

Semi-compatible apps

Semi-compatible apps may run without problems initially, but in the future they can be restricted to run after it self-updates or another installer/updater app installs over it.

Incompatible apps

Incompatible apps may launch initially but immediately begin downloading additional resources, and eventually are blocked before any of their key functionality can be accessed. Alternatively, these apps may not launch due to another file being blocked by the base policy on Windows 11 SE.

See here for the common classes of incompatible apps.

Visual error notifications

You may see a dialog indicating This app won't run on your PC. Check the indicated executable and verify that it matches the one of the installed application.

:::image type="content" source="images/image7.png" alt-text="This is a pic that needs info.":::

Event Viewer

More detail can be obtained when looking for events where executables were blocked in the Event Viewer. For more information, see Troubleshooting - Event Viewer.

Section review

Before moving on to the next section, ensure that you've completed the following tasks:

[!div class="checklist"]

  • No Intune installation errors
  • No errors when opening the app from the device
  • CI Policy in the Event Viewer logs don't show app's executables being blocked

If there are any errors, create a WDAC supplemental policy

[!div class="checklist"]

  • Signed .cip .p7b file with Device Guard
  • Targets Base policy: 82443e1e-8a39-4b4a-96a8-f40ddc00b9f3
  • Policy created in Intune and assigned to the correct groups
  • Policy applied in Event Viewer

If there are any errors, create an AppLocker policy

[!div class="checklist"]

  • Only applied to an updater or installer
  • Merge option used
  • Policy created in Intune and assigned to the correct groups

Next steps

Advance to the next article to learn how to troubleshoot common errors when deploying apps with managed installer.

[!div class="nextstepaction"] Next: troubleshoot >