Explain it simpler
Azure has two kinds of permission. One kind lets you manage a thing: create it, resize it, delete it. The other kind lets you use what is inside it: read a password, send a message, download a container image, read a database record. Having the first kind does not give you the second. It is like being the building manager who can repaint the bank's lobby but still cannot open the customers' safe deposit boxes. Apps almost never need to manage resources. They need to use the data inside, so you give them small, specific data roles: read secrets, send messages, receive messages, pull images. For Cosmos DB, the database service, those data roles are handed out through a separate Cosmos DB command rather than the usual permissions page.
Your ticket queue at Juniper Freight has one item marked urgent. Devon, a junior developer, writes: "I gave the function app Owner on the Cosmos DB account. Owner. The highest role there is. And every query still returns 403 Forbidden. Is Azure broken?" You open the account and confirm it: the function's managed identity is indeed Owner. You also know Devon is not wrong to be confused, because in most of Azure, Owner sounds like it should open every door. So why can the most powerful role on the resource not read a single item from it, and what should Devon have assigned instead?
Azure separates operations into two planes, and nearly every permission question on this topic starts there. The control plane, also called the management plane, manages the resources themselves: creating a Key Vault, changing a Service Bus tier, scaling a container registry or deleting a Cosmos DB account. Those requests go through Azure Resource Manager (ARM), the deployment and management layer for Azure. The data plane works with the data inside a resource: reading a secret, sending a message, pulling an image or querying items in a container.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.