In this article, we will explore how an admin can create new users and send their credentials such as username and password which will enable them to log in to the Power Pages site.

Prerequisites

  1. Configure site settings for WebAPI and table

  2. Create relationship with record table and contact table via lookup column

Screenshot (87)
  1. Create contact relationship with Record table from Table Permissions

Screenshot (88)

Steps to create flow that Auto Generate Password and Send User Credentials

  1. Go to make.powerautomate.com then create new flow and select "Automated cloud flow"

Screenshot (89)
  1. Add this trigger of Dataverse that triggers when record is created in Contacts table

Screenshot (90)
  1. Initialize variables for username and password

Screenshot (91)
  1. Add these compose for generating characters from email, random numbers & characters

Screenshot (92)
  1. Set username variable to these - take first 2 characters from first name & random numbers

Screenshot (93)
  1. Add do until loop action for generating 8 characters long password

Screenshot (94)
  1. Add Update row action for updating password and user name to New Password Input and User name respectively.

Screenshot (95)Screenshot (96)Screenshot (97)Screenshot (98)

Display their data to newly created user

Create record in Contacts table via Power Pages Management

Screenshot (99)Screenshot - 2026-02-02T165214.444

Demo

Screenshot - 2026-02-02T171233.374Screenshot - 2026-02-02T171159.393Screenshot - 2026-02-02T171122.364Screenshot - 2026-02-02T170034.003Screenshot - 2026-02-02T171336.506Screenshot - 2026-02-02T171450.572

Conclusion

In this article, we’ve walked through the process of automatically generating passwords for new users and enabling them to log in to a Power Pages site using Power Automate. By integrating a special column like New Password Input in the Contact table, we can securely store user credentials without exposing sensitive data. Through this process, users receive their credentials via email, and their password is securely hashed and stored in the system.

This approach not only simplifies the user onboarding process but also make sure that passwords are handled securely, providing both convenience and protection for your users.