Hello @Marcus Vinicius Cursino Suares ,
Welcome to Microsoft Q&A .Thank you for reaching out to us.
The issue appears to be related to RBAC scope evaluation rather than a general file upload failure. The key indicator is that file uploads succeed when the Foundry User role is assigned at the Azure AI Foundry resource (account) scope, while the same operation fails when the role is assigned only at the project scope. This points toward a permissions evaluation difference between the Foundry resource and project scopes
Azure AI Foundry uses a hierarchical RBAC model where projects are child resources of a Foundry resource. The Foundry resource acts as the primary security boundary, while projects operate as sub-scopes within that resource.
Based on the observed behavior, certain upload-related portal operations appear to evaluate permissions at the Foundry resource scope in addition to project-level permissions. This aligns with the fact that assigning the Foundry User role at the Foundry resource level restores upload functionality even when the role is already assigned at the project scope.
Please check if the following steps help-
- Verifying Role Assignments
- Please confirm that the affected user has the Foundry User role assigned at the Azure AI Foundry resource (account) scope, as this is the scope that has been observed to restore upload functionality.
- Verify whether the assignment is direct or inherited through a Microsoft Entra ID group.
- Review whether any Azure Policy, Conditional Access, Deny Assignments or Privileged Identity Management (PIM) requirements could affect effective access.
- Allowing RBAC Propagation After any role assignment changes:
- Wait approximately 5–10 minutes for permission updates to propagate.
- Refresh the browser session or sign out and sign back in.
- Retry the upload operation.
- Verifying Effective Access Using the Azure portal:
- Navigate to Access Control (IAM) on the Foundry resource.
- Use Check Access to verify that the expected permissions are effective.
- Repeat the same validation on the Foundry project if needed.
- Confirming the Upload Workflow To determine whether additional authorization paths are involved, please confirm which upload scenario is being used:
- Data Files
- Agent/File Search
- Fine-tuning datasets
- Evaluation datasets
- Prompt Flow assets
- Playground uploads
- Knowledge or Vector Store uploads
Different workflows may interact with different backend services and permission checks.
If least-privilege access is required, assigning the role only at the specific Foundry resource scope (rather than the Resource Group or Subscription scope) provides the narrowest practical permission boundary while matching the observed authorization requirements
If the Issue Persists
If uploads continue to fail after confirming the resource-level role assignment, please let us know
- Exact error message displayed in the portal.
- Upload workflow being used.
- Azure Activity Log entries showing authorization-related failures.
- Confirmation whether the issue affects all users or only specific users.
- Confirmation whether custom RBAC roles or PIM-enabled assignments are being used.
The following references might be helpful , please check them out
Please let us know if the response was helpful
Thank you