Deploy Citrix Workspace App on macOS using Intune

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:

  1. Using a Shell script from Github shell-intune-samples
  2. Using a .DMG file for Citrix Workspace app

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
Deploy Citrix Workspace app on macOS using a Shell script
Deploy Citrix Workspace app on macOS using a Shell script

Basics tab

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

Script settings

  • 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
Deploy Citrix Workspace app on macOS using a Shell script
Deploy Citrix Workspace app on macOS using a Shell script

Assignments

Click on Add groups to select an Azure AD group containing devices to deploy Citrix on those devices.

Assign Citrix Workspace app to macOS devices from Intune
Assign Citrix Workspace app to macOS devices from Intune

Review + add

Review the configuration summary and click on the Add button to add the script and start the deployment process.

End-User Experience

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:

Citrix Workspace App Installation notifications
Citrix Workspace App Installation notifications

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
Confirm Citrix app Installation under Finder > Applications
Confirm Citrix app Installation under Finder > 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.

Download Citrix Workspace app .DMG file
Download Citrix Workspace app .DMG file

2. Create deployment for Citrix Workspace app on Intune

App Information tab

Click Select app package file and browse to the downloaded Citrix workspace app .DMG file. Click on OK to proceed.

Add Citrix Workspace app .DMG file on Intune
Add Citrix Workspace app .DMG file on Intune
  • 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.

Deploy Citrix Workspace App .DMG file using Intune
Deploy Citrix Workspace App .DMG file using Intune

Requirements

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.

Provide minimum operating System condition for deployment
Provide minimum operating System condition for deployment

Detection rules

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 Intune

CFBundleIdentifier 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
CFBundleIdentifier and CFBundleShortVersionString for Citrix Workspace App
CFBundleIdentifier and CFBundleShortVersionString for Citrix Workspace App
Configure detection rules for Citrix app deployment on Intune admin center
Configure detection rules for Citrix app deployment on Intune admin center

Assignments

Click on Add group and select an Azure AD group containing macOS devices to deploy Citrix Workspace app.

Assign Citrix app .DMG based deployment to macOS devices
Assign Citrix app .DMG based deployment to macOS devices

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.

End-user Experience

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.

Leave a Comment