Hello Durjan Hussain,
Welcome to the Microsoft Q&A and thank you for posting your questions here.
I understand that you would like to clarify needs on "end users" requirement for Azure AI Foundry Agent with Fabric data agent integration.
Regarding your explanation:
- About what does "End Users" mean In Azure AI Foundry + Fabric integration, "end users" refers to:
- Human users interacting with the agent via UI or chat.
- Service identities (e.g., managed identity or service principal) making API calls.
- Azure AI User RBAC role. READ more about access to the Fabric data agent and its underlying data sources - https://learn.microsoft.com/en-us/azure/ai-foundry/agents/overview
- Yes, you can use:
- Service Principal which must be assigned:
- Cognitive Services User role on the AI Foundry resource - https://learn.microsoft.com/en-us/azure/ai-foundry/agents/concepts/standard-agent-setup
- Azure AI User role on the project - https://microsoft.github.io/build-your-first-agent-with-azure-ai-agent-service-workshop/
- Requires custom subdomain for Microsoft Entra ID authentication - https://learn.microsoft.com/en-us/azure/ai-foundry/agents/concepts/standard-agent-setup
- System/User-Assigned Managed Identity also must be assigned:
- Azure AI User role on the AI Foundry project - https://microsoft.github.io/build-your-first-agent-with-azure-ai-agent-service-workshop
- Reader role on the Fabric workspace and data sources - https://learn.microsoft.com/en-us/azure/ai-foundry/agents/overview
- But, role assignment must use the Object ID of the identity, not the App ID as stated in this doc - https://learn.microsoft.com/en-us/azure/ai-foundry/agents/concepts/standard-agent-setup
- In reviewing Azure Container App scenario with Logged-In users, I will recommend flow: On-Behalf-Of (OBO):
- Exchange the user's Azure AD token for a token to call Azure AI Foundry.
- Maintains user identity and enforces data access control.
- You'll see more steps to implement OBO Flow in this doc: - https://learn.microsoft.com/en-us/azure/ai-foundry/agents/overview
- If you're getting connection errors with service principal:
- Ensure custom subdomain is configured.
- Assign Cognitive Services User role to Object ID of service principal.
- Wait for RBAC propagation (up to 5 minutes).
- Use correct token format:
Bearer <token>
inAuthorization
header. - See more details here - https://learn.microsoft.com/en-us/azure/ai-foundry/agents/concepts/standard-agent-setup
I hope this is helpful! Do not hesitate to let me know if you have any other questions or clarifications.
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.