-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run azd pipeline config
requires additional operations on Dev Container
#72
Comments
Looks like it might be microsoft/vscode-remote-release#8488 (comment) Does it happen reliably or sporadically? |
@pamelafox Tried multiple times, it happen reliably. |
This does seem to happen for me as well...
That issue mentioned that it was supposed to be fixed in an update to DevContainers... can we verify that Codespaces uses that new version of DevContainers or should we just add the git |
@kjaymiller There is no such issue with CodeSpace and add the git |
I've filed this with azd team to see if they have suggestions, since I don't know why this would be specific to our sample: Azure/azure-dev#2934 |
Comment from azd team from another thread: "azd pipeline config won't work from codespaces if you used device-code for auth. There's a codespaces limitation, as the container hosting the codespaces is not an enrolled-device to Msft, so it can't access MSGraph to create ServicePrincipals. There's an ugly workaround in case you really need to run pipeline config on codespaces, but I would suggest running that command from your local computer instead" |
azd pipeline config
requires additional operations on CodeSpaceazd pipeline config
requires additional operations on Dev Container
@pamelafox I'm sorry for the misunderstanding caused by my mistake. This issue occurs on For testing |
Describe the issue:
When run
azd pipeline config
in Dev Container, get error as follow:Repro Steps:
azd auth login
azd pipeline config
Environment:
https://github.com/Azure-Samples/azure-django-postgres-flexible-aca
https://github.com/Azure-Samples/azure-django-postgres-flexible-appservice
https://github.com/Azure-Samples/azure-django-cosmos-postgres-aca
https://github.com/Azure-Samples/azure-django-cosmos-postgres-appservice
https://github.com/Azure-Samples/azure-django-postgres-addon-aca
https://github.com/Azure-Samples/azure-flask-postgres-flexible-aca
https://github.com/Azure-Samples/azure-flask-postgres-flexible-appservice
https://github.com/Azure-Samples/azure-flask-cosmos-postgres-aca
https://github.com/Azure-Samples/azure-flask-cosmos-postgres-appservice
https://github.com/Azure-Samples/azure-flask-postgres-addon-aca
https://github.com/Azure-Samples/azure-flask-cosmos-mongodb-aca
https://github.com/Azure-Samples/azure-flask-cosmos-mongodb-appservice
https://github.com/Azure-Samples/azure-fastapi-postgres-flexible-aca
https://github.com/Azure-Samples/azure-fastapi-postgres-flexible-appservice
https://github.com/Azure-Samples/azure-fastapi-cosmos-postgres-aca
https://github.com/Azure-Samples/azure-fastapi-cosmos-postgres-appservice
https://github.com/Azure-Samples/azure-fastapi-postgres-addon-aca
Expected behavior:
Run
azd pipeline config
can pass on Dev Container.@pamelafox for notification.
The text was updated successfully, but these errors were encountered: