Azure-Samples / azure-search-openai-demo-csharp

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure Cognitive Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
MIT License
555 stars 346 forks source link

Command error in section "Sharing Environments" #232

Open jianingwang123 opened 8 months ago

jianingwang123 commented 8 months ago

Describe the issue: When use the command az account show provided by section "Sharing Environments" of README.md, it cannot be got the AZURE_PRINCIPAL_ID. Error is as follows: image image image

Expected behavior: Run command to get the AZURE_PRINCIPAL_ID .

Suggestion: Change az account show to az ad signed-in-user show --query id.

@charris-msft to notification.