Skip to content
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

azd up is asking for authClientId #1020

Open
DuboisABB opened this issue Jul 25, 2024 · 5 comments
Open

azd up is asking for authClientId #1020

DuboisABB opened this issue Jul 25, 2024 · 5 comments
Labels
bug Something isn't working stale

Comments

@DuboisABB
Copy link

Describe the bug
azd up is asking me for authClientId. I have no idea what to enter. Aren't the deployment scripts supposed to create that automatically? It seems related to me trying to use existing resources. See below. I don't see this question if I leave my .env file empty.

To Reproduce
azd auth login
azd env new
I'm trying to reuse AI search and OpenAI from another application in the same subscription so I added these variables to my .env file:
AZURE_OPENAI_MODEL="gpt-4-turbo"
AZURE_OPENAI_RESOURCE="cog-se-trnz2cbjn4ofs"
AZURE_OPENAI_RESOURCE_GROUP="BOCHAT-RG"
AZURE_OPENAI_SKU_NAME="S0"
AZURE_SEARCH_SERVICE="gptkb-trnz2cbjn4ofs"
AZURE_SEARCH_SERVICE_RESOURCE_GROUP="BOCHAT-RG"
AZURE_SEARCH_SKU_NAME="standard"

I'm also adding this variable because I'm interested in that feature:
AZURE_COSMOSDB_ENABLE_FEEDBACK="true"

Then simply:
azd up

It asks me for the subscription to use. Then it asks me for location. And then the weird authClientId:

PS C:\Programming\sample-app-aoai-chatGPT> azd up
? Select an Azure Subscription to use: 6. ABB-WE-ACE-DEV-xxxxxxxx (25b08136-92b0-43a2-a312-xxxxxxxxxx)
? Select an Azure location to use: 44. (US) East US (eastus)
? Enter a value for the 'authClientId' infrastructure parameter:

Expected behavior
Complete deployment without asking me for this.

@DuboisABB DuboisABB added the bug Something isn't working label Jul 25, 2024
@Manoj18kumar
Copy link

I'm also using existing resource and deploy using azd up ,asking same authClientId i don't want to enter give solution

@DuboisABB
Copy link
Author

Sorry I can't recall how I fixed this but I don't have this issue anymore.

@Manoj18kumar
Copy link

Manoj18kumar commented Aug 29, 2024 via email

@meharvansingh
Copy link

Does anybody have a solution? I'm getting the same thing with the same steps when trying to deploy above.

@DuboisABB DuboisABB changed the title azd up is asking me for azd up is asking me for authClientId azd up is asking for authClientId Aug 30, 2024
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

3 participants