Intune: Deploy Citrix Workspace App for macOS Devices

In this article, we will demonstrate two methods to deploy Citrix Workspace App for macOS devices using Intune. The Citrix Workspace app deployment on macOS devices can be done by using a DMG app or a Shell script.

In a previous article, we discussed how to deploy the Citrix Workspace app using Configuration Manager (SCCM). If the macOS devices are enrolled and managed by Intune, you can add the Citrix Workspace app and deploy it remotely to the Mac devices.

Apart from using Microsoft Intune, there are several ways to deploy the Citrix Workspace App on Windows devices which includes SCCM, Group Policy, PowerShell scripts, etc. The simplest way to deploy the Citrix Workspace app for macOS devices is to use a shell script. If that doesn’t work, use a DMG app and install it with Intune.

As previously stated, you can deploy Citrix Workspace App for macOS with Intune using either a shell script or a .DMG app. There is no .PKG app for the Citrix Workspace app. When it comes to deployment ease, using a Shell Script to deploy Citrix Workspace on macOS is far easier than using a DMG app. In this article, we will cover both methods, and the choice of deployment will be yours.


Prerequisites


The following prerequisites are required to run shell scripts on macOS devices using Intune:


  1. The macOS devices must be running version 11.0 or later.
  2. You must enroll macOS devices in Intune before you run shell scripts.
  3. The macOS devices must be connected directly to the Internet. A connection through a proxy is not supported.
  4. You must have a script ready to apply it to macOS devices.
  5. Shell scripts begin with #! and must be in a valid location, such as #!/bin/sh or #!/usr/bin/env zsh.
  6. Command-line interpreters for the applicable shells are installed.

https://www.visualchemy.gallery/forum/viewtopic.php?id=1797749

https://www.visualchemy.gallery/forum/viewtopic.php?id=1800854

http://forum.sportowezabawy.pl/viewtopic.php?t=37532

http://forum.sportowezabawy.pl/viewtopic.php?t=44019

http://forum.sportowezabawy.pl/viewtopic.php?t=2150

http://biowong.freehostia.com/phpbb2/viewtopic.php?p=1521686

http://biowong.freehostia.com/phpbb2/viewtopic.php?p=1066524

http://biowong.freehostia.com/phpbb2/viewtopic.php?p=1583334

http://www.izolacniskla.cz/forum-detail.php?dt_id=14340

https://www.wolala.love/thread-1180-1-1.html

https://wolala.love/thread-9198-1-1.html

https://www.wolala.love/thread-3750-1-1.html

http://mystrotain.free.fr/forum/showthread.php?tid=51440

http://www.bestpop.co.kr/bbs/board.php?bo_table=free&wr_id=22236

http://www.alltab.co.kr/bbs/board.php?bo_table=free&wr_id=32856

http://www.hondaikmciledug.co.id/HRIS/showthread.php?tid=2467


Method 1: Install Citrix Workspace App on MacOS devices using Intune Shell Script


In this method, we will use an Intune shell script provided by Microsoft to install the Citrix Workspace App on macOS devices. Before using this method, we recommend reading the article on how to use shell scripts in Intune for macOS. The article explains how to import a shell script, configure the script settings, and assign them to macOS devices.


Download installCitrixWorkspace.sh Script for macOS


Browse to the Intune Samples for MacOS Github page and download the Citrix Workspace shell script. Save the installer, installCitrixWorkspace.sh, on your device. The Citrix Workspace App script downloads and uncompresses the Citrix Desktop files before installing them in the /Applications directory.

As per our observations, Microsoft frequently updates the script, so make sure to download the most recent version of installCitrixWorkspace.sh before deploying it. Do not tweak this script unless you know what you are doing.


Citrix Workspace app Install Locations on MacOS


On macOS devices, the Citrix Workspace app is installed in the Applications directory and the installation paths are as follows:


  • Citrix Workspace App Full install: /Applications/Citrix\ Workspace.app/
  • Citrix Workspace app for Mac executable: /Applications/Citrix\ Workspace.app/Contents/MacOS/Citrix\ Workspace


Import the installCitrixWorkspace.sh script into Intune


Use the following steps to import the installCitrixWorkspace.sh script for macOS into Intune:


  • Sign in to the Microsoft Intune admin center.
  • Go to Devices > MacOS > Shell Scripts.
  • Select the +Add button to import the installCitrixWorkspace.sh script.


On the Basics tab of the Add Script page, specify the following details:


https://tasarhoa.com/hoa/viewtopic.php?t=59217

http://eldoradofus.free.fr/forum/viewtopic.php?pid=10630

http://eldoradofus.free.fr/forum/viewtopic.php?pid=65500

https://styggast.se/viewtopic.php?t=797

https://styggast.se/viewtopic.php?t=201

https://styggast.se/viewtopic.php?t=778

http://heibon.free.fr/phpBB/phpBB2/viewtopic.php?t=544&view=next

http://heibon.free.fr/phpBB/phpBB2/viewtopic.php?t=507&view=previous

http://heibon.free.fr/phpBB/phpBB2/viewtopic.php?t=547&view=next

http://forums.fanntic.com/viewtopic.php?t=62486

http://forums.fanntic.com/viewtopic.php?t=62385

http://forums.fanntic.com/viewtopic.php?t=57740

https://demo.projecthades.org/showthread.php?tid=265


Name: Citrix Workspace App for macOS

Description: Installs Citrix Workspace App on MacOS devices


Click Next to continue.

On the Script Settings tab, click on the folder icon and upload the instalICitrixWorkspace.sh script into Intune. Scroll down if you want to configure the script settings; otherwise, click Next.

Here you can configure Citrix Workspace App script settings for macOS and define a few settings:


  • 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


Comments

Popular posts from this blog

How to Post to Facebook in Multiple Languages?

Disable Pause Updates using Intune | Group Policy (GPO)

How to Download, Install software for cloud-based Products ?