microsoft / shell-intune-samples

Sample shell scripts for Intune admins.
MIT License
637 stars 213 forks source link

Issue when installing Adobe Creative Cloud Package through Intune with Script #77

Open diabeetus01 opened 1 year ago

diabeetus01 commented 1 year ago

Hello, I have been having this trouble for some time trying to deploy a simple Adobe Creative Cloud Installer .pkg file for macOS for the district I work for via Intune Scripts, but keep running into issues.

Originally, I wrote my own script, and it works perfectly fine when running through Terminal on a test machine.

Then, as soon as I uploaded it to run through Intune, I kept getting an error after a successful install saying "Unable to reach Adobe servers" when launching the application. This led me here, where I customized this installIntuneApp4.0.zsh script in the examples, thinking there was something I wasn't accounting for in my own. After testing and confirming my version of this script worked through Terminal without issues, I uploaded it to Intune and waited for it to run on my machine, only to get the exact same issue when launching the Creative Cloud application.

Here is a screenshot of the error:

Screenshot 2022-11-29 at 10 04 51 AM

I am posting to see if anyone else has had a similar issue, and if so how they got around this. It doesn't make sense to me that the exact same script ran as root from Terminal suddenly doesn't work when it's being ran as System in the background by Intune. I have looked through the installer Log files and the Adobe Log files in macOS, and through the Microsoft Intune Logs on the Mac as well, but no errors are being reported throughout the installation.

This is the only program I have had any issues with deploying via Shell Scripts to macOS, as my other scripts I've written to install Google Chrome, Adobe Reader & Acrobat, Company Portal, Google Drive, and SentinelOne all work without any issue.