shell-intune-samples icon indicating copy to clipboard operation
shell-intune-samples copied to clipboard

SwiftDialog onboardingProcess.zsh script

Open ashorinx13 opened this issue 1 year ago • 3 comments

Hello,

I'm trying this method but seem to be struggling with making this script work, currently running it manually on a test machine and seeing errors "No such file or directory" on moving icons and json file step.

I can see tmp directories on the machine but the permissions to folders denied for the logged on user who is the admin on the machine.

Am I missing anything or should I run the script with specific command?

Thank you

ashorinx13 avatar Jul 31 '24 01:07 ashorinx13

Were you able to get this to work? Did you run it as the signed-in user? Did you see this?

Note: if you're editing on Windows make sure to save the onboardingProcess.zsh as Unix (LF) format otherwise the script will not run and will receive a permission denied which may be found in the log file on the Mac under: /Library/Application Support/Microsoft/IntuneScripts/Swift Dialog/

CKunze-MSFT avatar Jan 07 '25 17:01 CKunze-MSFT

I’m also having issues with the script:

Permission error on the folder /Library/Application Support/Microsoft → I resolved this manually for now, which allows the script to proceed, but this is obviously not ideal.

Permission error related to the JSON file & icons. → It seems like the download was either not executed or didn’t even start. The script immediately moves on to moving the JSON file step.

What am I doing wrong? I’m a beginner with SZH scripting. As a macOS tech, I need to migrate all macOS devices from Jamf to Intune.

Any help would be greatly appreciated.

system: macOS Sequoia 15.3.2

Thanks in advance!

Expo08 avatar Mar 21 '25 14:03 Expo08