I use codespaces quite a lot, and tend to find that logging into Azure needs the --use-device-code
flag set.
Eg. az login --use-device-code
or azd auth login --use-device-code
Hope this helps you.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I'm running through this tutorial:
https://github.com/Azure-Samples/azure-search-openai-demo/tree/main
and I encounter an issue when running the command "azd auth login" in GitHub Codespaces' terminal. This very command opens an URL of the kind "http://localhost:43927/?code=0.AQMAoZ4s1SF8sUe..." on my personal laptop, which triggers an error since nothing is running locally on that port. I guess it tries to connect to the server deployed on the Cloud.
Regards,
Kevin
I use codespaces quite a lot, and tend to find that logging into Azure needs the --use-device-code
flag set.
Eg. az login --use-device-code
or azd auth login --use-device-code
Hope this helps you.