I was getting an error telling me to login to Azure even after I had just logged in:
Run Login-AzureRmAccount to login
There was something out of alignment with whatever version of PowerShell and Azure I had installed. After installing this version of powershell, I was up and running in no time. I read a number of other articles that told me to do things like Update-Module, and that did not work for me…but your mileage may vary.