How to set Initial passwords for Users using script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
How about setting password via script? We've been using bg script for this, but script cannot set initial password for them. Error is Not Authorized-
user.user_password.setDisplayValue('examplePassword')Should I change something in properties or ACLS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Siris This should work in BG if you are running it with admin user. If it is not working then you might have some additional ACLS on your instance.
Though this is a security breach and should not be done. This can lead to major security breach.
Please mark the answer correct/helpful accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
it should work
where are you using this? share screenshots
any error?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Siris ,
Check below link I think this will help you
Please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak