Hi, How to do Uipath automation to disable inactive active directory(AD) users?
@A_Learner
Try below steps
-
Install “Uipath.ActiveDirectoryDomainServices.Activities” Package.
-
Use “Network User Account” this will be used to log on to Active Directory (Username and Password).
-
Use “Active Directory Server” account (Active Directory Server Details)
-
Use “Active Directory Scope” Activity(Here you need to give Username and Password and Active Directory Server Details)
-
All Active Directory Domain Services activities should be under “Active Directory Scope” Activity.
-
Use “Set User Status” Activity, You can set user status as Disabled,Enable, Unlock.
-
Use other Active Directory Domain Services activities like “Get Object Distinguished Name”, “Get Object Properties” as per your need.
Thank you so much.
@A_Learner
Try at your end if its working as expected, Please mark this as solution.
Hi Karuna,
Do I need to use any Connect activity prior to using Active Directory scope? Can I directly call Active directory scope with logon credentials and server ip address and port?
Thanks,
@A_Learner
Yes you can directly call “Active directory scope” with login credentials and AD Server details.
Active Directory Scope → Connects to Active Directory and provides a scope for other active directory activities.
Thank you.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.