This article covers the use of Microsoft Azure PowerShell for connecting the Azure Portal. Windows PowerShell doesn’t support Microsoft Azure Portal account for connection, so we need to install the SDKs and Command-Line tools in the Microsoft.
Use the current new version Microsoft Azure PowerShell (v.5.7.0), which has a few differences from the older version. You must have a Microsoft Azure account otherwise you cannot work on this function.