Azure AI + machine learning built-in role

Cognitive Services User

Combines broad Azure AI services DataActions with control-plane resource reads and key listing. On Speech resources, Microsoft documents that it effectively provides contributor-level custom-project access and Speech APIs; the generic role name therefore understates its data-plane authority.

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: a97b65f3-24c7-4388-baec-2e87135dc908

Control-plane actions (13)

Data-plane actions (1)

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign only on the individual Azure AI services resource whose broad data plane and keys the principal requires. Parent-scope assignments are inherited by every supported Cognitive Services resource below the selected scope.

Common use cases (2)

Prerequisites (2)

Best practices (3)

Security considerations (3)

Assignment guidance

Avoid Cognitive Services User as a default. Assign it directly on one Azure AI resource only for a reviewed compatibility case requiring both broad DataActions and key listing; otherwise choose the documented product-specific role and keep key access separate.

Related roles (3)

Common questions

When should I assign the Cognitive Services User Azure role?

Assign Cognitive Services User when you need to: Support a legacy Azure AI application that requires broad Cognitive Services data-plane access and resource key listing.; and For Speech, provide create, edit, delete, transcription, and synthesis access when a product-specific role cannot be used for an established compatibility requirement.. Practical scope: Assign only on the individual Azure AI services resource whose broad data plane and keys the principal requires. Parent-scope assignments are inherited by every supported Cognitive Services resource below the selected scope.

What permissions does the Cognitive Services User Azure role grant?

The role definition grants 14 combined control-plane and data-plane actions. Representative operations include: Microsoft.CognitiveServices/*/read; Microsoft.CognitiveServices/accounts/listkeys/action; Microsoft.Insights/alertRules/read; Microsoft.Insights/diagnosticSettings/read; Microsoft.Insights/logDefinitions/read; and Microsoft.Insights/metricdefinitions/read. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Cognitive Services User Azure role?

Key considerations when assigning Cognitive Services User: The wildcard DataAction can authorize broad service-specific data operations, while listKeys exposes a separate bearer-credential path.; Microsoft warns that on Speech resources this generic role effectively grants contributor-level project access despite its User name.; and A parent-scope assignment expands both key visibility and data-plane authority across multiple inherited resources.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →