Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - General Discussions
Unanswered

Username Validation in Power Pages user registration page

(0) ShareShare
ReportReport
Posted on by

I am currently working with Power Pages and Power Portal in the D365 Power Platform. To enforce a restriction on usernames to allow only alphanumeric characters, I have been using the Authentication/UserManager/UserValidator/AllowOnlyAlphanumericUserNames setting. However, I recently attempted to use the Authentication/UserManager/UserValidator/AllowedUserNameCharacters setting to achieve the other characters validation, but it doesn't seem to be working as expected.

I would like to know if the AllowedUserNameCharacters setting is available to restrict in Power Pages/Power Portal same as .net core, or if there is an alternative setting or configuration option available for this purpose.

Any insights, workarounds, or code examples would be greatly appreciated.

Categories:

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >