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 / "Website cannot end wi...
Copilot Studio
Unanswered

"Website cannot end with file extension" error when connecting SharePoint site to knowledge

(2) ShareShare
ReportReport
Posted on by 8
Hi there,

I have been facing the issue of not being able to link certain SharePoint sites to my Copilot Studio Chatbot's knowledge. This is the error message that always pops up:
If I delete the ".aspx?" I am able to connect the site to the bots knowledge.
Unfortunately, when checking the link in the knowledge tab, it does not open the desired SharePoint site.

Is there a workaround for this? Because I don't want the bot to handle a huge database, but instead access the deposited files directly.

I am also aware of the rule, that not more than two branches are allowed when linking a SharePoint site to my Copilot. I just used this longer link for demonstration purposes.
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at
    Hi,
     
    Can you remove the Forms/AllItems.aspx part? That points to the view of your Skills Library.
     
    Try it without that part of the url. Without that part it should still be able to load your library and its default view.
  • SM-10061008-0 Profile Picture
    8 on at
    Thank you for the tip.

    However, when removing the Forms/Allitems part, the bot not only has access to the files in the folder I want it to access, but can see the whole folder one layer above.

    I will try again by rearranging my folder structure.

    Other than that the link now works!
  • Suggested answer
    TheOyinbooke Profile Picture
    17 on at
    I had this same issue today but finally got it resolved.
    Step 1: Go to the Document library where your files are.
    Step 2: Right click on the folder and click on the "Copy link" option
    Step 3: Paste the copied link in the SharePoint URL in Microsoft Copilot Studio (remove every other thing after the question mark "?" towards the end of the URL. Including the question mark too.
    Step 4: Save it

    Voila, it worked
  • Suggested answer
    Vinoth Selvam Profile Picture
    1,590 Super User 2025 Season 2 on at
    Hello,
     
    There were some updates in las couple of months in Copilot studio.
     
    As suggested below, removing the extension .aspx part must work properly now.
     
     
    Thanks.

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard