Menu Close

Category: Blog

{How to} Reassign an copilot agent’s owner with Power Platform API

Hello Everyone,

Today I am going to share my thoughts on how to reassign an copilot agent’s owner with the Power Platform API.

Let’s get started.

Here are the simple steps to reassign a Copilot Agent Owner using the Power Platform API.

This uses Microsoft Copilot Studio agents stored in Microsoft Dataverse.

Shorter version:

Get API token

Get botid

Get systemuserid of new owner

Send PATCH request to update ownerid

Step 1: Get the Environment URL

Find your Power Platform Environment URL.

Example:

https://yourenvironment.crm.dynamics.com

Step 2: Get an Access Token

Authenticate using Microsoft Entra ID.

You must obtain a Bearer token to call the Power Platform API.

Scope:

https://yourenvironment.crm.dynamics.com/default

Step 3: Get the Copilot Agent ID

Call the API to list agents.

Get https://yourenvironment.crm.dynamics.com/api/data/v9.2/bots

Response example:

JSON

{
“botid”: “11111111-2222-3333-4444-555555555555”,
“name”: “CustomerSupportCopilot”
}

Copy the botid.

Step 4: Get the New Owner User ID

Retrieve the user you want to assign.

GET https://yourenvironment.crm.dynamics.com/api/data/v9.2/systemusers

Find the systemuserid of the new owner.

Step 5: Reassign the Copilot Agent

Send a PATCH request to update the owner.

PATCH https://yourenvironment.crm.dynamics.com/api/data/v9.2/bots(BOT_ID)

Body:

JSON

{
“ownerid@odata.bind”: “/systemusers(NEW_USER_ID)”
}

Example:

JSON
{
“ownerid@odata.bind”: “/systemusers(99999999-8888-7777-6666-555555555555)”
}

Result:

The Copilot agent is now owned by the new user.

That’s it for today.

Until next blog post
Happy Copiloting

aka @uk365guy.

Share this:

{Do you know} Business impact of Copilot Studio Agents in Viva Insights

Hello Everyone,

Today I am going to share my thoughts on analysing the business impact of Copilot Studio Agents in Viva Insights.

Let’s get started.

Copilot Studio Agents integrated within Microsoft Viva Insights help organisations enhance employee productivity, well-being, and collaboration by providing AI-driven personalised recommendations and automated assistance.

Analysing their business impact involves measuring key performance indicators such as time saved on routine tasks, improvements in employee engagement, and quality of decision making support.

Viva Insights leverages data from collaboration tools like Microsoft Teams and Outlook, enabling copilot agents to deliver actionable insights that reduce cognitive load and foster healthier work habits.

The analysis focuses on how these agents continue to increased efficiency, reduced burnout, and improve work-life balance.

Organizations can track metrics such as adoption rates, user feedback, and productivity improvements to assess the effectiveness of Copilot agents. Additionally, integrating feedback loops and sentiment analysis helps refine the AI’s assistance quality over time.

Overall evaluating Copilot Agents in Viva Insights provides a comprehensive understanding of their role in driving digital transformation, enhancing employee experience, and positively impacting organizational performance.

That’s it for today.

I hope this helps.

Malla Reddy Gurram(aka `@uk365guy)

Share this:

{Do you know} Analyze quality of responses that use generative AI in Copilot Studio

Hello Everyone,

Today I am going to share my thoughts on Copilot Studio’s new feature, the quality of responses that use generative AI.

Let’s get started.

Microsoft’s Copilot Studio introduced a new feature on June 17, 2025, enabling administrators, makers, marketers, and analysts to automatically analyse the quality of responses generated by AI copilots. This feature aims to provide actionable insights to enhance agent performance.

The evaluation framework for generative AI (GenAI) systems has been evolving to address the limitations of traditional lab-based assessments.

A comprehensive evaluation framework was proposed to assess GenAI systems in real-world scenarios, emphasising the need for dynamic and ongoing assessments that consider user intent, social dynamics, and emergent behaviours.

Additionally, Google Cloud introduced the GenAI evaluation service within Vertex AI, allowing users to evaluate generative models against predefined or custom criteria. This service supports various metrics, including accuracy, relevance, and user satisfaction, facilitating a more nuanced understanding of AI performance.

These developments reflect a broader trend towards more sophisticated and context-aware evaluations of generative AI systems, moving beyond traditional benchmarks to emcompass real-world performance and user experience.

That’s it for today.

I hope this helps.

Malla Reddy Gurram(@aka UK365GUY)

Share this:

{How to} Use your own model when generating responses in copilot studio.

Hello Everyone,

Today i am going to share my thoughts on how to use your own model when generating responses in copilot studio.

Let’s get’s started.

In Copilot Studio, you can enhance AI behavior and responses by integrating your own custom model instead of relying on the default GPT based assistant. This is particularly useful for organizations that have domain specific data, proprietary language models, or unique use cases that require tailored AI responses. By using own model, you gain greater control over responses logic, accuracy and compliance with general standards or regulations.

To use your own model in Copilot Studio, you typically configure it through plugin actions or APIs.

This involves settings up an external endpoint where your model is hosted(e.g., Azure ML, AWS SageMaker, or a self-hosted REST API). Then you create a plugin in Copilot Studio that calls your model’s API, passing in user input and returning the model’s responses.

You can then use this plugin as a custom action in topics, ensuring your bot routes user queries through your specific model when needed.

+———————+
| User Message |
+———————+
|
v
+————————–+
| Copilot Studio Topic |
+————————–+
|
v
+————————–+
| Custom Plugin Action | <-- Calls your model +--------------------------+ | v +--------------------------+ | Your Custom Model (API) | +--------------------------+ | v +--------------------------+ | Response to Copilot | +--------------------------+ | v +--------------------------+ | User Receives | | Model's Response | +--------------------------+ This setup allows you to combine Copilot's powerful orchestration tools with the unique reasoning and training of your own AI models. That's it for today. Malla Reddy Gurram(@aka UK365GUY) #365blogpostsin365days

Share this: