Deploying Apps Using Intune
Earn 25 points (50 with Pro) in two steps
- ① Read through the lesson — each section gets a ✓ as you scroll through it.
- ② When every section has a ✓, tap Complete lesson.
0 of 10 read · keep scrolling
✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro
Deploying Apps Using Microsoft Intune: A Comprehensive Guide
Introduction: The Evolution of Application Management
In the modern workplace, the days of manually installing software on individual computers using physical media or local network shares are largely behind us. Organizations today operate in a distributed environment where employees work from home, in offices, and on the road, using a variety of devices. Managing applications in this context requires a centralized, cloud-based approach that ensures software is delivered consistently, securely, and efficiently. This is where Microsoft Intune comes into play.
Microsoft Intune is a cloud-based endpoint management solution that allows IT professionals to manage user access and simplify app and device management across a fleet of devices. By using Intune to deploy applications, you move away from "high-touch" IT practices toward a "low-touch" or "zero-touch" model. This shift is critical because it reduces the burden on IT support teams, improves the end-user experience by providing self-service installation options, and ensures that security patches and updates are applied in a timely manner.
Understanding how to deploy apps through Intune is not just about moving files from point A to point B; it is about creating a lifecycle management strategy. You must consider how apps are packaged, how they are assigned to specific groups, how they are updated, and how they are removed when they are no longer needed. This lesson will walk you through the technical foundations, the strategic planning required, and the practical execution of deploying applications in a modern enterprise environment.
Not read yet
Understanding the App Lifecycle in Intune
Before diving into the configuration steps, it is essential to understand the lifecycle of an application within the Intune ecosystem. Every application you manage will typically go through four distinct phases: creation, assignment, monitoring, and retirement.
- Creation/Packaging: This phase involves preparing your installation files. Intune supports various formats, including Windows MSI, Win32 apps (using the Intune Management Extension), Microsoft Store apps, and web links. You must ensure the installer is silent and does not require user interaction.
- Assignment: This is the process of targeting specific users or devices. Intune uses Azure Active Directory (Microsoft Entra ID) groups to determine who receives which application. You can assign apps as "Required" (forced installation) or "Available" (self-service via the Company Portal).
- Monitoring: Once deployed, you need to track the success or failure of the installation. Intune provides granular reporting that allows you to see which devices have the app, which are pending, and which have encountered errors.
- Retirement/Uninstall: When an application is no longer needed or is replaced by a newer version, you must be able to remove it cleanly from all devices. Intune handles this through uninstall commands that you define during the packaging phase.
Not read yet
Preparing and Packaging Applications for Deployment
The most critical step in successful deployment is the preparation of the installation package. While simple MSI files can be uploaded directly to Intune, more complex applications often require the Win32 App format.
The Intune Win32 App Packaging Tool
The Win32 App format is the preferred method for most enterprise deployments. It allows you to wrap your installation files (MSI, EXE, Scripted setups) into a single .intunewin file. This format provides the flexibility to include dependencies, requirement rules, and detection methods.
To prepare a Win32 app, you need to download the IntuneWinAppUtil.exe utility from GitHub. The process follows these steps:
- Create a source folder: Place your installer (e.g.,
setup.exeorapplication.msi) in a dedicated folder. - Run the tool: Execute the utility from your command line. You will be prompted for the source folder, the setup file, and the output folder.
- Generate the file: The tool will compress your files and generate an
.intunewinfile, which is what you will upload to the Intune portal.
Callout: MSI vs. Win32 Apps Many administrators wonder when to use a simple MSI upload versus the Win32 App format. A standard MSI upload is sufficient for simple, single-file installers that do not require complex dependencies or custom pre-install scripts. However, if your application requires a custom installation script, specific registry key checks, or a combination of multiple files, you should always use the Win32 App format to ensure a robust deployment experience.
Defining Detection Rules
A detection rule is a piece of logic that Intune uses to verify whether an application is already installed on a device. If the detection rule returns "true," Intune considers the installation successful and will not attempt to install it again.
Common detection methods include:
- File/Folder existence: Checking for the presence of a specific executable file in
C:\Program Files. - Registry key: Checking for a specific key in
HKEY_LOCAL_MACHINE\SOFTWAREthat is created during installation. - MSI Product Code: Using the GUID assigned to the MSI package during the build process.
Not read yet
Step-by-Step: Deploying a Win32 Application
Let’s walk through the process of deploying a hypothetical enterprise application, such as a custom PDF viewer, using the Win32 format.
Step 1: Prepare the Package
Assume your installer is PDFViewer.exe. Run the IntuneWinAppUtil.exe tool to create PDFViewer.intunewin.
Step 2: Upload to Intune
- Log in to the Microsoft Intune admin center.
- Navigate to Apps > Windows > Add.
- Select Windows app (Win32) from the app type list.
- Upload your
.intunewinfile.
Step 3: Configure App Information
Enter the application name, description, publisher, and logo. Providing a clear description and a high-quality logo is vital if you intend to make the app available in the Company Portal, as it helps users identify the software.
Step 4: Define Program Settings
This is the most important step for the actual installation:
- Install command:
PDFViewer.exe /silent /norestart - Uninstall command:
PDFViewer.exe /uninstall - Install behavior: Choose "System" if the app should be installed for all users on the device, or "User" if it is specific to the logged-in user.
Step 5: Set Requirements
Define the minimum operating system requirements (e.g., Windows 10 20H2) and architecture (64-bit). You can also add custom requirement rules, such as checking for a minimum amount of disk space or RAM.
Step 6: Detection Rules
Set the rule to "Manually configure detection rules." Select "File," enter the path to the installed executable, and set the check to "File or folder exists."
Step 7: Assignments
Choose the Azure AD group of users or devices that should receive the application. Select "Required" if you want to force the installation, or "Available for enrolled devices" if you want users to choose to install it themselves via the Company Portal.
Not read yet
Best Practices for Application Deployment
Deploying apps is not just about technical execution; it is about managing the end-user experience and minimizing disruption.
Use Pilot Groups
Never deploy an application to your entire organization at once. Create a "Pilot" group containing a small subset of devices or power users. Monitor the deployment for a few days to ensure there are no unforeseen conflicts with other software or system settings. Once the pilot group reports success, expand the deployment to broader groups.
Keep Installers Silent
The biggest cause of deployment failure is an installer that prompts for user input. If an installer requires a user to click "Next" or "Agree," the Intune Management Extension will eventually time out, and the installation will fail. Always test your installation command locally using the SYSTEM context before uploading to Intune.
Tip: Testing in the SYSTEM Context To test your installer exactly as Intune will run it, use the
PsExectool from the Sysinternals suite. Executepsexec -i -s cmd.exein an administrative command prompt. This opens a new command window running as theSYSTEMaccount. Try running your install command there. If it works in this window, it will work in Intune.
Handle Dependencies
If your application requires a prerequisite (like a specific version of .NET or a Visual C++ Redistributable), define these as dependencies within the Win32 app settings. Intune will ensure the dependency is installed before attempting to install the main application.
Versioning and Updates
Intune does not automatically "patch" applications in the sense of a traditional software update server. To update an app, you must upload a new version of the .intunewin file to the existing app object in Intune. Ensure your detection rule is robust enough to handle versioning; for example, if you use a registry key, make sure the version number is not hardcoded in the detection rule unless you intend to update the rule every time the app updates.
Not read yet
Common Pitfalls and Troubleshooting
Even with careful planning, things can go wrong. Understanding where to look is half the battle.
Common Issues
- Timeouts: By default, Intune gives an installation 60 minutes to complete. If your installer is very large or takes a long time to unpack, the installation might fail due to a timeout. You can increase this limit in the app settings.
- Incorrect Detection Logic: If your detection rule is too broad (e.g., checking for a file that existed in a previous version of the app), Intune might think the app is already installed when it is not.
- Permissions Issues: If an app tries to write to a user-specific folder (like
C:\Users\Username\AppData) but you have set the installation behavior to "System," the installation will likely fail or install to the wrong location.
Troubleshooting Steps
When an app fails to install, the primary log file you need to check is the IntuneManagementExtension.log located at C:\ProgramData\Microsoft\IntuneManagementExtension\Logs.
- Open the log file: Use a log viewer like CMTrace.
- Search for the App ID: You can find the App ID in the URL of the Intune portal when you are viewing the specific application.
- Analyze the errors: Look for lines containing "Exit code." A common exit code is
1603, which is a generic Windows Installer error. If you see1618, it means another installation is already in progress.
Warning: The 1618 Error Code The
1618error is a classic "Another installation is in progress" message. This often happens if Intune tries to install an app while Windows Update is simultaneously installing patches. To mitigate this, consider adding a delay or using a script that checks ifmsiexec.exeis running before launching your installer.
Not read yet
Comparison: Deployment Methods in Intune
When choosing how to deliver an app, use this quick reference table to determine the best approach for your scenario.
| Method | Best For | Pros | Cons |
|---|---|---|---|
| Microsoft Store (New) | Public apps (Company Portal, modern tools) | Easy to manage, automatic updates | Limited to Store apps only |
| Win32 App | Custom software, legacy apps, complex setups | Full control, scriptable, dependencies | Requires packaging effort |
| MSI (Direct) | Simple MSI installers | No packaging required | Limited logic and dependencies |
| Microsoft 365 Apps | Office suite | Built-in management, easy configuration | Only for Office apps |
| Web Link | SaaS apps (e.g., internal portals) | Extremely simple | Not a "real" installation |
Advanced Strategies: Using PowerShell Scripts
Sometimes, a simple installer is not enough. You might need to modify a configuration file after installation, set a specific registry key for user preferences, or clear out temporary files. Intune allows you to chain these actions using PowerShell scripts.
You can include a PowerShell script as a "pre-install" or "post-install" task. For example, if you are deploying a browser, you might need to copy a company-specific bookmark file into the user's profile folder. Because the installation runs as SYSTEM, you will need to use a script that identifies the currently logged-in user and targets their specific AppData folder.
Example: Post-Installation Script
# Get the current logged-in user
$username = (Get-WmiObject -Class Win32_ComputerSystem).UserName
$userProfile = "C:\Users\$($username.Split('\')[1])"
# Define the source and destination
$sourceFile = "C:\Temp\Config.json"
$destFolder = "$userProfile\AppData\Roaming\CompanyApp"
# Create directory if it doesn't exist
if (!(Test-Path $destFolder)) {
New-Item -ItemType Directory -Path $destFolder
}
# Copy the file
Copy-Item -Path $sourceFile -Destination "$destFolder\Config.json" -Force
Explanation: This script dynamically finds the user profile path of the person currently logged into the machine. It then copies a configuration file to their local roaming profile, which is a common requirement for enterprise applications.
Not read yet
Managing Updates and Replacements
One of the most frequent questions regarding Intune is how to handle updates. If you have deployed "App Version 1.0" and now need to deploy "App Version 2.0," you have two main options:
- Supersedence: This is the preferred method in Intune. You configure the new app (2.0) to "supersede" the old app (1.0). When you assign the new app to a group, Intune will automatically uninstall the old version and install the new one. This ensures a clean transition.
- Manual Update: You can simply update the source files in the existing Intune app object. However, this does not always trigger a re-run on devices that already have the software, unless the detection rule fails.
Implementing Supersedence
To implement supersedence, go to the properties of your new app in Intune. Under the "Supersedence" section, click "Add" and select the old application. You can choose whether to uninstall the old app before installing the new one. This is highly recommended for complex software where having two versions installed simultaneously might cause conflicts.
Not read yet
Security Considerations
Deploying software is inherently a security risk. If you deploy an application that contains malicious code, you are essentially distributing malware to your entire organization.
- Source Integrity: Only download installers from official, trusted vendor websites. Verify the digital signature of the installer before packaging it.
- Principle of Least Privilege: Always test if your application needs to run as
SYSTEM. If an application can run as a standard user, configure it that way. This limits the potential impact if the application is compromised. - Blocking Apps: Intune also allows you to "block" specific applications. If you identify an application that is prohibited in your environment, you can use an App Configuration policy or a compliance policy to prevent it from running or to force its removal.
Monitoring and Reporting
Once your deployment is live, you must keep an eye on the results. The "Device Install Status" report in the Intune portal is your primary dashboard. It shows you the status for every device in the assigned group.
- Success: The app is installed and the detection rule passed.
- Failed: The installation process returned an error code.
- Pending: The device has not yet checked in with Intune to receive the policy.
- Not Applicable: The device does not meet the requirement rules (e.g., the wrong OS architecture).
If you see a high number of failures, do not ignore them. Click on the individual device status to see the specific error code. Often, a pattern will emerge, such as a specific department having a different configuration or a specific version of Windows that is causing the installer to crash.
Not read yet
Key Takeaways
As we conclude this lesson on deploying applications with Microsoft Intune, keep these core principles in mind:
- Standardization is Key: Always aim for silent, automated installations. If you cannot automate the installation, you cannot effectively scale it across an enterprise.
- The Power of Win32: While simple MSI uploads are convenient, the Win32 App format is your best friend for complex, real-world scenarios. It provides the control needed to handle dependencies and custom logic.
- Test, Test, Test: Never bypass the pilot group. Use a small group of devices to validate your deployment before rolling it out to the entire organization.
- Robust Detection: Your detection rule is the backbone of your deployment. If your detection logic is flawed, your reporting will be inaccurate, and your users will experience inconsistent installations.
- Lifecycle Management: Think beyond the initial install. Plan how you will update the application via supersedence and how you will eventually remove it when it is no longer required.
- Log Analysis: When things go wrong—and they eventually will—don't guess. Check the
IntuneManagementExtension.logfile to see exactly what the installer was doing and why it failed. - User Experience: Use the Company Portal to provide a self-service experience. When users feel empowered to install the tools they need on their own terms, it reduces the pressure on your help desk and increases overall productivity.
By mastering these concepts, you transition from being a reactive IT administrator to a proactive manager of the digital workspace. Application management in Intune is a continuous process of refinement, testing, and improvement, but the result is a resilient, secure, and user-friendly environment that supports the modern workforce.
Not read yet
Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.
- Choosing Device Join Types
- Choosing Device Join Types Quiz5q
- Joining Devices to Microsoft Entra ID
- Joining Devices to Microsoft Entra ID Quiz5q
- Registering Devices to Microsoft Entra ID
- Registering Devices to Microsoft Entra ID Quiz5q
- Planning Device Groups in Microsoft Entra ID
- Planning Device Groups in Microsoft Entra ID Quiz5q
- Implementing Dynamic Device Groups
- Implementing Dynamic Device Groups Quiz5q
- Configuring Enrollment Settings
- Configuring Enrollment Settings Quiz5q
- Configuring Automatic Enrollment for Windows
- Configuring Automatic Enrollment for Windows Quiz5q
- Configuring Bulk Enrollment for iOS and Android
- Configuring Bulk Enrollment for iOS and Android Quiz5q
- Configuring Android Enrollment Profiles
- Configuring Android Enrollment Profiles Quiz5q
- Configuring Android Enterprise Work Profiles
- Configuring Android Enterprise Work Profiles Quiz5q
- Managing Roles in Intune
- Managing Roles in Intune Quiz5q
- Implementing Compliance Policies
- Implementing Compliance Policies Quiz5q
- Implementing Conditional Access with Compliance
- Implementing Conditional Access with Compliance Quiz5q
- Configuring Windows Hello for Business
- Configuring Windows Hello for Business Quiz5q
- Implementing Windows LAPS
- Implementing Windows LAPS Quiz5q
- Managing Local Groups Membership
- Managing Local Groups Membership Quiz5q
- Choosing Between Autopilot and Provisioning Packages
- Choosing Between Autopilot and Provisioning Packages Quiz5q
- Choosing Windows Autopilot Deployment Modes
- Choosing Windows Autopilot Deployment Modes Quiz5q
- Applying Device Name Templates
- Applying Device Name Templates Quiz5q
- Implementing Windows Autopilot Deployment
- Implementing Windows Autopilot Deployment Quiz5q
- Creating Enrollment Status Pages
- Creating Enrollment Status Pages Quiz5q
- Implementing Provisioning Packages
- Implementing Provisioning Packages Quiz5q
- Planning Windows 11 Upgrades
- Planning Windows 11 Upgrades Quiz5q
- Implementing Windows 365 Cloud PC
- Implementing Windows 365 Cloud PC Quiz5q
- Configuring Autopilot Device Preparation
- Configuring Autopilot Device Preparation Quiz5q
- Creating Windows Device Configuration Profiles
- Creating Windows Device Configuration Profiles Quiz5q
- Importing ADMX Files
- Importing ADMX Files Quiz5q
- Creating Android Device Profiles
- Creating Android Device Profiles Quiz5q
- Creating iOS and iPadOS Device Profiles
- Creating iOS and iPadOS Device Profiles Quiz5q
- Creating macOS Device Profiles
- Creating macOS Device Profiles Quiz5q
- Targeting Profiles Using Filters
- Targeting Profiles Using Filters Quiz5q
- Creating Windows 11 Enterprise Multi-Session Profiles
- Creating Windows 11 Enterprise Multi-Session Profiles Quiz5q
- Configuring Endpoint Privilege Management
- Configuring Endpoint Privilege Management Quiz5q
- Using Enterprise App Catalog
- Using Enterprise App Catalog Quiz5q
- Implementing Advanced Analytics
- Implementing Advanced Analytics Quiz5q
- Configuring Remote Help
- Configuring Remote Help Quiz5q
- Implementing Microsoft Tunnel for MAM
- Implementing Microsoft Tunnel for MAM Quiz5q
- Understanding Microsoft Cloud PKI
- Understanding Microsoft Cloud PKI Quiz5q
- Syncing and Restarting Devices
- Syncing and Restarting Devices Quiz5q
- Retiring and Wiping Devices
- Retiring and Wiping Devices Quiz5q
- Performing Bulk Remote Actions
- Performing Bulk Remote Actions Quiz5q
- Rotating BitLocker Recovery Keys
- Rotating BitLocker Recovery Keys Quiz5q
- Running Device Queries with KQL
- Running Device Queries with KQL Quiz5q
- Updating Defender Antivirus Definitions
- Updating Defender Antivirus Definitions Quiz5q
- Preparing Applications for Deployment
- Preparing Applications for Deployment Quiz5q
- Deploying Apps Using Intune
- Deploying Apps Using Intune Quiz5q
- Deploying Microsoft 365 Apps
- Deploying Microsoft 365 Apps Quiz5q
- Configuring Policies for Office Apps
- Configuring Policies for Office Apps Quiz5q
- Using Office Deployment Tool with Autopilot
- Using Office Deployment Tool with Autopilot Quiz5q
- Managing Apps in Microsoft 365 Admin Center
- Managing Apps in Microsoft 365 Admin Center Quiz5q
- Deploying Apps from Platform App Stores
- Deploying Apps from Platform App Stores Quiz5q
- Managing Win32 App Dependencies
- Managing Win32 App Dependencies Quiz5q
- Planning App Protection Policies
- Planning App Protection Policies Quiz5q
- Implementing App Protection Policies
- Implementing App Protection Policies Quiz5q
- Implementing Conditional Access for Apps
- Implementing Conditional Access for Apps Quiz5q
- Planning App Configuration Policies
- Planning App Configuration Policies Quiz5q
- Implementing App Configuration Policies
- Implementing App Configuration Policies Quiz5q
- Configuring Selective Wipe for Apps
- Configuring Selective Wipe for Apps Quiz5q
- Creating Antivirus Policies
- Creating Antivirus Policies Quiz5q
- Creating Disk Encryption Policies
- Creating Disk Encryption Policies Quiz5q
- Creating Firewall Policies
- Creating Firewall Policies Quiz5q
- Configuring Attack Surface Reduction
- Configuring Attack Surface Reduction Quiz5q
- Implementing Security Baselines
- Implementing Security Baselines Quiz5q
- Integrating with Defender for Endpoint
- Integrating with Defender for Endpoint Quiz5q
- Onboarding Devices to Defender for Endpoint
- Onboarding Devices to Defender for Endpoint Quiz5q
- Configuring Endpoint Detection and Response
- Configuring Endpoint Detection and Response Quiz5q
- Planning Device Updates
- Planning Device Updates Quiz5q
- Creating Windows Update Rings
- Creating Windows Update Rings Quiz5q
- Managing iOS and macOS Updates
- Managing iOS and macOS Updates Quiz5q
- Managing Android Updates
- Managing Android Updates Quiz5q
- Configuring Delivery Optimization
- Configuring Delivery Optimization Quiz5q
- Monitoring Update Deployments
- Monitoring Update Deployments Quiz5q
- Creating Feature Update Policies
- Creating Feature Update Policies Quiz5q
- Managing Quality Update Expedites
- Managing Quality Update Expedites Quiz5q
- Using Windows Update for Business Reports
- Using Windows Update for Business Reports Quiz5q
Spend your points to unlock exam-style practice questions
Spend points to unlock MD-102 exam-style practice questions.
Practice for MD-102