cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FABIAN50
Frequent Visitor

Password generator

Hello friends,
Has anyone any idea how to create an App that generates passwords? That is, let me choose length, if it contains numbers, letters, special characters.

Greetings

2 ACCEPTED SOLUTIONS

Accepted Solutions
Eloy
Advocate II
Advocate II

That can be done using a PowerApp connected to a MS Flow. Then you can use the flow to call many of the available free HTTP APIs out there. The one I have used before is : 

Makemeapassword

 

Have the PowerApp collect the necessary items (see the API) I beleive there are only like 2 or 3 items, call the flow, the flow can return a text with the new password.

View solution in original post

Eloy
Advocate II
Advocate II

I just called the API using Postman, see the generated password in the response. Remeber that you can control how secure and how many characters, etc . Hope this helps

passwords.PNG

View solution in original post

7 REPLIES 7
v-yuxima-msft
Community Support
Community Support

Hi @FABIAN50 ,

 

Do you want to set password by PowerApp?

I think Textinput control can achiveve this.

Insert one textinput control and then set its Mode to "Password".

20190314passwordgenerate.PNG

More information:

control-text-input#prompt-for-a-password

 

Hope this could be helpful.

 

Best Regards.

Yumia

 

RusselThomas
Microsoft
Microsoft

Hi @FABIAN50 ,

 

You could build it - using a combination of lookup tables and the Rand() function.


With something like TableA-Z, Table0-9, TableSpecialChar, and a minLength variable you could use Rand() to lookup an initial index to randomly select a table, then have it lookup a random index on that table to randomly select a value from that table and iterate the process minLength times to get your password.....but just describing it sounds painful Man Wink 

 

Perhaps easier to create a connector to something like https://www.passwordrandom.com/api and use that instead?  Depends on how paranoid you are about security I guess.

 

Hope this helps,


RT

 

Thank you.

The idea is to be able to generate random passwords so that the user can use them to authenticate in other systems and not have to think about robust passwords. Many users have difficulty in creating strong passwords.

Thank you Russel,

For ease it sounds more interesting about the connector. Could you give me more details or an idea of ​​how to do it?

Eloy
Advocate II
Advocate II

That can be done using a PowerApp connected to a MS Flow. Then you can use the flow to call many of the available free HTTP APIs out there. The one I have used before is : 

Makemeapassword

 

Have the PowerApp collect the necessary items (see the API) I beleive there are only like 2 or 3 items, call the flow, the flow can return a text with the new password.

View solution in original post

Eloy
Advocate II
Advocate II

I just called the API using Postman, see the generated password in the response. Remeber that you can control how secure and how many characters, etc . Hope this helps

passwords.PNG

View solution in original post

Hi @Eloy @FABIAN50 @RusselThomas ,

 

Thanks for your posts and suggestions.

 

Best Regards.

Yumia

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,871)