{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","img"]},"redocly_category":"AI","product_name":"Headless","type":"markdown"},"seo":{"title":"Connecting Microsoft Copilot Studio to Treasure AI Studio","description":"Connect Microsoft Copilot Studio agents to Treasure AI Studio with a static-token MCP endpoint, so Teams and Microsoft 365 Copilot can run Actions and chats.","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"connecting-microsoft-copilot-studio-to-treasure-ai-studio","__idx":0},"children":["Connecting Microsoft Copilot Studio to Treasure AI Studio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can connect a Microsoft Copilot Studio agent to ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/"},"children":["Treasure AI Studio"]}," by adding a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Static token · shared executor"]}," MCP endpoint to the agent as a tool. The agent can then list the shared work folder, run its saved Actions, and start or continue Studio chats from the Copilot Studio test pane, in Microsoft Teams, and in Microsoft 365 Copilot. Use this guide when you build the Copilot Studio agent for teams that already work in Microsoft 365 and need Treasure AI Studio results inside that conversation, without opening Studio for each request."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Because the connection uses a static token, every request runs as the endpoint's single executor. The executor's shared work folder, permissions, and credits apply, whoever in your organization chats with the agent. This guide covers only the static-token method. The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth · connected user"]}," method is not covered, because Copilot Studio's OAuth options cannot complete Treasure AI Studio's sign-in."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-the-connection-works","__idx":1},"children":["How the Connection Works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Copilot Studio acts as the MCP client, and Treasure AI Studio hosts the MCP endpoint over Streamable HTTP. Each call from the agent carries the endpoint's token in a fixed ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}," header. Treasure AI Studio checks the token on every request and runs the call in the shared work folder as the executor."]},{"$$mdtype":"Tag","name":"Diagram","attributes":{"data-language":"mermaid","diagramType":"mermaid","diagramSource":"flowchart LR\n    A[\"Copilot Studio agent<br/>in Teams or Microsoft 365 Copilot\"] -->|\"MCP over Streamable HTTP<br/>Authorization: Bearer tasgwt_…\"| B[\"Agent Gateway\"]\n    B -->|\"Check the token<br/>and endpoint status\"| C[\"Treasure AI Studio\"]\n    C -->|\"Run the call as the executor\"| D[(\"Shared work folder<br/>read-only\")]\n","diagramHtml":"<svg id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 1474.640625px;\" viewBox=\"0 0 1474.640625 119.82170104980469\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>\n    #diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 foreignObject {\n      overflow: visible;\n    }\n  </style><style>#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .error-icon{fill:#552222;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .error-text{fill:#552222;stroke:#552222;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edge-thickness-normal{stroke-width:1px;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edge-thickness-thick{stroke-width:3.5px;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edge-pattern-solid{stroke-dasharray:0;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .marker{fill:#333333;stroke:#333333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .marker.cross{stroke:#333333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 p{margin:0;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .label{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;color:#333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .cluster-label text{fill:#333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .cluster-label span{color:#333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .cluster-label span p{background-color:transparent;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .label text,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 span{fill:#333;color:#333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node rect,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node circle,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node ellipse,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node polygon,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .rough-node .label text,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node .label text,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .image-shape .label,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .icon-shape .label{text-anchor:middle;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .rough-node .label,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node .label,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .image-shape .label,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .icon-shape .label{text-align:center;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node.clickable{cursor:pointer;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .arrowheadPath{fill:#333333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edgePath .path{stroke:#333333;stroke-width:1px;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .flowchart-link{stroke:#333333;fill:none;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .cluster text{fill:#333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .cluster span{color:#333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 rect.text{fill:none;stroke-width:0;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .icon-shape,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .icon-shape p,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .icon-shape .label rect,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 .node .neo-node{stroke:#9370DB;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].node rect,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].cluster rect,#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].node path{stroke:#9370DB;stroke-width:1px;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].node .neo-line path{stroke:#9370DB;filter:none;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M268,59.911L288.833,59.911C309.667,59.911,351.333,59.911,392.333,59.911C433.333,59.911,473.667,59.911,493.833,59.911L514,59.911\" id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MjY4LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9LHsieCI6MzkzLCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9LHsieCI6NTE4LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-pointEnd)\"></path><path d=\"M687.406,59.911L703.212,59.911C719.018,59.911,750.63,59.911,781.576,59.911C812.521,59.911,842.799,59.911,857.939,59.911L873.078,59.911\" id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6Njg3LjQwNjI1LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9LHsieCI6NzgyLjI0MjE4NzUsInkiOjU5LjkxMDg1MDUyNDkwMjM0NH0seyJ4Ijo4NzcuMDc4MTI1LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-pointEnd)\"></path><path d=\"M1069,59.911L1089.695,59.911C1110.391,59.911,1151.781,59.911,1192.505,59.911C1233.229,59.911,1273.286,59.911,1293.315,59.911L1313.344,59.911\" id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91-L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6MTA2OSwieSI6NTkuOTEwODUwNTI0OTAyMzQ0fSx7IngiOjExOTMuMTcxODc1LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9LHsieCI6MTMxNy4zNDM3NSwieSI6NTkuOTEwODUwNTI0OTAyMzQ0fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\" transform=\"translate(393, 59.910850524902344)\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(-100, -48)\"><foreignObject width=\"200\" height=\"96\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;\"><span class=\"edgeLabel\"><p>MCP over Streamable HTTP<br>Authorization: Bearer tasgwt_…</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(782.2421875, 59.910850524902344)\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(-69.8359375, -24)\"><foreignObject width=\"139.671875\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Check the token<br>and endpoint status</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(1193.171875, 59.910850524902344)\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(-99.171875, -12)\"><foreignObject width=\"198.34375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Run the call as the executor</p></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91-flowchart-A-0\" data-look=\"classic\" transform=\"translate(138, 59.910850524902344)\"><rect class=\"basic label-container\" style=\"\" x=\"-130\" y=\"-51\" width=\"260\" height=\"102\"></rect><g class=\"label\" style=\"\" transform=\"translate(-100, -36)\"><rect></rect><foreignObject width=\"200\" height=\"72\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;\"><span class=\"nodeLabel\"><p>Copilot Studio agent<br>in Teams or Microsoft 365 Copilot</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91-flowchart-B-1\" data-look=\"classic\" transform=\"translate(602.703125, 59.910850524902344)\"><rect class=\"basic label-container\" style=\"\" x=\"-84.703125\" y=\"-27\" width=\"169.40625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-54.703125, -12)\"><rect></rect><foreignObject width=\"109.40625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Agent Gateway</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91-flowchart-C-3\" data-look=\"classic\" transform=\"translate(973.0390625, 59.910850524902344)\"><rect class=\"basic label-container\" style=\"\" x=\"-95.9609375\" y=\"-27\" width=\"191.921875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-65.9609375, -12)\"><rect></rect><foreignObject width=\"131.921875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Treasure AI Studio</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91-flowchart-D-5\" data-look=\"classic\" transform=\"translate(1391.9921875, 59.910850524902344)\"><path d=\"M0,13.607234406152093 a74.6484375,13.607234406152093 0,0,0 149.296875,0 a74.6484375,13.607234406152093 0,0,0 -149.296875,0 l0,76.60723440615209 a74.6484375,13.607234406152093 0,0,0 149.296875,0 l0,-76.60723440615209\" class=\"basic label-container outer-path\" style=\"\" transform=\"translate(-74.6484375, -51.91085160922814)\"></path><g class=\"label\" style=\"\" transform=\"translate(-67.1484375, -14)\"><rect></rect><foreignObject width=\"134.296875\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Shared work folder<br>read-only</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs><defs><filter id=\"diagram-21ae0d0ca3c835b5471522378a76ca8fb89135589585d3ae91390456338e5d91-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#000000\"></feDropShadow></filter></defs></svg>","diagramHtmlDark":"<svg id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85\" width=\"100%\" xmlns=\"http://www.w3.org/2000/svg\" class=\"flowchart\" style=\"max-width: 1474.640625px;\" viewBox=\"0 0 1474.640625 119.82170104980469\" role=\"graphics-document document\" aria-roledescription=\"flowchart-v2\"><style>\n    #diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 foreignObject {\n      overflow: visible;\n    }\n  </style><style>#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;fill:#ccc;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .error-icon{fill:#a44141;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .error-text{fill:#ddd;stroke:#ddd;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edge-thickness-normal{stroke-width:1px;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edge-thickness-thick{stroke-width:3.5px;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edge-pattern-solid{stroke-dasharray:0;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edge-thickness-invisible{stroke-width:0;fill:none;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edge-pattern-dashed{stroke-dasharray:3;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edge-pattern-dotted{stroke-dasharray:2;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .marker{fill:lightgrey;stroke:lightgrey;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .marker.cross{stroke:lightgrey;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 svg{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:16px;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 p{margin:0;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .label{font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;color:#ccc;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .cluster-label text{fill:#F9FFFE;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .cluster-label span{color:#F9FFFE;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .cluster-label span p{background-color:transparent;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .label text,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 span{fill:#ccc;color:#ccc;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node rect,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node circle,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node ellipse,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node polygon,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node path{fill:#1f2020;stroke:#ccc;stroke-width:1px;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .rough-node .label text,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node .label text,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .image-shape .label,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .icon-shape .label{text-anchor:middle;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .rough-node .label,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node .label,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .image-shape .label,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .icon-shape .label{text-align:center;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node.clickable{cursor:pointer;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .root .anchor path{fill:lightgrey!important;stroke-width:0;stroke:lightgrey;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .arrowheadPath{fill:lightgrey;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edgePath .path{stroke:lightgrey;stroke-width:1px;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .flowchart-link{stroke:lightgrey;fill:none;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edgeLabel{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edgeLabel p{background-color:hsl(0, 0%, 34.4117647059%);}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .edgeLabel rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .labelBkg{background-color:rgba(87.75, 87.75, 87.75, 0.5);}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .cluster rect{fill:hsl(180, 1.5873015873%, 28.3529411765%);stroke:rgba(255, 255, 255, 0.25);stroke-width:1px;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .cluster text{fill:#F9FFFE;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .cluster span{color:#F9FFFE;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;font-size:12px;background:hsl(20, 1.5873015873%, 12.3529411765%);border:1px solid rgba(255, 255, 255, 0.25);border-radius:2px;pointer-events:none;z-index:100;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#ccc;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 rect.text{fill:none;stroke-width:0;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .icon-shape,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .image-shape{background-color:hsl(0, 0%, 34.4117647059%);text-align:center;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .icon-shape p,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .image-shape p{background-color:hsl(0, 0%, 34.4117647059%);padding:2px;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .icon-shape .label rect,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .image-shape .label rect{opacity:0.5;background-color:hsl(0, 0%, 34.4117647059%);fill:hsl(0, 0%, 34.4117647059%);}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 .node .neo-node{stroke:#ccc;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].node rect,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].cluster rect,#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].node polygon{stroke:url(#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].swimlane.cluster rect{filter:none;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].node path{stroke:url(#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-gradient);stroke-width:1px;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].node .outer-path{filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].node .neo-line path{stroke:#ccc;filter:none;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].node circle{stroke:url(#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].node circle .state-start{fill:#000000;}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].icon-shape .icon{fill:url(#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 [data-look=\"neo\"].icon-shape .icon-neo path{stroke:url(#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-gradient);filter:drop-shadow( 1px 2px 2px rgba(185,185,185,1));}#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85 :root{--mermaid-font-family:\"Redocly Mermaid Sans\",Arial,\"Liberation Sans\",Arimo,Helvetica,\"Redocly Mermaid CJK\",sans-serif;}</style><g><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-pointEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 0 L 10 5 L 0 10 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-pointStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"4.5\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto\"><path d=\"M 0 5 L 10 10 L 10 0 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-pointEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"11.5\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"10.5\" markerHeight=\"14\" orient=\"auto\"><path d=\"M 0 0 L 11.5 7 L 0 14 z\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-pointStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 11.5 14\" refX=\"1\" refY=\"7\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11.5\" markerHeight=\"14\" orient=\"auto\"><polygon points=\"0,7 11.5,14 11.5,0\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></polygon></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-circleEnd\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"11\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-circleStart\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-1\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 1; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-circleEnd-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refY=\"5\" refX=\"12.25\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-circleStart-margin\" class=\"marker flowchart-v2\" viewBox=\"0 0 10 10\" refX=\"-2\" refY=\"5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"14\" markerHeight=\"14\" orient=\"auto\"><circle cx=\"5\" cy=\"5\" r=\"5\" class=\"arrowMarkerPath\" style=\"stroke-width: 0; stroke-dasharray: 1, 0;\"></circle></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-crossEnd\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"12\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-crossStart\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 11 11\" refX=\"-1\" refY=\"5.2\" markerUnits=\"userSpaceOnUse\" markerWidth=\"11\" markerHeight=\"11\" orient=\"auto\"><path d=\"M 1,1 l 9,9 M 10,1 l -9,9\" class=\"arrowMarkerPath\" style=\"stroke-width: 2; stroke-dasharray: 1, 0;\"></path></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-crossEnd-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"17.7\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5;\"></path></marker><marker id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-crossStart-margin\" class=\"marker cross flowchart-v2\" viewBox=\"0 0 15 15\" refX=\"-3.5\" refY=\"7.5\" markerUnits=\"userSpaceOnUse\" markerWidth=\"12\" markerHeight=\"12\" orient=\"auto\"><path d=\"M 1,1 L 14,14 M 1,14 L 14,1\" class=\"arrowMarkerPath\" style=\"stroke-width: 2.5; stroke-dasharray: 1, 0;\"></path></marker><g class=\"root\"><g class=\"clusters\"></g><g class=\"edgePaths\"><path d=\"M268,59.911L288.833,59.911C309.667,59.911,351.333,59.911,392.333,59.911C433.333,59.911,473.667,59.911,493.833,59.911L514,59.911\" id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-L_A_B_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_A_B_0\" data-points=\"W3sieCI6MjY4LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9LHsieCI6MzkzLCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9LHsieCI6NTE4LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-pointEnd)\"></path><path d=\"M687.406,59.911L703.212,59.911C719.018,59.911,750.63,59.911,781.576,59.911C812.521,59.911,842.799,59.911,857.939,59.911L873.078,59.911\" id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-L_B_C_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_B_C_0\" data-points=\"W3sieCI6Njg3LjQwNjI1LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9LHsieCI6NzgyLjI0MjE4NzUsInkiOjU5LjkxMDg1MDUyNDkwMjM0NH0seyJ4Ijo4NzcuMDc4MTI1LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9XQ==\" data-look=\"classic\" marker-end=\"url(#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-pointEnd)\"></path><path d=\"M1069,59.911L1089.695,59.911C1110.391,59.911,1151.781,59.911,1192.505,59.911C1233.229,59.911,1273.286,59.911,1293.315,59.911L1313.344,59.911\" id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-L_C_D_0\" class=\"edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link\" style=\";\" data-edge=\"true\" data-et=\"edge\" data-id=\"L_C_D_0\" data-points=\"W3sieCI6MTA2OSwieSI6NTkuOTEwODUwNTI0OTAyMzQ0fSx7IngiOjExOTMuMTcxODc1LCJ5Ijo1OS45MTA4NTA1MjQ5MDIzNDR9LHsieCI6MTMxNy4zNDM3NSwieSI6NTkuOTEwODUwNTI0OTAyMzQ0fV0=\" data-look=\"classic\" marker-end=\"url(#diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85_flowchart-v2-pointEnd)\"></path></g><g class=\"edgeLabels\"><g class=\"edgeLabel\" transform=\"translate(393, 59.910850524902344)\"><g class=\"label\" data-id=\"L_A_B_0\" transform=\"translate(-100, -48)\"><foreignObject width=\"200\" height=\"96\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;\"><span class=\"edgeLabel\"><p>MCP over Streamable HTTP<br>Authorization: Bearer tasgwt_…</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(782.2421875, 59.910850524902344)\"><g class=\"label\" data-id=\"L_B_C_0\" transform=\"translate(-69.8359375, -24)\"><foreignObject width=\"139.671875\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Check the token<br>and endpoint status</p></span></div></foreignObject></g></g><g class=\"edgeLabel\" transform=\"translate(1193.171875, 59.910850524902344)\"><g class=\"label\" data-id=\"L_C_D_0\" transform=\"translate(-99.171875, -12)\"><foreignObject width=\"198.34375\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" class=\"labelBkg\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"edgeLabel\"><p>Run the call as the executor</p></span></div></foreignObject></g></g></g><g class=\"nodes\"><g class=\"node default\" id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-flowchart-A-0\" data-look=\"classic\" transform=\"translate(138, 59.910850524902344)\"><rect class=\"basic label-container\" style=\"\" x=\"-130\" y=\"-51\" width=\"260\" height=\"102\"></rect><g class=\"label\" style=\"\" transform=\"translate(-100, -36)\"><rect></rect><foreignObject width=\"200\" height=\"72\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;\"><span class=\"nodeLabel\"><p>Copilot Studio agent<br>in Teams or Microsoft 365 Copilot</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-flowchart-B-1\" data-look=\"classic\" transform=\"translate(602.703125, 59.910850524902344)\"><rect class=\"basic label-container\" style=\"\" x=\"-84.703125\" y=\"-27\" width=\"169.40625\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-54.703125, -12)\"><rect></rect><foreignObject width=\"109.40625\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Agent Gateway</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-flowchart-C-3\" data-look=\"classic\" transform=\"translate(973.0390625, 59.910850524902344)\"><rect class=\"basic label-container\" style=\"\" x=\"-95.9609375\" y=\"-27\" width=\"191.921875\" height=\"54\"></rect><g class=\"label\" style=\"\" transform=\"translate(-65.9609375, -12)\"><rect></rect><foreignObject width=\"131.921875\" height=\"24\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Treasure AI Studio</p></span></div></foreignObject></g></g><g class=\"node default\" id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-flowchart-D-5\" data-look=\"classic\" transform=\"translate(1391.9921875, 59.910850524902344)\"><path d=\"M0,13.607234406152093 a74.6484375,13.607234406152093 0,0,0 149.296875,0 a74.6484375,13.607234406152093 0,0,0 -149.296875,0 l0,76.60723440615209 a74.6484375,13.607234406152093 0,0,0 149.296875,0 l0,-76.60723440615209\" class=\"basic label-container outer-path\" style=\"\" transform=\"translate(-74.6484375, -51.91085160922814)\"></path><g class=\"label\" style=\"\" transform=\"translate(-67.1484375, -14)\"><rect></rect><foreignObject width=\"134.296875\" height=\"48\"><div xmlns=\"http://www.w3.org/1999/xhtml\" style=\"display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;\"><span class=\"nodeLabel\"><p>Shared work folder<br>read-only</p></span></div></foreignObject></g></g></g></g></g><defs><filter id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-drop-shadow\" height=\"130%\" width=\"130%\"><feDropShadow dx=\"4\" dy=\"4\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><defs><filter id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-drop-shadow-small\" height=\"150%\" width=\"150%\"><feDropShadow dx=\"2\" dy=\"2\" stdDeviation=\"0\" flood-opacity=\"0.06\" flood-color=\"#FFFFFF\"></feDropShadow></filter></defs><linearGradient id=\"diagram-88005b5d063c5f40d1ace46ac68efb957f3950091b047ad38edc567856c4cc85-gradient\" gradientUnits=\"objectBoundingBox\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\"><stop offset=\"0%\" stop-color=\"#cccccc\" stop-opacity=\"1\"></stop><stop offset=\"100%\" stop-color=\"hsl(180, 0%, 18.3529411765%)\" stop-opacity=\"1\"></stop></linearGradient></svg>"},"children":["flowchart LR\n    A[\"Copilot Studio agent<br/>in Teams or Microsoft 365 Copilot\"] -->|\"MCP over Streamable HTTP<br/>Authorization: Bearer tasgwt_…\"| B[\"Agent Gateway\"]\n    B -->|\"Check the token<br/>and endpoint status\"| C[\"Treasure AI Studio\"]\n    C -->|\"Run the call as the executor\"| D[(\"Shared work folder<br/>read-only\")]\n"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Three roles take part in the setup."]},{"$$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":{"width":"28%","data-label":"Role"},"children":["Role "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"32%","data-label":"Where"},"children":["Where "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"40%","data-label":"What They Do"},"children":["What They Do "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Studio folder manager"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Treasure AI Studio, under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Agent Channels"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Publishes a shared work folder, creates one static-token MCP endpoint, and copies its Connection URL and token"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Copilot Studio maker"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Microsoft Copilot Studio"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Creates the agent, adds the Studio MCP server as a tool through a connection that stores the token, and publishes the agent"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Microsoft 365 users"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Microsoft Teams or Microsoft 365 Copilot"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Chat with the published agent. They don't sign in to Treasure AI Studio, and their requests run as the executor"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After the connection is set up, the agent discovers six tools: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_work_folders"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_actions"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["run_action"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_chat"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["continue_chat"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_chat_result"]},". For the arguments and results of each tool, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-clients#the-tools"},"children":["The Tools"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":2},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Confirm these requirements before you start. Most of them come from Microsoft's Power Platform and Azure setup, so check with your Power Platform and Azure administrators if you don't control them."]},{"$$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":{"width":"28%","data-label":"Requirement"},"children":["Requirement "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"72%","data-label":"Details"},"children":["Details "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Microsoft work account"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Copilot Studio needs a work or school account. The consumer Copilot app at copilot.microsoft.com can't add a custom MCP server."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Power Platform environment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["An environment with a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dataverse"]}," database attached, where you can create agents and connections."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Azure subscription and billing"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["In the Azure portal, open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Subscriptions → your subscription → Resource providers"]},", and register ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Microsoft.PowerPlatform"]},", which isn't registered by default. Register ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Microsoft.CostManagement"]}," if needed. Then create a resource group and enable pay-as-you-go billing for Copilot Studio on it."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Copilot Studio access"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A Copilot Studio license or pay-as-you-go plan, with rights to create agents, tools, and connections."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data policies"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Power Platform data policy (DLP) settings must allow the custom MCP connector in your environment."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure AI Studio access"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Manage"]}," access to a non-archived ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/shared-folders/"},"children":["shared work folder"]},". See Step 1."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Account policy"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your account's creation policy must allow static-token endpoint creation. If the policy is limited to account admins, ask an admin to create the endpoint for you. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-endpoints"},"children":["Static-Token MCP Endpoints"]},"."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-create-or-choose-a-shared-work-folder","__idx":3},"children":["Step 1: Create or Choose a Shared Work Folder"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The endpoint publishes one shared work folder, and the agent can see only that folder. Choose or create the folder before you create the endpoint, because the folder cannot be changed after the endpoint is created. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/shared-folders/"},"children":["Shared work folders"]}," explain the layout, and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/shared-folders/sharing-a-work-folder"},"children":["Sharing a work folder"]}," covers the manager workflow."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To create a new shared folder, open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Work folder catalog"]}," with the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+"]}," next to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Work Folders"]}," in the sidebar, then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New shared folder"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To share a folder you already have, open its ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["⋯"]}," menu, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Share…"]},", and choose the items to publish."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Publish shared folder"]}," when the folder is ready. A new shared folder starts in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setting up"]}," and leaves that state when you publish. Publishing is one-way: a shared work folder can't be turned back into a private one."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The person who creates the endpoint needs ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Manage"]}," on the folder. The endpoint wizard offers only folders where you hold Manage, and it never offers an archived folder."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-create-a-static-token-mcp-endpoint-in-studio","__idx":4},"children":["Step 2: Create a Static-Token MCP Endpoint in Studio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The endpoint is the address that Copilot Studio calls. Creating it issues the Connection URL and the first token. For all endpoint management options, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-endpoints"},"children":["Static-Token MCP Endpoints"]},"."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In Treasure AI Studio on Web or Desktop, open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Agent Channels"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP Endpoints"]},", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New MCP Endpoint"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Keep ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Static token · shared executor"]}," selected, enter an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Endpoint name"]},", optionally add a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Comment"]},", and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Next"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On the next page, choose the shared work folder from Step 1."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Read the consent text, which shows you as the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Executor"]},". Choose an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Expiration"]}," for the first token: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["7 days"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["30 days"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["90 days"]}," (the default), a custom date, or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["No expiration"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create endpoint & issue first token"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copy the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connection URL"]}," and the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorization"]}," header into a password manager or secret store."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["I have stored the values"]},". ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]}," stays disabled until you do."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},". The endpoint's detail page opens."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"danger","name":"The token is shown only once"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The token starts with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tasgwt_"]},", and Treasure AI Studio cannot show it again. Store it before you select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]},". If you lose it, revoke the token and issue a new one from the endpoint's detail page."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Connection URL has this form: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://<your account's Agent Gateway>/v1/mcp/<endpoint ID>"]},". Copy it exactly as Treasure AI Studio shows it, because the host depends on your region. For example, an EU01 account uses ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://agent-gateway.eu01.treasure.ai/v1/mcp/<endpoint ID>"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Before you continue, confirm on the detail page that the endpoint is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Active"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enabled"]},", that the executor and the published folder are correct, and that six tools are listed: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_work_folders"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_actions"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["run_action"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_chat"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["continue_chat"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_chat_result"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3-create-an-agent-in-copilot-studio","__idx":5},"children":["Step 3: Create an Agent in Copilot Studio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Build the agent in the Copilot Studio environment that has Dataverse attached, as set up in the prerequisites. Leave the agent in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Draft"]}," until you verify the connection in Step 6."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sign in to Copilot Studio with your work account. In the bottom-left corner, confirm that you are in the intended environment."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Home"]},", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agent"]},", or open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agents"]}," and choose an existing agent."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter a name for the agent, such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["TAIS MCP"]},", and leave it in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Draft"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/microsoft-copilot-studio-home.dc6f3dadee7a8c48471c689cb7659b9eeeac36ce240bf34f5e220998a3c24b2d.5866d770.webp","alt":"Copilot Studio Home page with the Agent, Workflow, and App (preview) creation cards","framed":false,"withLightbox":true,"width":"640px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The agent's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Build"]}," tab holds its ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Instructions"]},". Its ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tools"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Knowledge"]},", and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Channels"]}," appear on the right. You add Treasure AI Studio as a tool in the next step."]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/microsoft-copilot-studio-agent-build.8dc6ff65261533237e0e3d32e160b064b5a196f36f4ecd07938724168caee7ee.5866d770.webp","alt":"Copilot Studio agent Build tab in Draft status, with the Tools section and its plus button on the right","framed":false,"withLightbox":true,"width":"800px"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-4-add-the-studio-mcp-server-as-a-tool","__idx":6},"children":["Step 4: Add the Studio MCP Server as a Tool"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Adding the endpoint as an MCP server makes Copilot Studio discover its six tools. The server description matters, because the agent reads it to decide when to use the tool."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On the agent's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Build"]}," tab, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+"]}," next to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tools"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add a tool"]},", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+ Add"]},", then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Model Context Protocol (MCP)"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add MCP server"]},", enter the values in the table below, then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/microsoft-copilot-studio-add-mcp-tool.27e3a83669a24e3fd4d531867946255a67d096e6871da30c3f4d34a1bd3dbe04.5866d770.webp","alt":"Add a tool dialog with the Add menu open and Model Context Protocol (MCP) highlighted","framed":false,"withLightbox":true,"width":"560px"},"children":[]},{"$$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":{"width":"24%","data-label":"Field"},"children":["Field "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"76%","data-label":"Value"},"children":["Value "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Server name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A recognizable name, such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tais_mcp"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Server description"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["At least 30 characters, for example: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Treasure AI Studio MCP connector for listing work folders, running Actions and managing Studio chats."]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Server URL"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The Connection URL from Step 2, exactly as Treasure AI Studio shows it"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API key"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Parameter type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Header"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Header name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Authorization"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Key value"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bearer tasgwt_<secret>"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/microsoft-copilot-studio-mcp-server-auth.f52a91bf49e5ca9c63fc3c64178305b6eb544ed5e38221a8ec2fa1ee7dcbd814.5866d770.webp","alt":"Add MCP server form with Authentication set to API key, Parameter type set to Header, Header name set to Authorization, and a masked Key value","framed":false,"withLightbox":true,"width":"560px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The key value must include the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bearer"]}," prefix and a space. Without the prefix, Treasure AI Studio refuses the token. Do not choose ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth 2.0"]},", because Copilot Studio's OAuth options cannot complete Treasure AI Studio's sign-in."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-5-create-the-connection-and-add-the-tool","__idx":7},"children":["Step 5: Create the Connection and Add the Tool"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Copilot Studio stores the token in the connection, which the agent uses at run time. Don't copy the token into the agent's instructions."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Select a connection"]},", open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connection"]}," menu and choose ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create new connection"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Optionally, enter a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Display name"]},", such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tais_mcp_connection"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorization"]},", paste ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bearer tasgwt_<secret>"]},", then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check that the connection shows a green checkmark, then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/microsoft-copilot-studio-create-connection.a701d093e71a57ebdee6b0ca403e5b978ceaee94a7a3b6044157d9951f7620d1.5866d770.webp","alt":"Select a connection dialog with the Connection menu open, showing No connections available and Create new connection","framed":false,"withLightbox":true,"width":"560px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The tool now appears under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tools"]}," on the agent's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Build"]}," tab. Open it to confirm that Copilot Studio discovered the six Treasure AI Studio tools."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-6-verify-the-connection","__idx":8},"children":["Step 6: Verify the Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Test the connection with a read-only request in the Copilot Studio test pane before you publish the agent. A successful tool response confirms the connection, and the folder it returns shows what the agent can reach."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Open the agent's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Preview"]}," tab, which is the test pane."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Send this read-only request:"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use Treasure AI Studio to list the Studio work folders I can access. Do not run Actions or change anything."]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check the tool activity in the test pane. The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_work_folders"]}," call returns the shared folder from Step 1, and only that folder."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For a folder that holds CDP data, you can also send ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Show me 10 Parent Segments"]},". The agent returns names, IDs, and sizes, and it typically sends this request to Treasure AI Studio as a chat with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_chat"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A general answer, such as a reply to \"What can you do?\", doesn't prove that the agent reached Treasure AI Studio. Check the tool activity for a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_work_folders"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_chat"]}," call."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"available-tools","__idx":9},"children":["Available Tools"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The agent uses the same six tools that any MCP client receives. The table below lists what each tool takes and does. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-clients"},"children":["Connecting an MCP Client"]}," covers their results and limits in full."]},{"$$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":{"width":"24%","data-label":"Tool"},"children":["Tool "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"28%","data-label":"Inputs"},"children":["Inputs "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"48%","data-label":"What It Does"},"children":["What It Does "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_work_folders"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["None"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lists the work folders this connection can reach. For a static-token endpoint, that is the one published folder"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_actions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["work_folder_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lists the saved Actions in a folder"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["run_action"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["work_folder_id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["action_name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Runs a saved Action"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_chat"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["work_folder_id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Starts a free-form Studio task"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["continue_chat"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chat_id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["message"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sends a follow-up instruction to an existing chat"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_chat_result"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chat_id"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Gets the latest result of a chat, or waits for it to finish"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example prompts for the agent:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["List the Actions in my shared work folder in Treasure AI Studio."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Provide me with the list of available parent segments."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Run the Weekly Summary Action in Treasure AI Studio. If it returns a running status, poll ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_chat_result"]}," until it finishes."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Start a Studio chat that summarizes last week's campaign performance as a table."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the result of the last Studio chat."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Copilot Studio has no per-call approval prompt, such as ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Allow once"]},". To make the agent ask before it runs an Action or starts a chat, add an instruction to the agent's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Instructions"]},", for example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"text","header":{"controls":{"copy":{}}},"source":"Before calling run_action, start_chat or continue_chat, describe what you will do and wait for the user to confirm.\n","lang":"text"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"publish-the-agent-to-teams-and-microsoft-365-copilot","__idx":10},"children":["Publish the Agent to Teams and Microsoft 365 Copilot"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Publish the agent after the test requests in Step 6 behave as expected. Publishing makes the agent available in Microsoft Teams and Microsoft 365 Copilot, and end users use the connection you created in Step 5."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On the agent, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Channels"]}," (or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Publish"]},"), then add ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Microsoft Teams and Microsoft 365 Copilot"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Publish"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the agent in Teams or Microsoft 365 Copilot, and repeat the requests from Step 6. The published agent behaves as it did in the test pane."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Three points apply to end users:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["No token prompt."]}," End users use the connection you created in Step 5. Setting the connection to end-user credentials changes nothing, because the API key stored in the connector is still used."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Everyone acts as the executor."]}," Every user sees the executor's published folder, not their own Studio folders, and uses the executor's permissions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Usage is billed to the executor."]}," Treasure AI Studio attributes all calls and credits to the executor, whoever chats with the agent."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Publish the agent only to people who should see the shared folder's content."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"limits-and-expected-behavior","__idx":11},"children":["Limits and Expected Behavior"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The limits below apply to the agent in Copilot Studio. Plan around them before you design tasks that take longer than a single tool call."]},{"$$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":{"width":"26%","data-label":"Behavior"},"children":["Behavior "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"74%","data-label":"What to Expect"},"children":["What to Expect "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tool call timeout"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Copilot Studio stops waiting for a tool call after 120 seconds. Microsoft sets this value, and it can't be changed. Treasure AI Studio waits up to 200 seconds, so a task that runs longer than 120 seconds is cut off in Copilot, even though it keeps running in Studio. Ask the agent to poll ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_chat_result"]}," with the chat ID instead of starting the task again, or split the work into smaller tasks."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Arguments for Actions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["run_action"]}," takes no arguments. To pass inputs, the agent uses ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["start_chat"]}," and describes the task itself."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Folder writes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The shared folder is read-only. Each chat runs in a temporary workspace that is discarded when the chat ends."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Clarifying questions"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["When Studio asks a question, the result has ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["status: \"question\""]},", and Studio doesn't receive an answer through the connection. The agent can send a follow-up instruction with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["continue_chat"]}," to steer the work. If the agent can't decide, Copilot asks you the question instead."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Folder changes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["New or changed Actions are available at once, without republishing the agent."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output format"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tables and long text display correctly. Copilot doesn't render HTML, so raw HTML appears as text. Ask Studio for a table or plain text instead."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"rotate-or-revoke-the-token","__idx":12},"children":["Rotate or Revoke the Token"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Rotate the token before it expires, or as soon as you suspect it has been exposed. An endpoint can hold more than one token at a time, so you can add the new token to the connection before you revoke the old one, without downtime."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In Treasure AI Studio, open the endpoint under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Agent Channels"]},", and issue a new token. Store the new token immediately."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In Copilot Studio, open the Treasure AI Studio tool, open its connection menu, and update the connection with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bearer <new token>"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Send the read-only request from Step 6 to confirm the new token works. Then revoke the old token in Treasure AI Studio."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To stop access immediately, disable the endpoint in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Agent Channels"]},". Disabling stops requests but doesn't revoke tokens. Re-enabling the endpoint restores access without changing the Copilot Studio connection. Revoking a token or letting it expire also stops all calls, and you restore access by updating the connection with a valid token. Deleting the endpoint also stops all calls. A new endpoint has a new Connection URL, so you must create a new endpoint and a new tool."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"security-notes","__idx":13},"children":["Security Notes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Everyone who can use the published agent gets the same access: the executor's shared folder, Actions, permissions, and credits. Review these controls before you publish."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treat the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tasgwt_"]}," token like a password. Anyone who has it can use the endpoint's folder and Actions."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Choose an executor whose access matches what the agent's users may see. Every user of the published agent acts as that executor."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Don't put the token in agent instructions, the server description, screenshots, Slack, or Confluence."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set an expiration when you create the endpoint, and rotate tokens regularly."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If a token is exposed, revoke it in Treasure AI Studio and issue a new one. Hiding it in a screenshot doesn't revoke it."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Copilot Studio stores the token in a Power Platform connection. Other makers can't read it, and it isn't included when you export the solution."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":14},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Copilot Studio shows the same message for every authentication or permission failure: ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["\"The MCP server didn't accept this connection's credentials or permissions. Update or reconnect the connection from the connection menu, then try again.\""]}," Use the table below to find the cause."]},{"$$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":{"width":"32%","data-label":"Symptom"},"children":["Symptom "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"Likely Cause"},"children":["Likely Cause "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"38%","data-label":"Fix"},"children":["Fix "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Credentials message right after you create the connection"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The value lacks the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bearer"]}," prefix, or the token is wrong or truncated"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Update the connection with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Bearer tasgwt_…"]},", copied in full"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Credentials message on a connection that worked before"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The token expired or was revoked (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["401"]},"), or the endpoint was deleted"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Issue a new token in Treasure AI Studio and update the connection. If the endpoint was deleted, create a new endpoint and a new tool"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Credentials message, but the token is still valid"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The endpoint is disabled or has no executor, or the executor lost access to the folder (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]},")"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Enable the endpoint, or restore the executor's folder access in Treasure AI Studio. See ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-endpoints#endpoint-statuses"},"children":["Static-Token MCP Endpoints"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["A long task never returns, but it completed in Studio"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Copilot Studio stops waiting after 120 seconds"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ask the agent to call ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["get_chat_result"]}," with the chat ID, or split the task"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The agent answers generally without calling Studio"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The request didn't match the tool, or the tool wasn't added"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Make a concrete request that mentions Treasure AI Studio, and check the tool activity. Improve the server description or the agent's instructions if needed"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The agent sees the wrong folder or Actions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The endpoint publishes a different folder than you expected"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Check the endpoint overview in Treasure AI Studio, then ask the agent to run ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_work_folders"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["list_actions"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The agent shows raw HTML"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Copilot doesn't render HTML from tool results"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ask Studio for a table or plain text instead"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You can't create an endpoint"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You don't have ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Manage"]}," on the folder, the folder is archived, or creation is limited to account admins"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Ask a folder manager or an account administrator"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["You can't create the agent or the connection"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Dataverse is missing, the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Microsoft.PowerPlatform"]}," provider isn't registered, billing isn't enabled, or a DLP policy blocks the connector"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Check the prerequisites with your Power Platform and Azure administrators"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":15},"children":["Next Steps"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-endpoints"},"children":["Static-Token MCP Endpoints"]}," — endpoint status, executor handover, and token management."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-clients"},"children":["Connecting an MCP Client"]}," — the six tools, their results, and limits for any MCP client."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/tokens"},"children":["Gateway Tokens and Chat Access Tokens"]}," — token expiration and rotation."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/headless/salesforce-agentforce"},"children":["Connecting Salesforce Agentforce to Treasure AI Studio"]}," — another static-token walkthrough, for Salesforce."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/headless/"},"children":["Headless"]}," — other ways to connect external AI tools to Treasure AI."]}]}]},"headings":[{"value":"Connecting Microsoft Copilot Studio to Treasure AI Studio","id":"connecting-microsoft-copilot-studio-to-treasure-ai-studio","depth":1},{"value":"How the Connection Works","id":"how-the-connection-works","depth":2},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Step 1: Create or Choose a Shared Work Folder","id":"step-1-create-or-choose-a-shared-work-folder","depth":2},{"value":"Step 2: Create a Static-Token MCP Endpoint in Studio","id":"step-2-create-a-static-token-mcp-endpoint-in-studio","depth":2},{"value":"Step 3: Create an Agent in Copilot Studio","id":"step-3-create-an-agent-in-copilot-studio","depth":2},{"value":"Step 4: Add the Studio MCP Server as a Tool","id":"step-4-add-the-studio-mcp-server-as-a-tool","depth":2},{"value":"Step 5: Create the Connection and Add the Tool","id":"step-5-create-the-connection-and-add-the-tool","depth":2},{"value":"Step 6: Verify the Connection","id":"step-6-verify-the-connection","depth":2},{"value":"Available Tools","id":"available-tools","depth":2},{"value":"Publish the Agent to Teams and Microsoft 365 Copilot","id":"publish-the-agent-to-teams-and-microsoft-365-copilot","depth":2},{"value":"Limits and Expected Behavior","id":"limits-and-expected-behavior","depth":2},{"value":"Rotate or Revoke the Token","id":"rotate-or-revoke-the-token","depth":2},{"value":"Security Notes","id":"security-notes","depth":2},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"Next Steps","id":"next-steps","depth":2}],"frontmatter":{"seo":{"title":"Connecting Microsoft Copilot Studio to Treasure AI Studio","description":"Connect Microsoft Copilot Studio agents to Treasure AI Studio with a static-token MCP endpoint, so Teams and Microsoft 365 Copilot can run Actions and chats."}},"lastModified":"2026-11-26T05:22:20.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/headless/microsoft-copilot-studio","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}