2. after running connect-sposervice -url
contoso-admin.sharepoint.com -credential *** Email address is removed for privacy *** to connect to the sharepoint online administration center, please type your office 365 account and password.
3. run set-sposite <siteurl> -denyaddandcustomizepages 0 to enable the feature of scripting immediately.
the site url is like
when you see “ps c:\windows\system32>” prompts up, it is showed the feature is enabled. now you can check if you can enter your team site with the sharepoint designer 2013.