Deploying macOS Line-of-Business App Silently in Intune
Your organization uses Microsoft Intune to manage macOS devices. You need to deploy a company-specific application (a .pkg file) to all macOS devices. The application requires a specific configuration file that must be placed in the /Library/Application Support/ directory. You also need to ensure that the application is installed silently without user interaction. How should you configure the deployment in Intune?
Quick Answer
The answer is to add the .pkg file as a macOS line-of-business app in Intune, specify silent installation arguments, and include a post-install script to copy the configuration file to /Library/Application Support/. This is correct because Intune’s macOS LOB app deployment supports installation arguments like `-silent` or `-agreeToLicense` for unattended installs, and you can attach a shell script as a custom requirement or post-install action to place the config file, ensuring the app functions correctly without user interaction. On the MD-102 exam, this question tests your understanding of the difference between LOB app deployment (which handles .pkg files natively) and device configuration profiles or VPP, which cannot install custom software. A common trap is choosing a script-only solution, but Intune’s LOB method provides better reporting and integration. Memory tip: “LOB for .pkg, script for config” — remember that the app itself goes through LOB, while file placement is handled by a companion script.
⚠ Common exam trap
It's easy for candidates to confuse device configuration profiles (which only manage settings) with app deployment, or they assume a simple script can replace the structured LOB app deployment with its silent install and post-install script capabilities.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Add the .pkg file as a macOS line-of-business app in Intune, specify installation arguments for silent install, and include a script to copy the configuration file post-install.
Intune's macOS line-of-business (LOB) app deployment supports .pkg files and allows you to specify installation arguments (e.g., `-silent` or `--acceptLicense`) for silent installation. To place the configuration file in /Library/Application Support/, you must use a post-install script because Intune does not natively copy files to specific directories during LOB app deployment. This combination ensures the app is installed silently and configured correctly.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use a shell script in Intune to download and install the .pkg file from a secure URL.
Why it's wrong here
While possible, it's not the best practice and lacks management features.
- ✗
Create a device configuration profile for macOS that includes the app installation settings.
Why it's wrong here
Device configuration profiles cannot install .pkg apps; they configure settings.
- ✓
Add the .pkg file as a macOS line-of-business app in Intune, specify installation arguments for silent install, and include a script to copy the configuration file post-install.
Why this is correct
This is the standard method for deploying custom macOS apps with configuration.
- ✗
Use Apple Volume Purchase Program (VPP) to distribute the app as a managed app.
Why it's wrong here
VPP is for apps from the App Store, not custom .pkg files.
Go deeper
Related to this question
Learn chapter
Introduction to Endpoint Management in Microsoft 365
Key term
Microsoft Intune
Microsoft Intune is a cloud-based service that helps organizations manage employee devices, apps, and security policies without needing to own or control the physical hardware.
Key term
App deployment
App deployment is the process of making a software application available for use by end users, often involving distribution, installation, configuration, and updates across multiple devices or servers.
About these practice questions
One of 942 original MD-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on MD-102
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Your organization uses Microsoft Intune to manage macOS devices. You need to deploy a .pkg app to these devices. What is the recommended method?
hard- A.Add as a Windows line-of-business app.
- B.Add as a macOS web app.
- C.Add as a Microsoft Store app.
- ✓ D.Add as a macOS line-of-business app.
Why D: The recommended method to deploy a .pkg app to macOS devices managed by Microsoft Intune is to add it as a macOS line-of-business (LOB) app. This app type is specifically designed for deploying macOS installer packages (.pkg) and requires the file to be uploaded directly to Intune, which then pushes the installation to enrolled devices using the Intune management agent for macOS.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This MD-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MD-102 exam.