AD Password Requirements and Fine Grained Password Policies
4 min
how activate displays the password requirements to users activate queries the default domain policy to find the password requirements for the domain as a whole these are displayed to users to give them information the main places these are used are the root of the passwords task they are also displayed to users when they use the activate credential provider or activate anywhere to change their password an example from activate anywhere is fine grained password policies and password requirement information the password requirements in the default domain policy apply to all users in the domain fine grained password policies are a feature in active directory that allows different password policies to be defined these are secured to different active directory groups and apply to only the users in the respective active directory groups if you are using fine grained password policies and want activate to show the users the password requirements based on the fine grained password policy that would apply to them, then it is recommended that you create roles within activate that use a members parameter associated with the same active directory group that is used for the fine grained password policy for example then you can use these activate roles to determine the information that is displayed to the users for the information used in the credential provider or on the activate anywhere password reset page, then you should use the instructions tag inside the xml configuration at //tasks/passwords/passwordresetquestions can be expressions e g \<questions toset="=if(=isinrole(mobileusers,=//job/user),0,5)" toreset="=if(=isinrole(mobileusers,=//job/user),0,3)" minanswersize="3" retrylimit="3"> \<question id="1">what street did you live on when you first went to high school?\</question> \<question id="2">what is your oldest sibling’s birthday month and year? (mmm yyyy)\</question> \<question id="3">what is the name of the school you attended when you were 14?\</question> \<question id="4">what was your dream job as a child? \</question> \<question id="5">what is the name of the school you attended when you were 7?\</question> \<question id="6">in what year was your mother born? (yyyy)\</question> \<question id="7">what is the name of your favourite primary school teacher?\</question> \<question id="8">what was the first concert you attended?\</question> \<question id="9">what was your childhood nickname? \</question> \<question id="10">what was the make and model of your first car? (make/model)\</question> \<question id="11">what is your preferred musical genre? \</question> \<question id="12">what is the last name of your favourite secondary school teacher?\</question> \<instructions>\<!\[cdata\[ your password must be at least % =if(=isinrole(=///roles/fine grained password policies/secureaccessusers,=/job/user),"secure length","other length")% characters long \r\n your password should not be easy to guess ]]>\</instructions> \</questions> note if you copy the text above within the \<instructions> node you will need to remove the between the %= for this to work to change the information at //tasks/passwords simply edit the web page parameter so that the expressions depend on the relevant roles