Hello everyone
I need to configure from Copilot Studio the user access through SSO to be able to make requests to Microsoft Graph and use the user's current token to get information and the token does not expire.
I have tried this and the system always returns ‘Error message: HTTP request error with status code 401 Unauthorized.’
I think I really have the problem in the part of Azure where you have to configure the URIs.
I need to be able to publish my bot in Teams (which I have been able to do) and from the chat activate a topic that asks Graph for certain information and it returns it to me.
I have tried many things. GETs from Graph itself work fine, but there is something in the permissions that I can't quite get right.
Ensure Azure AD is correctly configured with the required redirect URIs and permissions.
Use SSO in Copilot Studio with the correct connection settings.
Test token retrieval and Graph API calls in debugging mode.
Deploy the bot with the right manifest configuration to Teams.
let me know if you need more details.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.