Skip to main content

Knowbot: Set up a SharePoint File Scraper

Written by Maria Ørgaard

Want to keep Knowbot automatically up to date with the latest files from your SharePoint? With the SharePoint File Scraper, you can sync internal documents like guidelines, policies, and procedures - making it easier than ever for your team to get instant answers.

Here’s how to set it up in just a few steps:


🚀 Step-by-Step Setup Guide

  1. Go to portal.azure.com
    This is where you’ll register the app to give Knowbot access.

  2. Open "Microsoft Entra ID"
    (Previously known as Azure Active Directory)


  3. In the left menu, go to "App registrations" and click “New registration”

    1. Choose a name like: Knowbot SharePoint File Scraper

    2. Press Register


  4. Go to “API permissions” → “Add a permission”

    1. Select Graph

    2. Then choose Application permissions

    3. Check the box for: Sites.Read.All

    4. Remember to Grant Admin consent


      This gives Knowbot read-only access to your company’s SharePoint files.

  5. Go to “Certificates & secrets” → Create a new client secret

    1. Name it whatever you like.

    2. Set an expiration that fits your security policy.

    3. After saving: Copy the value. This will be used to set up the file

      scraper in Learningbank.

  6. Lastly, go to “Overview”

    1. Copy the Client ID and Tenant ID.
      You’ll need both of these when connecting SharePoint to Knowbot.


✅ What’s Next?

Once you’ve got your:

  • Client ID

  • Tenant ID

  • Client Secret

…you’re ready to finish the setup in the platform.

If you're unsure where to add these values, reach out to the support - we’ve got your back 💬


After setup

You have not set everything up correctly and the steps above should only be done once.

  • Go to Knowbot under Manage

  • Press Create Sync and choose Sharepoint

  • Go to sharepoint and choose which file or folder you want to sync.

  • Copy the url from the adress bar and paste in to the url field in Knowbot


👀 Need to Know

  • This integration only works if your SharePoint is accessible by your Microsoft Entra ID setup (formerly Azure AD).

  • We recommend setting a reminder to rotate your client secret regularly.

  • Only users with admin rights in Microsoft Azure can complete this setup.

  • One files within folders can be scraped.

Did this answer your question?