Issue
When you get a message that "https://mytenant.sharepoint.com/sites/mysite" is a Groups site collection.
An example of the error message
Reason
You have an older version of Power Shell
Solution
You need to install the latest version of SharePoint Online Management Shell by navigating to SharePoint Online Management Shell Download and enable scripting capabilities again.