Courseiva
Implement an agentic solutionhardMultiple ChoiceObjective-mapped

AI-102 Implement an agentic solution Practice Question

You are troubleshooting a Copilot Studio agent that uses a Power Automate flow to look up customer information from a CRM system. The flow runs successfully when tested manually, but when the agent triggers it, the flow fails with an authentication error. What is the most likely cause?

⚠ Common exam trap

Watch out — candidates often assume the flow's authentication context is always the same as the user who initiated the interaction, overlooking that Copilot Studio agents operate under their own service principal identity when triggering automated flows.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The flow uses the agent's identity instead of the user's identity, and the agent lacks CRM access.

When a Copilot Studio agent triggers a Power Automate flow, the flow runs in the context of the agent's identity (the service principal or bot registration) rather than the user who is interacting with the agent. If the flow uses the agent's identity to authenticate with the CRM system, and that identity has not been granted the necessary permissions (e.g., read/write access to customer records), the authentication will fail. Manual tests succeed because they run under the developer's or tester's identity, which already has CRM access.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The flow connection was deleted after the manual test.

    Why it's wrong here

    If the connection were deleted, the manual test would also fail.

  • The flow uses the agent's identity instead of the user's identity, and the agent lacks CRM access.

    Why this is correct

    Copilot Studio flows can run as the bot or the user; if configured as bot, the bot's identity may not have access.

  • The user must sign in again before triggering the flow.

    Why it's wrong here

    The flow is triggered by the agent, not by the user signing in.

  • The CRM connector requires additional permissions that were not granted.

    Why it's wrong here

    If the connector had insufficient permissions, the manual test would also fail.

About these practice questions

This AI-102 question is part of Courseiva's 945-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-102 exam.