How are we setting password for the user which got created in AD server from ServiceNow using FlowD?

Prathamesh Chav
Tera Contributor

Hi Team,

 

I am creating user in AD server, but how are we creating password for that user in AD server?

can we map ServiceNow Password field and AD server password field is that possible? without any extra charges?

Currently we are trying to Integrate this using flow designer with available spoke but password part is confusing.

 

I am referring to this link for the user creation :- How to use the Create User Action for the AD Spoke - Support and Troubleshooting

 

 

2 ACCEPTED SOLUTIONS

Mahathi
Mega Sage
Mega Sage

Hi @Prathamesh Chav ,

The custom action will help you to set password,Check this out if you are using the Microsoft AD spoke.

https://www.servicenow.com/community/now-platform-forum/how-to-set-the-password-on-create-a-user-act...


https://noderegister.service-now.com/kb?id=kb_article_view&sysparm_article=KB0852576.

Hope this clarifies.

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards,
Mahathi




View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@Prathamesh Chav 

whenever you are creating user in AD server you might be having some random password which you are using for setting in AD server, use same password encrypt it and set it in sys_user record

what script did you try so far or flow you tried so far and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Mahathi
Mega Sage
Mega Sage

Hi @Prathamesh Chav ,

You can use a custom flow action to set password. Attaching a ref link 

https://www.servicenow.com/community/itsm-forum/how-to-set-1-way-encrypted-password-on-flow-designer...

 https://www.youtube.com/watch?v=0binVTdjdWw 

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards,
Mahathi


Custom Actions in Flow Designer in ServiceNow are a way to extend the capabilities of a flow by allowing developers to create custom logic using JavaScript. Custom Actions can be created by developers to perform specific tasks or actions within a flow that are not available through the ...

So I am creating user in AD server using flow designer and with the output of script mentioned in the link same password will get created for the same user in AD server too?

Mahathi
Mega Sage
Mega Sage

Hi @Prathamesh Chav ,

The custom action will help you to set password,Check this out if you are using the Microsoft AD spoke.

https://www.servicenow.com/community/now-platform-forum/how-to-set-the-password-on-create-a-user-act...


https://noderegister.service-now.com/kb?id=kb_article_view&sysparm_article=KB0852576.

Hope this clarifies.

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards,
Mahathi




Ankur Bawiskar
Tera Patron
Tera Patron

@Prathamesh Chav 

whenever you are creating user in AD server you might be having some random password which you are using for setting in AD server, use same password encrypt it and set it in sys_user record

what script did you try so far or flow you tried so far and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader