- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2025 05:02 AM
Hi @Ambuj Tripathi ,
can you please help me on the step by step process to implement an integration b/w ServiceNow and Azure AD for password reset of a user using ServiceNow virtual agent.
I have a virtual agent using that an user will submit a INC for password reset and it should reset the user's password in AD and trigger an email to user with new password.
Can you please guide me on this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2025 05:41 AM
Hello @Dinesh90 ,
Just wanted to check in to see if my earlier response helped you out or if you're still facing any issues. If your query is resolved, it would be great if you could mark my reply as helpful and accept it as the solution — that way it can also benefit others who come across the thread later.
Let me know if you need anything else!
Best regards,
Aniket Chavan
🏆 ServiceNow MVP 2025 | 🌟 ServiceNow Rising Star 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 07:38 PM
seems ok to me, how are you passing the new password to flow action?
Some issue on that side only how it's handled.
Did you check with Microsoft team?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 10:40 PM
@Ankur Bawiskar @Aniket Chavan :
we don't have a ENTRA team for this, we are doing kind of POC for demo and this is our teams' ENTRA account.
It's resetting the password in ENTRA but not able to login with neither a new password nor a old password after API hit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 10:52 PM
@Dinesh90 Ohhkay, and what kind of script did you use to set the new password? I mean, is there anything else included along with the return statement? Right now, I can just see the "return" variable, but where did you declare that variable before returning it?
Also, I’m not completely sure, but maybe the issue is happening because you’ve checked the Force change password box. So first, try setting the new password value properly by assigning it to a variable, and then return that variable. Also, try unchecking the Force change password option for now and test the execution again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 11:43 PM
@Aniket Chavan : password it is setting it correctly in the action logs, also tried force password = false but no luck..
it is setting the password in AD but not able to login with a new password..
not sure if there is anything with the encryption ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2025 11:55 PM
@Dinesh90 you're trying to login with SSO right? or anything else?