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.

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

Hi @Eloy @FABIAN50 @RusselThomas ,

 

Thanks for your posts and suggestions.

 

Best Regards.

Yumia

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,319)