Skip to content

Commit b850946

Browse files
Merge pull request #4316 from diberry/diberry/0205-troubleshoot-data-plane
Cosmos troubleshooting forbidden update - control plane actions for d…
2 parents e23770a + f12db87 commit b850946

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

articles/cosmos-db/troubleshoot-forbidden.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: maquaran
66
ms.service: azure-cosmos-db
77
ms.subservice: nosql
88
ms.topic: troubleshooting
9-
ms.date: 08/28/2025
9+
ms.date: 02/04/2026
1010
appliesto:
1111
- ✅ NoSQL
1212
---
@@ -75,6 +75,9 @@ Forbidden (403); Substatus: 5300; The given request [PUT ...] cannot be authoriz
7575
### Solution
7676

7777
Perform the operation through Azure Resource Manager, Azure portal, Azure CLI, or Azure PowerShell.
78+
79+
If you receive this error when using Microsoft Entra authentication with data plane SDK methods that manage database or container resources (such as `create*`, `createIfNotExists`, `replace`, or `delete` operations on databases or containers), these methods fail because they require control plane access. When you only have data plane access through Microsoft Entra role-based access control (RBAC), you can't perform control plane operations. Use the management plane SDK with appropriate Microsoft Entra RBAC roles (such as Contributor or Cosmos DB Account Contributor) to complete these tasks.
80+
7881
If you're using the [Azure Functions Azure Cosmos DB Trigger](/azure/azure-functions/functions-bindings-cosmosdb-v2-trigger), make sure the `CreateLeaseContainerIfNotExists` property of the trigger isn't set to `true`. Using Microsoft Entra identities blocks any nondata operation, such as creating the lease container.
7982

8083
## Related content

0 commit comments

Comments
 (0)