Technical case study · Endpoint management

Troubleshooting an Intune PowerPoint template deployment.

An existing Win32 app was reporting as not installed. A controlled test helped isolate a detection-rule problem and a separate issue in the installation script.

Microsoft IntuneWin32 appPowerShellUser contextDetection rules
deployment / findings
Two distinct faults2 issues

Detection and installation

01 Detection rule corrected
02 Missing directory handled

01 / The problem

A corporate PowerPoint template had already been packaged as an Intune Win32 application with PowerShell install and uninstall scripts. Intune was reporting that the application was not installed across assigned devices.

The goal was to identify why the deployment was not being detected correctly, without making untested changes across the wider assignment.

02 / Controlled investigation

I created a test group, assigned a test user and reviewed the existing application configuration. I worked through the deployment settings, detection rule and PowerShell scripts separately to distinguish a reporting issue from an installation problem.

01

Test assignment

Isolated the investigation using a test group and user.

02

Detection

Reviewed the rule used to decide whether the application was installed.

03

Retest

Retested assignment and detection after correcting the rule.

04

Script review

Checked how the existing script handled the template destination.

03 / The first fault: detection

The existing detection rule had been configured incorrectly, causing Intune to report the application as not installed. I corrected the rule and retested the deployment. This revealed a separate problem in the installation logic.

04 / The second fault: a missing folder

The PowerShell installation script assumed that the user's %APPDATA%\Microsoft\Templates folder already existed. On a profile without that directory, the script could not place the template as intended.

I updated the deployment logic so that the destination directory could be created when absent.

// Illustrative PowerShell pattern
$destination = Join-Path $env:APPDATA 'Microsoft\Templates'
New-Item -Path $destination -ItemType Directory -Force | Out-Null

This is a simplified example of the directory-creation approach, not a copy of the client deployment script. It assumes execution in the intended user's context.

05 / What I learned

What initially appeared to be one deployment problem was actually two. The detection rule affected Intune's reporting, while the missing directory affected the installation itself. Working through the application in a test assignment helped identify both.

The fixes addressed the two identified issues. A wider production rollout and its final success rate are not documented here.

Client details and the original deployment package are intentionally omitted.

← All case studiesNext: Microsoft 365 leaver cleanup →