web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Custom Registration Fo...
Power Pages
Unanswered

Custom Registration For PowerPages Site

(0) ShareShare
ReportReport
Posted on by 78

Hi Everyone,
I'm facing a challenge with a custom registration page I created for my Power Pages site. The page includes an HTML form that collects additional user details during registration. I am storing the entered password in the out-of-the-box 'Password' field of the Contact entity, which is the same field Microsoft uses for authentication when a user registers through the standard process.

Key Points to Note:

  • I'm utilizing the default Microsoft login functionality but have implemented a custom sign-up registration page.
  • Microsoft applies a specific hashing algorithm to encrypt passwords when users register via their standard methods. This hashed password is then stored in the Contact entity and later decrypted during login.

The Challenge:
I need to ensure that the passwords captured through my custom registration form are hashed like Microsoft does, so users can log in seamlessly using the default login mechanism.

What I Have Tried:
I attempted to replicate the hashing process using the MD4 + Salt + PBKDF2 + HMAC-SHA256 approach through a plugin, but the generated hash differs from Microsoft's, and the login was unsuccessful.

I have also attached an image comparing the differences between the password hash generated by my process and the one Microsoft creates.

Seeking Advice On:

  • Whether the hashing procedure I'm using (MD4 + Salt + PBKDF2 + HMAC-SHA256) can work in any way to achieve the required encryption.
  • Alternative approaches or methods to correctly hash the password to match Microsoft’s standards.
  • Any APIs, libraries, or backend processes that can help achieve the correct encryption to maintain compatibility with Microsoft's authentication process.

Any insights or suggestions would be greatly appreciated.

Thanks in advance!

 

 

Categories:
I have the same question (0)
  • Suggested answer
    Fubar Profile Picture
    8,329 Super User 2025 Season 2 on at
    Generally I do not recommend trying to create alternate registration pages, you can always force the user to fill the the Profile page before doing anything else on your site. 
    For local login there is a field on the Contact record that (if everything else was installed correctly and is working correctly) that should automatically hash, store it, and clear the input field called "New Password Input". 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 66

#2
Fubar Profile Picture

Fubar 47 Super User 2025 Season 2

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 33 Super User 2025 Season 2

Last 30 days Overall leaderboard