If you’ve been watching the Intune Whats New page closely, you may have noticed you can now use Intune to push down applications to MacOS devices. This is a quick post on how to achieve that – We’ll use Skype for Business as the example app.
Wrapping a.pkg App (Citrix Receiver) The process of wrapping a.pkg file is exactly the same as in the example above. However, here we have the situation, that the specified.dmg has two executables in it. CMAppUtil will pause the wrapping and ask, you as seen above, to choose the correct installer. In this example 1. At Section 4 download InstallMacOSX.dmg. When that has downloaded open it and you will get InstallMacOSX.pkg. Double-click on that and an installation window will open, this will convert InstallMacOSX.pkg to the Install OS X El Capitan.app which will be in your Application folder.
The IT admin process is pretty straight forward but I must admit I tripped on a couple of syntax issues the first time I did this so I’ll blog it here with some syntax to save you some time. Your welcome 😊
Step 1 – Get the app package (.pkg file)
First you need to acquire the app as a .pkg file.
(Conversion of other formats e.g. “.DMG” to “.PKG” is not supported.)
On a Mac, Logon to http://portal.office.com as a user licensed for Office 365 Pro Plus and download the Skype for Business .pkg file.
Step 2 – Convert it to a format that Intune understands (.intunemac)
On a Mac, download the Intune app wrapping tool from Github ( https://github.com/msintuneappsdk/intune-app-wrapping-tool-mac)
Once you have it downloaded, Open a Terminal session and navigate to the directory where the IntuneAppUtil tool was placed. Run this syntax to convert from .pkg to .intuneMac format
(-c is the input file and -o is the output directory)
You now have an .intunemac file you can distribute with Intune
Step 3 – Upload to intune
In the Intune console, go to Mobile Apps> Apps>Add> Line-of-business App
Choose the .intunemac file to upload.
In the App Information blade, you can configure some metadata and add an icon.
Click Ok, and Add and wait for the app to be uploaded.
Step 4 – Assign it
Select the Skype for Business app, Assignments, then assign it to a User and/or Device group as a Required install.
Converting Pkg File To Dmg
(Note: At the time of writing this post, Available install isnt an option)
Don’t forget to click save.
On Intune enrolled Mac’s, Skype for Business will be installed seamlessly and be ready for use.
Tip: If you want to watch the progress of the install, open the Console utility on the Mac and filter for the Bundle ID. (For Skype this is com.microsoft.package.Microsoft_autoUpdate.app)
- Use filter for App keywords: “Skype”
Filter on the Thread ID for app download and installation
Convert Dmg To Pkg Intune
Other handy filters for troubleshooting are mdmclient and Company Portal