Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.
This repository was archived by the owner on May 27, 2025. It is now read-only.

[BUG] Assigning 'Cognitive Services OpenAI Contributor' role to managed identity #252

Description

@ParinazMohsenpour

I get "Assigning 'Cognitive Services OpenAI Contributor' role to managed identity" while running deploy.sh after applying the fix suggested in this thread : #230 Tim (@timothymeyers)

Deploying Azure resources...
Deployment name: graphrag-deploy-2025-02-21_17-13-03
WARNING: C:\PROJECTS\GEN AI\PROJECTS\github\graphrag-accelerator\infra\core\cosmosdb\cosmosdb.bicep(73,9) : Warning use-parent-property: Resource "cosmosDbDatabase" has its name formatted as a child of resource "cosmosDb". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]
C:\PROJECTS\GEN AI\PROJECTS\github\graphrag-accelerator\infra\core\cosmosdb\cosmosdb.bicep(82,9) : Warning use-parent-property: Resource "cosmosDbContainerJobs" has its name formatted as a child of resource "cosmosDbDatabase". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]
C:\PROJECTS\GEN AI\PROJECTS\github\graphrag-accelerator\infra\core\cosmosdb\cosmosdb.bicep(98,9) : Warning use-parent-property: Resource "cosmosDbContainerStore" has its name formatted as a child of resource "cosmosDbDatabase". The syntax can be simplified by using the parent property. [https://aka.ms/bicep/linter/use-parent-property]

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...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions