Hey everyone. We are trying to automate a process where we demote local user accounts from Administrator to Standard using a custom script, with the ultimate goal of letting users request temporary admin privileges later via the Self Service app.
The demotion script itself works perfectly. However, I noticed that Hexnode does not immediately reflect the updated local account role in the console. Until the Local Accounts inventory updates, Self Service still thinks the user is an admin and blocks the elevation request.
I tried adding a Sync Local Accounts action right after the script within the same automation sequence, but the portal update still takes over 15 minutes to appear in some cases. Is there a better way to force the Local Accounts sync right after the script actually changes the account type so the portal updates instantly?