Disable preview features in Microsoft Foundry by using role-based access control
This document refers to the Microsoft Foundry (classic) portal.🔍 View the Microsoft Foundry (new) documentation to learn about the new portal.
Prerequisites
- A Microsoft Foundry project.
- Permissions to create custom roles at the scope where you want the role to be assignable (for example, Owner or User Access Administrator).
- Permissions to assign roles at the scope where you assign access (for example, Role Based Access Control Administrator or User Access Administrator).
Example: Create a custom role that blocks a preview feature
This example shows the JSON shape for a custom role definition and where to put the preview feature data actions. If you clone an existing role or use wildcard permissions, add the preview feature data actions tonotDataActions so the role excludes them.
Agent Service data actions
Use these data actions in a custom role definition:Microsoft.CognitiveServices/accounts/AIServices/agents/writeMicrosoft.CognitiveServices/accounts/AIServices/agents/readMicrosoft.CognitiveServices/accounts/AIServices/agents/delete
Content understanding (multimodal intelligence)
Add these data actions to your custom role definition:Microsoft.CognitiveServices/accounts/MultiModalIntelligence/analyzers/readMicrosoft.CognitiveServices/accounts/MultiModalIntelligence/analyzers/writeMicrosoft.CognitiveServices/accounts/MultiModalIntelligence/analyzers/deleteMicrosoft.CognitiveServices/accounts/MultiModalIntelligence/classifiers/readMicrosoft.CognitiveServices/accounts/MultiModalIntelligence/classifiers/writeMicrosoft.CognitiveServices/accounts/MultiModalIntelligence/classifiers/deleteMicrosoft.CognitiveServices/accounts/MultiModalIntelligence/batchAnalysisJobs/*
labelingProjects under the Microsoft.CognitiveServices resource provider and include the matching data actions.
Fine-tuning
Add these data actions to your custom role definition:Microsoft.CognitiveServices/accounts/OpenAI/fine-tunes/*, includes/files/*,/uploads/*,/stored-completions/*,/evals/*,/models/*- (optional, if you run RLHF jobs)
Microsoft.CognitiveServices/accounts/OpenAI/1p-jobs/*
Tracing
Allow or deny the following data actions in the custom role definition. Foundry’s Tracing pane uses Azure Monitor. In the custom role wizard, set the provider toMicrosoft.Insights, then add or remove only the read actions you need:
Microsoft.Insights/alertRules/readMicrosoft.Insights/diagnosticSettings/readMicrosoft.Insights/logDefinitions/readMicrosoft.Insights/metricdefinitions/readMicrosoft.Insights/metrics/read
Evaluation data actions
Add these data actions to your custom role definition:Microsoft.CognitiveServices/accounts/AIServices/evaluations/writeMicrosoft.CognitiveServices/accounts/AIServices/evaluations/readMicrosoft.CognitiveServices/accounts/AIServices/evaluations/delete
Content safety risks and alerts
Add these data actions to your custom role definition:Microsoft.CognitiveServices/accounts/ContentSafety/*
ContentSafety in the Azure portal custom role editor and select the specific data actions you need.