Azure-Samples / graphrag-accelerator

One-click deploy of a Knowledge Graph powered RAG (GraphRAG) in Azure
https://github.com/microsoft/graphrag
MIT License
1.65k stars 250 forks source link

[BUG]Error assigning role to service principal, exiting... #160

Open safdar23 opened 2 weeks ago

safdar23 commented 2 weeks ago
Describe the bug After running the deployment for 25 mins, i get the below error message Assigning 'Cognitive Services OpenAI Contributor' role to managed identity... ____ / Uh oh, an error has occurred. \ \ Please see message below. / ‾‾‾‾‾‾‾‾‾‾/‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ / _ / / \ ~ ~ / \ /\ \o/ \o/ /
_/
\     /
 \___/

Error assigning role to service principal, exiting...

Error assigning role to service principal, exiting...

To Reproduce Steps to reproduce the behavior:

  1. Go to '.github ..'
  2. Click on '....deploy the deploy.sh'
  3. Scroll down to '....'
  4. See error

Expected behavior successful deployment Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

jgbradley1 commented 1 week ago

Can you describe the environment you were running the deployment script from? A local computer or from Codespaces for example? Some people have reported that running a deployment from Codespaces specifically can interfere with this step in the deployment process.

Also, is the AOAI instance you're using in the same Azure subscription as the resource group that you attempted to deploy the solution accelerator to?

vlad-tsoy commented 1 week ago

I just ran into the same issue. I was running on Mac OSX in a dev container. The AOAI instance is in the same Azure subscription as the resource group.

yan-barta commented 3 days ago

Also running into this issue. Running it in Dev Container in VSCode on MacOS. AOAI is in the same subscription. Assigning 'Cognitive Services OpenAI Contributor' role to managed identity... Unable to parse service principal id from azure outputs, exiting...

jamiexfonesbdo commented 1 day ago

I'm having the exact same issue, even when not running in dev container.