{Dynamics 365 Portals} Set Password restrictions for User Registrations in Dynamics 365 portal

I have been working on Dynamics 365 portals (previously ADX portals) for some time now and recently I got a question on how to enforce Password restrictions during user self registration or redeeming invitation.

Well, although this feature is very easy to set-up but somehow difficult to find in the documentation. Hence thought of penning this blog

Suppose your requirement is to enforce the below password restrictions for your portal users.

  • Password must be more than 8 characters long
  • Should contain one lowercase and one uppercase at-least
  • should be alphanumeric

Thinking now that I would start writing lots of lines of code. Well its exactly the reverse.

Just got to CRM –> Portals –> Site Settings and then create few site settings records as shown in the below screenshots. If the site-settings are already present, do not re-create. Instead adjust their values accordingly.

For Requirement – Password must be more than 8 characters long create a site setting with the below information.



For Requirement – Should contain at-least one uppercase and one lower case letters.





For Requirement – Should be alphanumeric



All set and done. Just refresh the ADX portal and now when the user tries to register, gets an appropriate depending on the entered password.





Wonderful isn’t it?

Couple of settings which you might find useful

Authentication/UserManager/PasswordValidator/RequireDigit – Whether the password requires a numeric digit (‘0’ – ‘9’)

Authentication/UserManager/PasswordValidator/RequireNonLetterOrDigit – Whether the password requires a non-letter or digit character


Hope this helps!

Debajit Dutta

(Dynamics MVP)

For consulting/ training please contact at info@xrmforyou.com

Try our products at – http://www.xrmforyou.com/products.html

Author: Debajit

I am a Dynamics CRM Most Valuable Professional (MVP) with 12 years of experience in Microsoft .NET Technologies and 9 years of dedicated experience in Microsoft Dynamics CRM. I have worked with companies like Microsoft, SanDisk, PwC, TMF Group and have extensive experience of implementing complex CRM solutions from both offshore and client side. Currently the face of XrmForYou.com with significant experience in delivering corporate training on Dynamics CRM and have already delivered multiple projects to client through XrmForYou.com Author of multiple tools on codeplex including the 'Role Based Views' and 'CRM-Sharepoint Metadata manager & Attachment Extractor' which are available for commercial use under XrmForYou.com For consulting/ training, drop me a note at info@xrmforyou.com or visit our website www.xrmforyou.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s