# Active Directory account password generation and communication

**URL:** <https://developer.sailpoint.com/discuss/t/active-directory-account-password-generation-and-communication/32474>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security, provisioning\
**Created:** [February 27, 2024, 3:28pm UTC](https://developer.sailpoint.com/discuss/t/active-directory-account-password-generation-and-communication/32474 "2024-02-27T15:28:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arshad](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Arshad](https://developer.sailpoint.com/discuss/u/Arshad)\
**Post date:** [February 27, 2024, 3:28pm UTC](https://developer.sailpoint.com/discuss/t/active-directory-account-password-generation-and-communication/32474/1 "2024-02-27T15:28:21Z")

</div>

What is a most secure way of generating Active Directory account password and communicating it only to the end user/their manager?

I’ve already gone through this document on compass but the requirement is not to go with the approaches : [https://community.sailpoint.com/t5/IdentityNow-Articles/Best-Practices-for-Provisioning-with-Passwords-in-IdentityNow/ta-p/75459](https://community.sailpoint.com/t5/IdentityNow-Articles/Best-Practices-for-Provisioning-with-Passwords-in-IdentityNow/ta-p/75459)

Ideally we don’t want the password to be dynamically generated based on PII information form the identity attributes. Also, we do not want to leverage the random password generator rule on the create account page as well.

I see that this area needs a better approach as majority of the client are using custom solutions outside of ISC/IDN to perform password resets.

If any of the audience here has done a better way of generating and sharing secure passwords in a different way, this would really help.

Thanks in advance,  
Arshad.

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [February 28, 2024, 8:37am UTC](https://developer.sailpoint.com/discuss/t/active-directory-account-password-generation-and-communication/32474/2 "2024-02-28T08:37:46Z")

</div>

Hi @Arshad

> [@Arshad](#):
>
> Ideally we don’t want the password to be dynamically generated based on PII information form the identity attributes. Also, we do not want to leverage the random password generator rule on the create account page as well.

Then how do you want to generate the password ?

After AD account is created, you can make use of Native Rules ( **Account After Create** ) which will trigger a **PowerShell** script which can be used for

1. Generate Password
2. Set Password in AD
3. Email/SMS to manager/user

This is kinda outside SailPoint scope.

Same you can build using a Workflow as well.

Thanks  
Krish

---

<div class="post-metadata">

**Author:** ![kavindar\_sharma](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/kavindar_sharma/32/4766_2.png) [@kavindar\_sharma](https://developer.sailpoint.com/discuss/u/kavindar_sharma)\
**Post date:** [March 11, 2024, 11:42am UTC](https://developer.sailpoint.com/discuss/t/active-directory-account-password-generation-and-communication/32474/3 "2024-03-11T11:42:44Z")

</div>

Hi @KRM7 ,  
This seems to be a great approach, do you have any workflow json which can perform the setting the AD password and change password on next logon flags.

Thanks & Regards,  
Kavindar Sharma

---

<div class="post-metadata">

**Author:** ![KRM7](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krm7/32/2685_2.png) [@KRM7](https://developer.sailpoint.com/discuss/u/KRM7)\
**Post date:** [March 12, 2024, 6:24am UTC](https://developer.sailpoint.com/discuss/t/active-directory-account-password-generation-and-communication/32474/4 "2024-03-12T06:24:23Z")

</div>

I have not build it yet, but it is in my bucket list. I will share once it is ready.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [May 11, 2024, 6:24am UTC](https://developer.sailpoint.com/discuss/t/active-directory-account-password-generation-and-communication/32474/5 "2024-05-11T06:24:45Z")

</div>

Closed on May 11, 2024, 6:24am UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
