how to import microsoft.online sharepoint powershell

Shell
Install-Module -Name Microsoft.Online.SharePoint.PowerShell

Source

Also in Shell: