ChangePassword Url

Feb 3, 2015 at 7:32 PM
I want to change the default password url _Layouts/15/FBA/ChangePassword.aspx programmatically or using power shell? What would be most effective way to do it.

I know I can do it going to Site Setting-> FBA SIte Configuration page, but I want to change it automatically whenever a user creates a site collection.
Feb 4, 2015 at 3:02 PM
The value is just a property on the site, so you should be able to create a power shell script that will create/update the property. You would have to run it every time a site collection is created though, so i'm not sure how much time you'd be saving.

You might want to look at creating an event receiver that runs when a site collection is created:

You might also consider just creating your own build of the FBA Pack, and hard code your new url into it.