TLDR – The Add-SPShellAdmin and SPWebApplication.GrantAccessToProcessIdentity are very similar in what they do, but there are a few key differences: Add-SPShellAdmin: Should be used for granting admin accounts access to...
Disabling Personal Site Collection creation in Office 365 is pretty simple if you are familiar with how to do this on premise.
- Go to the SharePoint Admin Center (For example: https://tenanturl-admin.sharepoint.com/)
- Click User Profiles
- This screen should look familiar:
- Select Manage User Permissions. There are three permissions applied to “Everyone except external users”:
- Create Personal Site (required for personal storage, newsfeed, and followed content)
- Follow People and Edit Profile
- Use Tags and Notes
- To just get rid of personal sites you can uncheck the “Create Personal Site (required for personal storage, newsfeed, and followed content)
This is good if there are no personal sites already created, but if there are some out there they will need to be cleaned up. In order to check which users have personal sites just append _layouts/15/viewlsts.aspx to the end of the My Site Host URL.
- Now that you’ve determined who has personal sites go back to the User Profile screen and click Manage User Profiles
- Search for the user(s) and click the arrow in the white space right of the Account Name. Click Manage Personal Site.
- You will be directed to the site settings page, where you can click “Delete this site”
- After you’ve deleted the personal site go back to the Manage User Profiles screen and click the same arrow and this time select “Edit My Profile”
- Find the “Personal Site” user profile property and delete the entry