I followed same steps given in this article for applying Mysite branding. enter link description here

but it doesnt apply branding to new personal site automatically. i have to activate it manually or through powershell.any idea why?

also when i see the feature id through powershell, it actually shows different id for branding and not the one which i specified in code. dont know why its happening.

1 Answer 1


if your branding feature applies the master page and any other resources, than at least you got that working out.

the stapler has two things you need to check:

  • feature id: this should be exactly the ID attribute you will find in the feature.xml of the branding feature. don't confuse this with the solution id which the feature belongs to
  • site template id. for my sites, this is particularly problematic because it depends if its the my site host, a personalisation site, regular my site, profile site, etc

my advice is check the webtemplate and the configuration properties of an existing SPWeb site object you are trying to associate, because together they form the id that the stapler needs for the association. odds are, the stapler is not associating with the right site template

edit: for obvious reasons, only newly created sites will be affected. just in case someone reading this is expecting an existing site to magically enable the branding feature

more here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.