Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
This article will walk you through how to create a declarative agent for Copilot that uses an MCP plugin to connect MSFT 365 Copilot with Qlik’s MCP Server. Please note that several prerequisites must be met to execute the steps in this guide successfully.
Once you complete these steps, Agents Toolkit generates the required files for the agent and opens a new Visual Studio Code window with the agent project loaded.
http://127.0.0.1:33418, http://127.0.0.1:33418/, and https://vscode.dev/redirect are redirect URLs for VS Code used for development and testing. https://teams.microsoft.com/api/platform/v1.0/oAuthRedirect will be the redirect URL when the plugin is provisioned and deployed.
Once you are ready to publish (share your agent with others), follow these steps (please see the reference link below for more detailed information from Microsoft).
Please reference Microsoft’s official guidance for more information on Publishing agents for Microsoft 365 Copilot.
Thanks for this.
Hi Steve,
I am getting the following error when authenticating in VSC and cannot re enter the client id: "
{"errors":[{"title":"Invalid client_id","detail":"OAuth client is not authorized","code":"OAUTH-14","status":"400"}],"traceId":"4b975dc8182b0129faaa0552409c6744"}any idea on how I can re enter the client id? I have created a new OAuth connection in Qlik and a new project in VSC but it still gives me te error.
thank you,
Dominique
That error seems like a scope or permission issue. Please confirm that the OAuth Client has the user_default and mcp:execute scopes and that your user has the MCP permission.
@banderson735 the OAuth Client has the user_default and mcp:execute scopes, but I needed to add a new permission for the user. With the new permission for the user, it still gives the same error.
Can you please outline the steps that you're taking and provide screenshots (do not include private or sensitive data)? I'm not able to replicate this error, so I need a better understanding of your configuration steps to try to reproduce and troubleshoot your issue.
@banderson735 I have noticed that, even though I followed all step in Qlik Admin Center, the endpoint does not exist.
{
"error": "no such route",
"message": "The requested API endpoint does not exist."
}So, I logged a case to see if there is something else wrong.
In this demo video, Copilot Chat accesses Qlik via an MCP server. With a similar configuration, is it also possible to access Qlik via an MCP server from the Copilot Cowork interface?
The reason for this is that our clients are currently utilizing the Copilot Work interface instead of Copilot Chat.
Hi @banderson735 ,
Thank you for this article! We implemented the integration between Microsoft 365 Copilot and Qlik's MCP Server by following your guide step by step, and the setup works as described: the connection is established, the declarative agent can access our Qlik apps, and responses are generated.
However, we've noticed that the quality of Copilot's responses is significantly lower than what we get with:
Copilot's answers are often less accurate, less structured, and sometimes incomplete — even though the underlying data source and MCP tools are identical.
Our questions
Could you please advise on:
Thanks in advance for your support!
Best regards