From Powershell, enter Login-AzureRMAccount and hit Enter.
A Microsoft Azure login screen will pop up.
Log in with your Azure credentials. Now you’re ready to start working with Azure from the Powershell.