Skip to main content

Enabling Graph API Permissions New app - For SharePoint Search

Enabling Graph API Permissions For the bot to Search SharePoint Knowledge Articles

REGISTER APP IN AZURE AD To allow the bot to perform automation for your end-user, we need SharePoint site ID and to enable certain Graph API(s). We will guide you through how to do this in Azure AD. Please note that the SharePoint page being used should be open to all of the bot end-users. This is to avoid them not being able to open/access documents or any other material that may be returned by the bot. ENABLE GRAPH API Graph API Permissions are Required for the bot to be able to search and provide knowledge articles from SharePoint.

  1. Sites.Read.All
  2. Files.Read.All (if documents are saved to OneDrive) TYPE OF PERMISSIONS REQUIRED
  1. Application permissions Instructions Part A
  1. Open your Portal

  2. Click on the View button for Manage Azure Active Directory

  3. Click on App Registration and then select New Registration

  4. Enter a name to call this set up i.e BotName GraphAPI for Teams, make sure “Accounts in this organizational directory only (Actionable Science Inc. only - Single tenant)” is selected and click Register

  5. The App Overview page will open, look for API Permissions in the left hand side menu and click on it

  6. Select Add a Permission on the main part of the page

  7. Select Microsoft Graph Teams and click Register

This document contains proprietary information owned by Rezolve.ai and must not be5 d. istr ibuted outside without authorization. 11501 Dublin Blvd STE 200, Dublin, CA 94568 info@rezolve.ai | www.rezolve.ai 8. Click on the Delegated Permission option 7. 8. 9. Type Site in the search box, select Sites.Read.All and click Add Permissions 10. Click Add a Permission > Microsoft Graph > Application permissions again 11. Type File in the search box, this time select Files.Read.All and click Add Permissions Here is an example: 9.

  1. Close the Request API Permissions box so you are back at the Configure permissions screen
  2. Select Grant admin consent for …
  3. Click Yes to Grant admin consent confirmation
  4. Confirm that the screen looks similar to below with your listed permissions, Admin Consent Req set to Yes and Granted for has a green check

Instructions Part B

  1. Look for Certificates & secrets in the left hand side menu and select it

  2. Then select New client secret on the main part of the page

  3. Enter a description i.e. RezolveAIBot and click Add

  4. Copy the Value and Secret ID and save them somewhere

  5. Select Overview in the left hand side menu

  6. Copy the Application (client) ID and save with Client Secret ID

  7. Select Manifest in the left hand side menu

  8. Click on Download

  9. Send the SharePoint Site ID, Application (client) ID, Client Secret ID, Client Secret Value and the downloaded Manifest to Rezolve

Page 2 Image

Page 3 Image

Page 3 Image

Page 4 Image

Page 4 Image

Page 5 Image

Page 5 Image

Page 6 Image

Page 6 Image

Page 6 Image

Page 7 Image

Page 8 Image

Page 9 Image

Page 9 Image

Page 10 Image