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

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

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

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,577)