Script never finishes running
SMA version 12.0.149. I have a powershell script to look for an AD user group and add it to the local users group. Running the script manually on a device works properly and only takes a few seconds. Running it from Kace with Run Now to test it on the same device (after removing the local group), it never finishes running. It creates the script folder under C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots, but the script doesn't show up in the folder. I've double checked that the script is set up in SMA like several other PS scripts that run properly (with one caveat below). I've never seen this behavior before.
The one difference with this script is that it uses a credential instead of local system because it has to connect to AD. Even if that was the problem, I would expect the script to show up in the dependency folder and I would expect for it to time out if there was some other problem with the AD connection (eg, a bad password for the credential).
The run status has even survived the appliance update from 11 to 12 with a reboot.
Any ideas on what to do? If not, I'll open a ticket with Quest.