Azure Databases built-in role

Semantic Reranker User

Runs Semantic Reranker queries against a registered inference account. It reads the inference account in the control plane and invokes the reranker through a DataAction, but cannot create, update, delete, enable, or disable the inference account.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: 6c74a7c5-4a87-40f9-bb03-61e49aecbc78

Control-plane actions (1)

Data-plane actions (1)

Excluded actions (2)

Assignable scopes (1)

Practical scope

Assign on the Azure Cosmos DB account whose Semantic Reranker runtime the identity calls. A resource-group assignment is inherited by every eligible account in that group. This role authorizes reranker invocation only; Cosmos DB item reads use separate native data-plane permissions.

Common use cases (2)

Prerequisites (3)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign Semantic Reranker User to the runtime caller on the individual Azure Cosmos DB account. Add a separate Cosmos DB Built-in Data Reader or narrower native role for source-item reads, and reserve Inference Account Operator or Owner for principals that enable or administer the feature.

Related roles (3)

Common questions

When should I assign the Semantic Reranker User Azure role?

Assign Semantic Reranker User when you need to: Allow an application, managed identity, service principal, or user to rerank query results returned from an Azure Cosmos DB for NoSQL container.; and Separate runtime reranker calls from feature enablement and inference-account administration.. Practical scope: Assign on the Azure Cosmos DB account whose Semantic Reranker runtime the identity calls. A resource-group assignment is inherited by every eligible account in that group. This role authorizes reranker invocation only; Cosmos DB item reads use separate native data-plane permissions.

What permissions does the Semantic Reranker User Azure role grant?

The role definition grants 2 combined control-plane and data-plane actions. Representative operations include: Microsoft.InferenceService/inferenceAccounts/read; and Microsoft.InferenceService/inferenceAccounts/invoke/semanticReranker/action. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Semantic Reranker User Azure role?

Key considerations when assigning Semantic Reranker User: The DataAction permits real inference execution and can process query-result content and incur service usage even though account writes are excluded.; The role does not grant Cosmos DB item reads; combining it with a native data-plane role determines which source data the caller can retrieve and rerank.; and A parent-scope assignment can authorize runtime calls against multiple inherited accounts.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (5)

Official Microsoft Learn documentation →