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
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (2,307)