Oh, I see you're having a bit of trouble with Azure login there. That error message is pointing towards an authentication issue, even though you've mentioned that you've logged in successfully through Azure CLI.
First things first, let’s make sure you’re actually logged into the right account. You can run az login
and then az account show
to double-check that. Sometimes, it’s the simplest things that trip us up!
Now, the error is also hinting at a possible issue with Azure DevOps (ADO). If you’re using a Personal Access Token (PAT) in your script, you might want to make sure that it’s still valid and has the right permissions. You can manage and check your PATs on your Azure DevOps account settings.
The error message is pretty clear about trying to sign in through a web browser. So, give that a shot! Go to Azure DevOps, log in with your account (60241f7b-a00b-4a02-92bd-975bf6ab4b6d[hossamamer@microsoft.com](hossamamer@microsoft.com)), and see if that clears things up.
Also, don’t forget to check your network and VPN settings. Sometimes they can interfere with authentication processes.
And lastly, it might be a good idea to make sure that your Azure CLI and any extensions you’re using are up to date. Outdated tools can sometimes cause unexpected issues.
If you’ve tried all of this and it’s still not working, it might be time to reach out to Microsoft Support. They should be able to help you sort this out.
Hope this helps, and you get back on track soon!