Open safdar23 opened 2 months 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?
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.
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...
I'm having the exact same issue, even when not running in dev container.
For me it looks like this error message is not the root cause, it's because the resources aren't getting deployed. I'm getting these error messages in bicep (aswell as many more):
\wsl.localhost\Ubuntu-24.04\home\jamiexfones\graphrag-accelerator\infra\core\acr\acr.bicep(30,81) : Error BCP012: Expected the "for" keyword at this location. \wsl.localhost\Ubuntu-24.04\home\jamiexfones\graphrag-accelerator\infra\core\acr\acr.bicep(31,3) : Error BCP007: This declaration type is not recognized. Specify a metadata, parameter, variable, resource, or output declaration. \wsl.localhost\Ubuntu-24.04\home\jamiexfones\graphrag-accelerator\infra\core\acr\acr.bicep(32,5) : Error BCP007: This declaration type is not recognized. Specify a metadata, parameter, variable, resource, or output declaration.
Turns out for me the issue was az bicep being out of date!
Turns out for me the issue was az bicep being out of date!
How did you resolve this issue? Thanks
Error assigning role to service principal, exiting...
Error assigning role to service principal, exiting...
To Reproduce Steps to reproduce the behavior:
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.