web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Virtual Agent for Shar...
Copilot Studio
Unanswered

Virtual Agent for Sharepoint help with authentication

(0) ShareShare
ReportReport
Posted on by

Hi, Ive followed a guide and setup a chatbot on a Sharepoint site. https://learn.microsoft.com/sv-se/microsoft-copilot-studio/configuration-end-user-authentication?source=recommendations

then this guide to crate app: https://learn.microsoft.com/sv-se/microsoft-copilot-studio/configuration-authentication-azure-ad

the chat is up and running on Sharepoint but i get this error when i login

 

Request Id: abb03d95-dbe3-4a21-a9d2-f562ceae1200 Correlation Id: 5233a813-dc06-44a1-8069-0d86334359e9 Timestamp: 2023-12-13T11:05:02Z Message: AADSTS650057: Invalid resource. The client has requested access to a resource which is not listed in the requested permissions in the client's application registration. Client app ID: 75eb0b10-414a-4be7-82ba-b833ada2b221(Cheffelo Chat Companion (Power Virtual Agents)). Resource value from request: https://management.core.windows.net/. Resource app ID: 797f4846-ba00-4fd7-ba43-dac1f8f63013. List of valid resources from app registration: 00000003-0000-0000-c000-000000000000, 00000002-0000-0000-c000-000000000000.

 

also 

 

{ "error": { "code": "ServiceError", "message": "Missing required query string parameter: code. Url = https://europe.token.botframework.com/.auth/web/redirect?error=access_denied&error_description=AADSTS650057%3a+Invalid+resource.+The+client+has+requested+access+to+a+resource+which+is+not+listed+in+the+requested+permissions+in+the+client%27s+application+registration.+Client+app+ID%3a+75eb0b10-414a-4be7-82ba-b833ada2b221(Cheffelo+Chat+Companion+(Power+Virtual+Agents)).+Resource+value+from+request%3a+https%3a%2f%2fmanagement.core.windows.net%2f.+Resource+app+ID%3a+797f4846-ba00-4fd7-ba43-dac1f8f63013.+List+of+valid+resources+from+app+registration%3a+00000003-0000-0000-c000-000000000000%2c+00000002-0000-0000-c000-000000000000.+Trace+ID%3a+c0c29387-5db3-4c51-b636-4dff95553e00+Correlation+ID%3a+2f0eb19d-cff7-4207-b8f6-dba6a7bd463e+Timestamp%3a+2023-12-14+09%3a52%3a31Z&state=5adfe5ce23f547ff830b2da7f7f2dbad" } }

Categories:
I have the same question (0)
  • adilei Profile Picture
    on at

    We have a new sample for a SharePoint component that supports SSO. The sample includes detailed instructions on the required configuration as well. See if this helps.

     

    CopilotStudioSamples/SharePointSSOComponent at master · microsoft/CopilotStudioSamples (github.com)

  • Angerfist Profile Picture
    13 on at

    Thank you, i will save and try this also, i got my setup to work and it seems to read our internal sharepoint, finds guides etc and present them, not the best but progress.

     

    my question is this now, is this chatgpt behing or do i need to setup something more, cause my bot cant give answers to anything else, like 1+1 or current date, it says cant understand.

     

    So question is, this isnt chatgpt out of the box bot, what is the next step to do here to make it smarter?

  • adilei Profile Picture
    on at

    Can you share what was the fix for your issue and provide the solution for the benefit of other community members? 

    You can flag me on a different post with your follow-up question.

     

    Thanks!

  • Angerfist Profile Picture
    13 on at

     no idea, i deleted the bot entirely and created a new one, it might have been that the wrong app id was inputed in first bot and/or the client secret value, i dont know exactly.

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 228

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 182 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 112

Last 30 days Overall leaderboard