How Can Desktop Support Use My Password Reset Script Without Domain Admin Rights?

0
18
Asked By WildCard99 On

Hey everyone! I've created a PowerShell script that connects to a designated domain controller, resets a user's password, replicates that new password across other domain controllers, and syncs everything with Azure AD. This has been super useful since our users often forget their passwords or get locked out. Now, I'm trying to figure out how to give this script to our Desktop Support team. While they can handle password resets in Active Directory, they lack domain admin rights for initiating the replication and delta sync processes. Any suggestions on how to make this work?

5 Answers

Answered By NetworkNerd77 On

You could add your Desktop Support folks to the "ADSyncOperators" local group on the Azure AD Connect machine. This way, they can perform delta syncs without needing domain admin rights. Just be careful with logging and access controls to avoid any misuse!

CautiousCaller -

That’s a smart move! Plus, putting in some logging will help you track their actions and prevent abuse.

Answered By CloudyTechie On

Instead of relying on scripts, implementing Entra's self-service password reset feature and reviewing your account lockout policy could be much more efficient for your users and your support team. Just make sure to enforce strong password rules to minimize lockouts.

Answered By PowerShellPro On

If you’re set on using a script, maybe look into Constrained Endpoints or Just Enough Administration (JEA) to restrict what Desktop Support can do. This keeps the security tight while allowing them enough access.

SecuritySavant -

Absolutely! JEA could be a sleek solution for limited access without compromising your security.

Answered By TechieGal84 On

You might not need to run a script for this. Password changes already go to the PDCe right away, so a full domain replication isn’t necessary. Plus, have you thought about enabling self-service password resets (SSPR)? It can really cut down on support tickets!

UserFriendly42 -

Great point! SSPR allows users to manage their passwords without needing extra help, plus it’s a modern approach.

Answered By ScripterSam95 On

If you want to keep using your script, consider simplifying it. Maybe have Desktop Support just reset the password and tell users to wait a bit instead of overcomplicating with syncs. Also, check if domain admin is really needed for sync tasks; it might just be an assumption.

HelpdeskHero -

So true! The focus should be on making it easier for support without needing full admin rights for a simple task.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.