-
Notifications
You must be signed in to change notification settings - Fork 25
Using Baseline via Microsoft Intune
This guide was contributed by @patrickrgr
Groups in Intune (especially dynamic groups) are slow to update as group data is stored in AzureAD and there is a delay in syncing between Intune and AzureAD. For time-sensitive deployments (e.g. zero-touch) it's recommended to scope to All Users or All Devices. Narrow scope by using Intune-native device filters (Microsoft documentation). Many thanks to Luke Hawkins, Chris McFall, and Johan Kjellman in the MacAdmins Slack for providing the foundation of most of this documentation.
Customize the mobileconfig file as desired. Signing the profile is not required. Then upload it to Intune:
- Navigate to Devices > macOS > Configuration Profiles.
- Click Create, click New Policy, and select the Templates profile type.
- Click Custom and click Create.
- Enter a name and click Next.
- Enter a name for the configuration profile, deploy to Device channel, upload the configuration file, and click Next.
- Assign as desired and click Next.
- Click Create.
For a successful zero-touch experience, use a script to deploy Baseline. Due to delays when Intune deploys packages, Baseline is unlikely to run when needed if deployed as a package. When deploying via a script, ensure there is an ExitCondition specified in the configuration profile.
- Download Baseline.sh and customize as desired.
- In Intune, navigate to Devices - macOS - Shell scripts.
- Click Add. Enter a name and click Next.
- Upload the script.
- Change Run script as signed-in user to No.
- Change Max number of times to retry if script fails to 3. Leave the other options unconfigured and click Next.
- Assign to all users and click Next.
- Review settings and click Add.
If you wish to add additional pkg files to the package version: Download Baseline.pkg, customize, then repackage and upload to your desired location (cloud or local network storage). Create a shell script that downloads and installs the default package from Github or the customized package from your network location.
As of writing, the only way to deploy an on-demand Mac app via Intune is to deploy it as a line-of-business app. LOB apps can be assigned as Required or Available, while DMG and PKG apps can only be assigned as Required (i.e. they will be installed automatically). LOB apps have certain requirements that must be satisfied. The unmodified Baseline.pkg meets these requirements. To deploy Baseline for on-demand use via the Company Portal, complete the following steps:
- If you've modified the package, ensure the pkg file meets all requirements specified above.
- In Intune, navigate to Apps > macOS and click Add.
- Select Line-of-business app as the app type and click Select.
- Upload the pkg file and click OK.
- Fill out/edit the information. Baseline is compatible with macOS 11 or newer, but any added payloads may have higher minimum OS requirements. Ensure the included apps list is accurate and a logo is present. Click Next.
- Assign as desired and click Next.
- Click Create.
- Mosyle
- JumpCloud
- Addigy
- SimpleMDM
- FileWave
- Workspace ONE
- Jamf Pro
- Microsoft Intune
- Kandji (Need contributions!)
- Hexnode (Need contributions!)
- Jamf School (Need contributions!)