Generate random strings used for passwords
This time, I will explain how to generate random strings that are effective for generating passwords.
How to create a scenario
Implemented with copy and paste
Copy the following code and paste it on the edit screen of Power Automate Desktop to add the target action.
Text.Random UseUpperCaseLetters: True UseLowerCaseLetters: True UseDigits: True UseSymbols: True MinimumLength: 6 MaximumLength: 10 RandomText=> RandomText
Operate and implement Power Automate Desktop
From "Search Action", enter "Random Text generation" and set the property as follows.
パラメータ名 値 Use capital letters (A-Z) Check to allow capital letters Use lowercase (a-z) Check to allow lowercase letters Use the number (0-9) Check to allow numbers Use a symbol Check to allow symbols Minimum Minimum number of character strings to be generated Maximum Maximum number of characters in the string to be generated Save and execute creates a random string that changes each time you run.
Set complex rules
If you need to decide the rules in the number of digits, you need to create multiple random textbooks and combine them.
This time, as an example, the first two digits will always generate a numerical value, and the remaining six digits will be generated.
Implemented with copy and paste
Copy the following code and paste it on the edit screen of Power Automate Desktop to add the target action.
Text.Random UseUpperCaseLetters: False UseLowerCaseLetters: False UseDigits: True UseSymbols: False MinimumLength: 2 MaximumLength: 2 RandomText=> RandomText1
Text.Random UseUpperCaseLetters: True UseLowerCaseLetters: True UseDigits: False UseSymbols: False MinimumLength: 6 MaximumLength: 6 RandomText=> RandomText2
Text.JoinText.Join List: [RandomText1, RandomText2] Result=> JoinedText
Operate and implement Power Automate Desktop
Under the method mentioned above, it generates two random strings (RandomText1, Randomtext2) from "Random Text generation".
Search for "Action Search" as "Text binding" and set the property as follows.
Parameter name value Specify a binding list %[RandomText1, RandomText2]% Listing items separated none Running random strings according to the rules are generated.