I used thisblog for My Site feature stapling. After installing this, personal sites are getting created and automatically gets deleted within few minutes.
If I change template name to
SPSPERS#0 it works fine, but branding doesn't get applied automatically. I have to run PowerShell for each new personal site created.
How can I resolve this?