Azure Powershell cannot login - azure

I am trying to log into Azure from PowerShell using the command
Login-AzureRmAccount
And it opens a popup window where I enter my email, then click personal account and then I get the error
"Because you're accessing sensitive info, you need to verify your password."
But then there is no action to perform. There's no button to click or anything. I'm logged into Azure in both Chrome and Edge. What is going on here? This seems like a bug with the Azure website. Please help! Thanks!

I think something was broken with their site. I was also using a third party console, cmder. When I used the built-in PowerShell console, I was able to login. Also, I can no longer reproduce the issue, so it seems like they fixed the issue.

Related

Publish Azure Function

When I attempt to publish to Azure, a durable function, I am asked for credentials.
When I enter the credentials correctly the login screen disappears but the publish page does not advance and still requires me to log in.
I know my user ID and password are correct but just to be sure I used the wrong password and the screen says I've used the wrong password.
So I know I'm logging in correctly.
Is there any way to get other log information to see why I'm unable to publish my function to azure?
Also, in the upper right side of the dialog it does show that I am logged into Azure so I'm not sure why the additional login attempt is required.
If you are using Visual Studio code, you can publish your project directly from there. Just got to add the Azure extension and login in. Maybe try that

Unable to add permissions to App on Azure Portal

I have created an app on Azure Portal to access some information via Microsoft Graph API but I am not able to add any permissions to it. It was working earlier but not any more. I also tried to register a new app, the app gets register but yet again the permissions could not be added.
As soon as I press the button to add the selected permissions these two popup notifications come up ..
1. Your session will end in a few minutes. You will have to refresh your browser to start a new session.
2. The portal is having issues getting an authentication token. The experience rendered may be degraded.
Additional information from the call to get a token:
Extension: Microsoft_AAD_RegisteredApps
This is happening since last 3 days now. I also searched on Google and found that people had similar issues earlier as well. Though I have raised a ticket on the portal for this but haven't received any reply yet.
Any help here would be very much appreciated. Also is there any way to check any logs on the portal itself. I did try to check the network logs via browser developer tools but they aren't much help.
It seems to be an issue with the Azure Portal for your region.
As #Hury Shen suggested, you should contact Azure Support for further investigation.
See how to open a support ticket on Azure portal.
Seems like there was an issue with my account address. I changed the address to one of US and it worked for me.
#Allen Wu Thanks for the suggestions. I had already asked them about it but no one replied.

Sign in to Azure Account from VS Code

I have the latest version of Visual Studio Code 1.19.2. It's a clean installation.
I've installed Azure Extension Pack from Microsoft with Azure Account (0.2.2). But I am not able to sign in to my Azure subscription. When I type Azure: Sign In in the commands pallete (CTRL+Shift+P), it only shows Azure: Logging in... in the bottom purple line, but nothing happens. I am not signed in.
As far as I know it should open browser window with login screen, but it does not. My default browser is Edge, my operating system is Windows 10 Enterprise x64 1709 with all updates.
How to sign in to my Azure subscription?
For me I just copied the Azure tenant ID from the portal: Go to ActiveDirectoy in Azure then go to properties you'll see the tenant ID.
Now just paste the tenant ID in vscode: File->Preferences->Settings, then search for keyword "tenant" and add your Azure tenant id.
It happens because your corporate network has blocked the proxy to execute the Azure: SignIn command. So the solution is to add value HTTPS_PROXY in the environment variable to allow the web browser to open up the Azure Sign in the login page.
export HTTPS_PROXY=http://username:password#proxy:8080
export HTTP_PROXY=http://username:password#proxy:8080
Can you see this strip pop out?
Edit: if not install Azure Tools For VScode
only after clicking "Sign in" you should get a browser window open where you have to paste the code.
For me I was confused by the message, it copies the code to your clipboard automatically, I'm just dumb..
I also had this issue and was rectified by changing my default browser from Edge to Chrome. Signing in via Chrome worked whereas Edge signed in successfully in browser but not reflected in VS Code.
Upgrade the VS Code to the latest version, Also ensure environment variable contains the necessary http proxy. No need to change the default browser

AzureAD - add permission error by showing raining cloud icon

I am trying AzureAD trial in order to use APIs provided by microsoft product (I am also registered in premium trial).
I've successfully registered my iOS app, but whenever I try to add permission, it shows raining cloud icon at "select permissions".
I tried browsers such as IE, safari, edge, and chrome but none worked.
Anyone who knows how to solve this issue, please help me out... Appreciated.
There was a temporary problem with the Azure portal when trying to add delegated permissions to certain resources. It has since been resolved.
To anyone new to AzureAD, this can be avoided by:
Create quickApp
Get url to app (either native or not)
Put the url to in the field in permission.

Error 80045C17 when trying to login at Azure to manage account

Everytime I try to login im my azure account (http://manage.windowsazure.com/), I keep receiving the same error 80045C17, and the error message says nothing more then ask my to try later.
I Tried Every possible browser and the same result comes everytime!
I use the same username to log at every microsoft service.
I can't even stop my sites!
How to fix this?
I was able to fix this by first signing in to http://msdn.microsoft.com and then go to https://manage.windowsazure.com . It is using your Microsoft Live login session anyway so you have to log in to anything Microsoft. For example login.live.com
I think it happened to me because the azure portal was currently opened on another machine with the same account. Make sure you always sign out when you end using the Azure portal.
Thanks,
Alex Vezenkov

Resources