
Login to office 365 >> admin center https://portal.office.com/adminportal#/homepage
then navigate to Office 365 > Admin > Admin Center >
SharePoint > Settings . At custom script allow all option
Download SharePoint Online
Management Shell at this link: https://www.microsoft.com/en-us/download/details.aspx?id=35588&751be11f-ede8-5a0c-058c-2ee190a24fa6=True
...