Can I run a script/task in KACE to join Azure AD?
I am currently just signing in to Windows using an admin account after imaging to join Azure. I'd like to automate that in KACE. I can't find any documentation that explains how that would work. Any help is appreciated! Thanks!
Answers (3)
Top Answer
You can create a provisioning package based on the guide from Microsoft that you can find here
Afterwards you can create a post install task with type "Provisioning Package" where you attach the created ppkg file and run the following command line:
powershell -nologo -executionpolicy bypass -noprofile -Command "Install-ProvisioningPackage 'FILENAME_OF_YOUR_PPKG_FILE.ppkg' -QuietInstall"
I have that in my SDA as well and it worked for me.