-
Notifications
You must be signed in to change notification settings - Fork 383
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
[BUG] The provided data action string [Microsoft.DocumentDB/databaseAccounts/sqlDatabases/write] does not correspond to any valid SQL data action #230
Comments
I confirm that I am also facing this issue. The only difference from my procedure is that I did not setup a dev container. But the error is the same |
Is there any update? me facing the similar problem. And how to handle it ? |
By removing the line 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/write' on the infra/core/rbac/workload-identity-rbac.bicep file I was able to make the setup continue. It progressed to the point of checking for the graphrag API but then failed because the API was unnacessible. Maybe you can try the same thing and see if you can get further. |
Just wanting to add, I'm also seeing this issue and it's halting my deployment. |
I have the same issue with API being unaccessible. Haven't found a way around it yet either. |
I checked the logs for the pod (graphrag-master) and it seems like there is an issue with creating the cosmos database after removing the line above (maybe not so surprising). Message: Request blocked by Auth cosmos-fv...y : The given request [POST /dbs] cannot be authorized by AAD token in data plane. Learn more: https://aka.ms/cosmos-native-rbac. |
Saw the same in the pod that is crashing. I'm unsure how to proceed - tried granting the user permissions manually via the az CLI but didn't progress there |
I managed to get it working by:
`resource cosmosDbDatabase 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2024-11-15' = { resource cosmosDbContainerJobs 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2024-11-15' = { resource cosmosDbContainerStore 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers@2024-11-15' = { |
Great job @RichardHallgren - worked for me aswell |
Great job @RichardHallgren . Thanks it works. Still in the next command got some error related to default resource group not set .
Add this line after loading params and it will work
|
Great job @RichardHallgren!!! . The instructions you provided worked for me too!! |
Describe the bug
Unable to complete the installation as I get the following error
The provided data action string [Microsoft.DocumentDB/databaseAccounts/sqlDatabases/write] does not correspond to any valid SQL data action
Please note that I have Subscription Ownership and have also setup the RBAC permission as suggested in the documentation
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Successful installation
Screenshots

Permissions for my account on the subscription
Permissions for my account on the resource group

Error Message
{"code":"DeploymentFailed","target":"/subscriptions//resourceGroups/rg_graphrag/providers/Microsoft.Resources/deployments/aks-workload-identity-rbac-assignments","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","target":"/subscriptions//resourceGroups/rg_graphrag/providers/Microsoft.DocumentDB/databaseAccounts/cosmos-sccgraphrag/sqlRoleDefinitions/","message":"The provided data action string [Microsoft.DocumentDB/databaseAccounts/sqlDatabases/write] does not correspond to any valid SQL data action.\r\nActivityId: , Microsoft.Azure.Documents.Common/2.14.0"}]}
Desktop (please complete the following information):
I have been trying to run the setup for almost a month now with no success. Any help would be most appreciated.
The text was updated successfully, but these errors were encountered: