Automate installation of Banyan App on end-user devices.
See Banyan documentation for more details.
In the Banyan Command Center, navigate to Settings > App Deployment. Note down your org-specific app deployment parameters for use in the scripts below:
- Invite Code
- Deployment Key
The script will:
- Create an
mdm-config.json
file that specifies app functionality - Download the latest Banyan app version and install it (you can also optionally specify an exact app version)
- Stage the app with the device certificate
- Start the app as the logged-on user
Launch a terminal and run:
sudo ./banyan-macos.sh <INVITE_CODE> <DEPLOYMENT_KEY> <APP_VERSION (optional)>
Launch PowerShell as Administrator and run:
.\banyan-windows.ps1 <INVITE_CODE> <DEPLOYMENT_KEY> <APP_VERSION (optional)>
Launch a terminal and run:
sudo ./banyan-linux.sh <INVITE_CODE> <DEPLOYMENT_KEY> <APP_VERSION (optional)>
NOTE: The Linux script doesn't currently support MDM supplied user Information.
You can also use the scripts to upgrade the version of the Banyan app running on a device. Use the string "upgrade"
for the Invite Code and Deployment Key parameters.
The script will:
- Stop the app if it running
- Download the latest Banyan app version and install it (you can also optionally specify an exact app version)
- Start the app as the logged-on user
Launch a terminal and run:
sudo ./banyan-macos.sh upgrade upgrade <APP_VERSION (optional)>
Launch PowerShell as Administrator and run:
.\banyan-windows.ps1 upgrade upgrade <APP_VERSION (optional)>
Launch a terminal and run:
sudo ./banyan-linux.sh upgrade <APP_VERSION (optional)>
We have pre-configured the main script to be run via Device Managers (such as VMware Workspace ONE, Jamf Pro, Kandji, Microsoft Intune, etc.).
Use the banyan-macos-jamf.sh script, following our Jamf Pro - Zero Touch Installation doc.
Use the banyan-macos-kandji.sh script, following our Kandji- Zero Touch Installation doc.
Use the banyan-windows-intune.ps1 script, following our Intune - Zero Touch Installation doc.
Use our base scripts and customize as needed, following our Workspace ONE UEM - Device Identity & Enhanced TrustScoring doc. You need to set a few additional parameters in the mdm-config.json
file so Banyan’s TrustScoring engine can correlate data from devices running the Banyan Desktop App with the data in Workspace ONE UEM:
mdm_vendor_name
should be set to Airwatchmdm_present
should be truemdm_vendor_udid
should be the DEVICE UDID