The Microsoft Intune management agent enables advanced device management capabilities that aren't supported by the native macOS operating system. It is the equivalent to the Microsoft Intune Management Extension for Windows (codename Sidecar), which adds support for Win32 app and script deployment.
The Intune management agent:
- is a prerequisites before a macOS DMG app is installed on macOS devices.
- receives assigned shell scripts and runs the scripts based on the configured schedule
The agent is automatically and silently installed on Intune-managed macOS devices when you assign at least one shell script. The agent checks for new or updated scripts with Intune services usually every 8 hours. This check-in process is independent of the MDM check-in.
I figured that I would deploy a simple shell script to my test device to force the Intune management agent to install in advance of deploying DMG apps. I used something very basic. It doesn't do anything but should install the management agent for me. The important thing is that the shell scripts begin with #! and must be in a valid location such as #!/bin/sh or #!/usr/bin/env zsh
#!/bin/sh
echo "Hello, world!"
I copied this to a text editor and saved the file as HelloWorld.sh. Then it could be used. Navigate to Devices > macOS > Shell scripts.
In the Intune portal, you can see that the script has succeeded. The management agent has been installed and I'm ready to deploy a DMG app.
No comments:
Post a Comment