Hi everyone,
I'm trying to integrate a Copilot Studio agent with my custom application using Direct Line API.
I have successfully obtained the Direct Line Secret from:
Then I use the following request to generate a token:
HTTP
This returns a Direct Line token successfully.
However, I'm confused after reading the Microsoft documentation:Publish an agent to mobile or custom apps - Microsoft Copilot Studio | Microsoft Learn
The article mentions obtaining a Token Endpoint and using it to establish a connection with the agent.
My questions are:
What is the relationship between:
- Direct Line Secret
- Direct Line Token
- Token Endpoint
My agent currently uses Microsoft Authentication. The Channels page only shows:d does not show any Custom App or Mobile App channel.
Is Direct Line still supported in this scenario, or do I need to switch to Authenticate manually before using Direct Line?
If I switch to "Authenticate manually", what additional configuration is required?
Thanks!

Report
All responses (
Answers (