A team is configuring a custom OAuth connection for the Work IQ MCP tool in a Microsoft Foundry project. The Entra app registration, delegated WorkIQAgent.Ask permission with admin consent, and client secret are available.
Maya has Foundry User on the project. The agent's runtime identity and its users have Foundry User on the agent resource. They have no project-level roles, and no other role assignments apply.
The configuration must meet these requirements:
- Maya must create the new connection.
- The runtime identity and OAuth users must have the Foundry access needed for this integration.
- Work IQ must access Microsoft 365 on behalf of each signed-in user, within that user's existing content permissions.
Which security configuration meets all the requirements?
Maya needs Foundry Project Manager to create the connection. The runtime identity and OAuth users need Foundry User at project scope; their existing agent-level assignments do not meet that requirement. Delegated authentication lets Work IQ use each user's existing Microsoft 365 permissions without expanding access through admin consent.
- Not correct: Assign Maya Foundry Project Manager on the project; assign the runtime and users Foundry User on the agent; use Microsoft Entra delegated authentication. The source requires the runtime identity and OAuth users to have Foundry User on the project. Their agent-scoped assignments do not satisfy that project-level requirement.
- Not correct: Assign Maya Foundry User on the project; assign the runtime and users Foundry User on the project; use Microsoft Entra delegated authentication. The source requires Foundry Project Manager to create connections. Keeping Maya at Foundry User does not provide the role required for her task.
- Correct: Assign Maya Foundry Project Manager on the project; assign the runtime and users Foundry User on the project; use Microsoft Entra delegated authentication. The source specifies Foundry Project Manager for connection creation and Foundry User on the project for the runtime identity and OAuth users. Delegated authentication preserves the signed-in user's Microsoft 365 access boundaries.
- Not correct: Assign Maya Foundry Project Manager on the project; assign the runtime and users Foundry User on the project; use Microsoft Entra application-only authentication. The role assignments meet the source's project requirements, but the source states that this Work IQ integration does not support application-only authentication and operates on behalf of the signed-in user.