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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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!

 

 

image.png
Categories:
I have the same question (0)
  • Suggested answer
    Fubar Profile Picture
    8,487 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 21 Super User 2026 Season 1

#2
Fubar Profile Picture

Fubar 19 Super User 2026 Season 1

#3
CN-06091549-0 Profile Picture

CN-06091549-0 18

Last 30 days Overall leaderboard