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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,742)