{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Microsoft Power Platform Integration","description":"Control the power of AI Agents in runtime.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"microsoft-power-platform-integration","__idx":0},"children":["Microsoft Power Platform Integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Connect your Microsoft Power Platform environment to Capsule Security for complete visibility into your AI agents, workflows, and conversation history across Copilot Studio and Power Automate."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"overview","__idx":1},"children":["Overview"]},{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/entra-app.2dd56b10da54159fb0c264a2df561dfe056c4bd2811afc46297870b4f2409bc7.9c1bb791.png","alt":"Microsoft Power Platform portal showing copilots and flows","width":"700"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This integration uses Microsoft Entra ID (Azure AD) authentication to sync:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agents"]}," — Copilots built in Copilot Studio"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tools"]}," — Actions, plugins, Power Automate flows, and connectors"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Knowledge Bases"]}," — Data sources and knowledge articles attached to copilots"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Conversations"]}," — Chat sessions and conversation history"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Audit"]}," — Activity logs with action invocations and session tracking"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":2},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before you begin, ensure you have:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["An active ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Microsoft Power Platform"]}," environment with Copilot Studio and/or Power Automate"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["An ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Azure Entra ID"]}," account with one of the following permissions:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Environment Admin"]}," role in Power Platform, OR"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["System Administrator"]}," role in the environment"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Access to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security"]}," portal"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more information about Power Platform roles, see ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://learn.microsoft.com/en-us/power-platform/admin/admin-documentation"},"children":["Administering Power Platform"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-configure-the-integration-in-capsule","__idx":3},"children":["Step 1: Configure the Integration in Capsule"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Start the integration setup from the Capsule Security portal."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"steps","__idx":4},"children":["Steps"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Log in to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security"]}," portal"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations"]}," in the left sidebar"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Find the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Microsoft Power Platform"]}," card and click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Set up Integration"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect with Microsoft"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You'll be redirected to Microsoft's sign-in page"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-authorize-the-capsule-application","__idx":5},"children":["Step 2: Authorize the Capsule Application"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Grant Capsule the necessary permissions to access your Power Platform resources."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"steps-1","__idx":6},"children":["Steps"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sign in with your Microsoft account that has the required permissions (see Prerequisites)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Review the permissions requested by the Capsule application"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Accept"]}," to grant consent"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"permissions-explained","__idx":7},"children":["Permissions explained"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Permission"},"children":["Permission"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Purpose"},"children":["Purpose"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read Power Platform environments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Discover environments and resources"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read Copilot Studio data"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Access copilot definitions, conversations, and topics"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read Power Automate flows"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Access flow definitions and run history"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Manage role assignments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Configure access for ongoing data synchronization"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For more information about the consent experience, see ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/user-admin-consent-overview"},"children":["User and admin consent in Azure"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3-automatic-environment-discovery","__idx":8},"children":["Step 3: Automatic Environment Discovery"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After you grant consent, Capsule automatically configures the integration."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"what-happens","__idx":9},"children":["What happens"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["All Power Platform environments you have access to are discovered"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copilot Studio bots and Power Automate flows within those environments are detected"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Required access permissions are configured automatically"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["No manual environment configuration is needed."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"synced-data-objects","__idx":10},"children":["Synced Data Objects"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Capsule ingests data from both Copilot Studio and Power Automate through a unified Power Platform integration. Both services share the same Entra ID app and are discovered automatically from each environment."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"environments","__idx":11},"children":["Environments"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["During setup, Capsule uses the Microsoft Discovery Service to automatically detect all Power Platform environments accessible by the authorizing user. Each environment is registered with:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The environment's friendly name in Power Platform"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["URL"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The Dataverse instance URL"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Environment Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Production"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Sandbox"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Development"]}," — classified from the Microsoft organization type"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All Copilot Studio agents, Power Automate flows, and users within each discovered environment are then synced automatically."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"copilot-studio","__idx":12},"children":["Copilot Studio"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"agents","__idx":13},"children":["Agents"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Copilot Studio bots are ingested as ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agents"]}," in Capsule. Each agent includes:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The copilot name as defined in Copilot Studio"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Conversational"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Accessibility"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Public"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Tenant"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Limited"]}," — derived from the bot's authentication mode and access control policy"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Owner"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The platform user who owns the copilot"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"agent-components","__idx":14},"children":["Agent Components"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each copilot's components are parsed and categorized:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Component"},"children":["Component"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Category"},"children":["Category"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Model Agent"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Model"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The foundational LLM powering the copilot (e.g., GPT-4o). Includes system instructions."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Skills"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tool"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Actions and plugins the copilot can invoke, including connector-based tools"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Knowledge Sources"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data Source"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Knowledge bases attached to the copilot (e.g., Dataverse, SharePoint, external websites)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["File Attachments"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data Source"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Uploaded files used as data sources, categorized by MIME type"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Access Channels"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Access Channel"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Deployment channels such as Copilot Chat and Microsoft Teams"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["External Triggers"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Access Channel"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["External trigger integrations and their connection types"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connected Agents"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Connected Agent"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Other AI agent plugins linked to the copilot"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"conversation-transcripts","__idx":15},"children":["Conversation Transcripts"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Capsule fetches conversation transcripts for each copilot and extracts individual activity events:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Activity Type"},"children":["Activity Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tool Invocation"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A tool or action was called during the conversation"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Error"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An error occurred during the session"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Session Started"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A new conversation session was initiated"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Agent Reasoning"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The copilot's internal reasoning trace"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data Source Accessed"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A knowledge source or file was accessed"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Channel Accessed"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An access channel interaction was recorded"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["User Message"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A message sent by the user"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Agent Message"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A response generated by the copilot"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"power-automate","__idx":16},"children":["Power Automate"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"flows","__idx":17},"children":["Flows"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Power Automate workflows are ingested as ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Flows"]}," in Capsule. Only modern automation flows (non-managed) are collected."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The flow name as defined in Power Automate"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DAG"]}," (directed acyclic graph)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Status"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Active"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Inactive"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Draft"]}," — mapped from the workflow state code"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Description"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Optional flow description"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"flow-steps","__idx":18},"children":["Flow Steps"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each flow's definition is parsed to extract its individual steps:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Step Type"},"children":["Step Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Input"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trigger steps that start the flow (e.g., scheduled, manual, event-based)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Response steps that return data"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Condition"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Branching logic (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["If"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Switch"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Loop"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Iteration steps (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Foreach"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Until"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Subflow"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Nested scopes or child workflow invocations"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["External Call"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HTTP requests, API connections, and OpenAPI connector calls"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["LLM"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AI Builder model invocations"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data Operation"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Variable manipulation, data transformation (Compose, Filter, Select, etc.)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"flow-step-connections","__idx":19},"children":["Flow Step Connections"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Connections between steps represent the execution graph:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Connection Type"},"children":["Connection Type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Data"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Standard sequential execution"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Conditional"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Branch taken when a condition evaluates to true, or a specific switch case"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Default"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Fallback branch (else / default case)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Error"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Branch taken when a preceding step fails"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"flow-runs","__idx":20},"children":["Flow Runs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Capsule collects flow run history from the last 30 days:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Field"},"children":["Field"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Status"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The run outcome (e.g., Succeeded, Failed, Cancelled)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Duration"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Total run time"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trigger Type"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["What initiated the run"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Error Code / Message"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Error details if the run failed"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"connectors","__idx":21},"children":["Connectors"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Power Platform connectors are captured across both Copilot Studio and Power Automate:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["In Copilot Studio"]}," — connector references are extracted from bot component actions. Each skill's connector type is identified from its connection reference (e.g., SharePoint, Outlook, Dataverse)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["In Power Automate"]}," — connector references are extracted from the flow definition. Each step that uses an API connection (OpenApiConnection, ApiConnection, Http) captures the connector's API ID, operation ID, and connection name."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Connectors provide visibility into which external services and data sources your AI agents and automation flows are interacting with."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"power-apps","__idx":22},"children":["Power Apps"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Capsule extends the Power Platform integration to cover Power Apps, providing visibility into canvas and model-driven apps within each discovered environment."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"users","__idx":23},"children":["Users"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Platform users are collected from each Power Platform environment and deduplicated across Copilot Studio and Power Automate. Each user includes their name, email, and job title from the Dataverse system user record."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"after-setup","__idx":24},"children":["After Setup"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once the integration is configured:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Initial sync begins automatically"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["First sync may take several minutes depending on data volume"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["View synced agents in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Inventory → Agents"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["View conversations in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Observability → Filter Activity Type - Session"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":25},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"common-issues","__idx":26},"children":["Common Issues"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Consent failed or permissions error"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Verify you have Environment Admin or System Administrator permissions"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Ensure your account has access to the Power Platform environments"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["No environments discovered"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Confirm Copilot Studio or Power Automate resources exist in your environments"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check that you have the necessary permissions to access these resources"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sync not completing"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Allow several minutes for the initial sync to complete"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Contact support if the issue persists"]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"support","__idx":27},"children":["Support"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For help with this integration:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Email"]},": support@capsule.security"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Include"]},": Your organization ID, integration status, and any error messages"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For Power Platform-specific issues:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://learn.microsoft.com/en-us/power-platform/"},"children":["Power Platform documentation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://learn.microsoft.com/en-us/microsoft-copilot-studio/"},"children":["Copilot Studio documentation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://learn.microsoft.com/en-us/power-automate/"},"children":["Power Automate documentation"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://support.microsoft.com/"},"children":["Microsoft support"]}]}]}]},"headings":[{"value":"Microsoft Power Platform Integration","id":"microsoft-power-platform-integration","depth":1},{"value":"Overview","id":"overview","depth":2},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Step 1: Configure the Integration in Capsule","id":"step-1-configure-the-integration-in-capsule","depth":2},{"value":"Steps","id":"steps","depth":3},{"value":"Step 2: Authorize the Capsule Application","id":"step-2-authorize-the-capsule-application","depth":2},{"value":"Steps","id":"steps-1","depth":3},{"value":"Permissions explained","id":"permissions-explained","depth":3},{"value":"Step 3: Automatic Environment Discovery","id":"step-3-automatic-environment-discovery","depth":2},{"value":"What happens","id":"what-happens","depth":3},{"value":"Synced Data Objects","id":"synced-data-objects","depth":2},{"value":"Environments","id":"environments","depth":3},{"value":"Copilot Studio","id":"copilot-studio","depth":3},{"value":"Agents","id":"agents","depth":4},{"value":"Agent Components","id":"agent-components","depth":4},{"value":"Conversation Transcripts","id":"conversation-transcripts","depth":4},{"value":"Power Automate","id":"power-automate","depth":3},{"value":"Flows","id":"flows","depth":4},{"value":"Flow Steps","id":"flow-steps","depth":4},{"value":"Flow Step Connections","id":"flow-step-connections","depth":4},{"value":"Flow Runs","id":"flow-runs","depth":4},{"value":"Connectors","id":"connectors","depth":3},{"value":"Power Apps","id":"power-apps","depth":3},{"value":"Users","id":"users","depth":3},{"value":"After Setup","id":"after-setup","depth":2},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"Common Issues","id":"common-issues","depth":3},{"value":"Support","id":"support","depth":2}],"frontmatter":{"seo":{"title":"Microsoft Power Platform Integration"}},"lastModified":"2026-03-08T09:56:48.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/microsoft-power-platform","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}