How to Disable the AD Account automatically from ServiceNow, once we have a new Task for ac. disable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
How to Disable the AD Account automatically from ServiceNow, once we have a new SC Task for account disable in Servicenow ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago - last edited an hour ago
Hi @Anuj30 ,
To disable an Active Directory (AD) account automatically when a Service Catalog (SC) Task for account disable is created, you can use ServiceNow’s capabilities:
Configure a Flow in Flow Designer (or a Workflow) that triggers on the creation of a “Disable Account” SCTASK.
Use the Disable AD User Account activity to deactivate the AD account by passing the required user attributes (e.g., sAMAccountName, email, or DN).
Ensure the MID Server has proper AD permissions and credentials stored securely in ServiceNow.
Optionally extend the Flow to log results, send notifications, and handle error cases.
This approach is commonly used in HR offboarding automation to ensure timely and compliant account disablement.
🔗References:
Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hello @Anuj30
Use Flow Designer to create a Flow that triggers upon the completion (or creation/update to a specific state) of the SC Task. Within the Flow, leverage the IntegrationHub Microsoft Active Directory Spoke's "Disable User" action to connect to your AD environment via a MID Server and automatically disable the specified AD account.
Some reference which will be helpful.
https://www.servicenow.com/docs/csh?topicname=ms-ad-v2-spoke.html&version=latest
https://noderegister.service-now.com/kb?id=kb_article_view&sysparm_article=KB1284583
If my response has helped you, hit the helpful button, and if your concern is solved, do mark my response as correct.
Thanks & Regards
Viraj Hudlikar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10m ago
Hi Viraj,
We do not have Azure AD Spoke subscription, we want to do it by custom integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Anuj30 You can do this with the help of a Flow. ServiceNow provides an Active Directory spoke in Flow Designer that can be used to perform the task.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************