cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Generate random passwords

Hi,

 

We have build a flow to automate the onboarding proccess using the azure actions. In the create user action we can hardcode a password but is there a way to have a random password generated?

 

Many thanks in advance for your support!

 

Kind regards,

Tom

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support
Community Support

Hi @Anonymous,

 

I afraid that the only way should be take a try with the rand() expression to gets a random integer from the specified range as below:

Capture.PNG

 

The expression in the Password column as below:

rand(10000000, 99999999)

 

Best regards,

Alice

View solution in original post

Advocate I
Advocate I

I do this using a String variable with the Expression "substring(guid(),0,8)" but that may not be complex enough for some password requirements.  I suppose you could use "toUpper()" for the first few characters of the string and leave the last few lowercase to add complexity.

View solution in original post

2 REPLIES 2
Community Support
Community Support

Hi @Anonymous,

 

I afraid that the only way should be take a try with the rand() expression to gets a random integer from the specified range as below:

Capture.PNG

 

The expression in the Password column as below:

rand(10000000, 99999999)

 

Best regards,

Alice

View solution in original post

Advocate I
Advocate I

I do this using a String variable with the Expression "substring(guid(),0,8)" but that may not be complex enough for some password requirements.  I suppose you could use "toUpper()" for the first few characters of the string and leave the last few lowercase to add complexity.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (9,672)