cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: Generate random passwords

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

Highlighted
Advocate I
Advocate I

Re: Generate random passwords

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
Highlighted
Community Support
Community Support

Re: Generate random passwords

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

Highlighted
Advocate I
Advocate I

Re: Generate random passwords

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
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (6,072)