A user is seeking help with automating the deployment of DX Mac Agent in Intune. Another user offers a script from a customer, with the tenant and device registration code needing to be specified on lines 10 and 11. Additional instructions for scripted deployment of the Mac Agent Manager are provided, with a note that this should only be used for fresh installs.
Read the entire ‘Automation Help for DX Mac Agent Deployment in Intune’ thread below:
Hey Guys,
Anyone automated the DX Mac Agent deployment within Intune ? (or any other tool)
I cannot specify the tenant ID and device group directly in the DMG.
It could be easier if a PKG was provided as we can natively in Intune specify the install script with this type of file.
Thanks.
Hey Chris,
This script was provided by a customer. This is how they deploy the EdgeDX Mac agent manager.
You’ll need to provide your own tenant and device registration code on lines 10 and 11.
Alternate instructions used by our internal devops team:
> How can I do a scripted install of the Mac Agent Manager?
> If you are using scripted deployment tools to deploy the Mac Agent Manager then the basics are
> 1. Push the Agent Manager disk image to the Mac
> ◦ This is specific to the environment and the tool being used.
> 2. Open the disk image
> ◦ hdiutil mount -nobrowse <path to pushed disk image>
> 3. Run the Command line to install
> ▪︎ sudo /Volumes/ControlUp\ Edge\ DX/Updater –install <tenant_name> –code <device_reg_code>
> ◦ Optionally a device group can be set using –group <Device group> with the command line above
> 4. Close the Disk Image
> ◦ diskutil eject /Volumes/ControlUp\ Edge\ DX
> 5. Remove the disk Image
> ◦ rm -f <path to pushed Disk Image>
> Note this should only be used for fresh installs of the Agent Manager. Once it is installed the Agent and Agent Manager will be kept up to date.
Thank You ! 🙂
Continue reading and comment on the thread ‘Automation Help for DX Mac Agent Deployment in Intune’. Not a member? Join Here!
Categories: All Archives, ControlUp Edge DX, ControlUp Scripts & Triggers