In my recent blog post, I discussed about how to deploy Citrix Workspace app on Windows devices using Intune. Today, we will explore different ways to Install the Citrix Workspace app on macOS devices using Intune.
For users to connect to Citrix-based applications and VDI desktops, Citrix Workspace application (Previously Citrix receiver) is required.
There are two ways to deploy Citrix Workspace app using Intune:
- Using a Shell script from Github shell-intune-samples
- Using a .DMG file for Citrix Workspace app
Table of Contents
Method 1 – Deploy Citrix Workspace App using a Shell script
We will need to go through a few steps to deploying the Citrix Workspace app on macOS using a shell script. Let’s check the steps:
1. Download Shell script from GitHub
We will be using a Microsoft-provided shell script to deploy Citrix workspace app. You can Download the script from the link CitrixWorkspace shell script. You will find a file on this link called installICitrixWorkspace.sh. Download this file on your computer.
2. Add installICitrixWorkspace.sh script In Intune
Please follow below steps to add installICitrixWorkspace.sh script file on Intune admin center:
- Sign in to the Microsoft Intune admin center
- Go to Devices > MacOS > Shell Scripts.
- Select the +Add button to add installCitrixWorkspace.sh script
Provide a unique Name and Description for this script deployment.
- Name: Citrix Workspace App deployment shell script
- Description: This deployment script will Install Citrix Workspace app on macOS devices
- Upload script: Browse to installCitrixWorkspace.sh script by clicking on folder Icon.
- Run script as signed-in user: No
- Hide script notifications on devices: Not configured
- Script frequency: Not configured
- Number of times to retry if script fails: 3
Click on Add groups to select an Azure AD group containing devices to deploy Citrix on those devices.
Review + add
Review the configuration summary and click on the Add button to add the script and start the deployment process.
Surprisingly, it was the quickest deployment of an app on macOS after I rebooted it once. I could find Citrix notifications appear on the right-hand side. However, If you have any trouble, then you can refer to two guides below:
To confirm if the application has been installed successfully and also you can launch the app, please follow below steps:
- Go to Finder > Go > Applications
- Under Applications, you will find Citrix Workspace app Icon which confirms that the application is installed successfully.
- I have confirmed that the Citrix Workspace app version installed on my device is the latest version of the app available currently. This shell script Installed Citrix version 23.09.0.4 (2309) and when checked on the Citrix website, the latest version available to download is also 23.09.0.4 (2309).
Method 2 – Deploy Citrix Workspace App using .DMG file
Citrix Workspace app for macOS now natively supports Macs with Apple silicon (M1 and M2 Series) by way of a universal architecture.
With the universal architecture, the Citrix Workspace app runs natively on both Apple silicon and Intel-based Mac computers without Rosetta emulation. For more information, you can refer to the link here.
I have written a step-by-step guide on How to deploy DMG apps on macOS devices using Intune. You can also follow below steps for this deployment:
1. Download Citrix Workspace app .DMG file
First Download Citrix app on your computer. I will be using Apple Silicon Universal Architecture type and downloading it by clicking on Download file button.
2. Create deployment for Citrix Workspace app on Intune
- Sign in to the Microsoft Intune admin center
- Select Apps > macOS > + Add
- Select App type as macOS app (DMG)
App Information tab
Click Select app package file and browse to the downloaded Citrix workspace app .DMG file. Click on OK to proceed.
- Name: Provide a display name of the app. For example: Citrix Workspace app
- Description: Provide a useful description of the app for end users.
- Publisher: Citrix.
It is recommended to fill in rest of the optional Information as well, which can be used as Application documentation.
On the Requirements tab, you can select minimum operating system requirements as a condition for deployment. I will be going for the lowest one to cover all macOS device OS types.
For detection rules, Keep Ignore app version to Yes and Provide App bundle ID (CFBundleIdentifier) and App version Information (CFBundleShortVersionString) for Citrix Workspace app.
To find out CFBundleIdentifier and CFBundleShortVersionString Information for Citrix Workspace app, I have provided the commands below.
You can find much more details and also multiple ways about how to find CFBundleIdentifier and CFBundleShortVersionString information in the blog post: Deploy DMG apps using IntuneCFBundleIdentifier and CFBundleShortVersionString
Install same Citrix Workspace App you are going to deploy via Intune on a test mac device and run below commands to find CFBundleIdentifier and CFBundleShortVersionString Info.
defaults read /Applications/Citrix\ Workspace.app/Contents/Info CFBundleIdentifier
defaults read /Applications/Citrix\ Workspace.app/Contents/Info CFBundleShortVersionString
Click on Add group and select an Azure AD group containing macOS devices to deploy Citrix Workspace app.
Review + create
Review the deployment summary and click on Create to start Citrix Workspace app deployment process.
Monitoring Citrix Workspace app deployment
You can monitor the app deployment from Intune admin center. Go to Apps > macOS > click on the application > Overview page will show the status of Installation.
In case of any issues or deployment failures, you can click on Device install status or User install status to know more details about the error description and error code.
After the deployment is completed successfully, Go to Finder > Go > Applications and find Citrix Workspace app Icon. If you do not see any Icon then you may have to wait a bit longer as the device check-in process may not have been completed.
macOS Intune app deployment troubleshooting
If you face any issues with application deployment, you can refer to IntuneMDMDaemon*.log and IntuneMDMAgent*.log files. To find out more information about how to locate these files on a macOS device, you can refer to my other blog post: How To Collect Intune Logs From MacOS Device.