Set up Microsoft SharePoint Document Library

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • Review the required set up which is needed to be done in the Microsoft SharePoint.

    Before you begin

    Verify the following configuration procedure is completed.

    Role required: System Administrator, sn_msi.workspace_admin

    Procedure

    1. Create a new document library under new or existing Microsoft SharePoint Site and use that same Site while configuring the Major Security Incident Management File repository configuration.
    2. Register an application with Microsoft to establish a connection and communicate with Microsoft SharePoint using Microsoft SharePoint Rest API.
      Registering the application establishes a connection between the app and Microsoft. For more information, see Set up app-only access to SharePoint on docs.microsoft.com portal.

      There are two ways of registering an application with Microsoft SharePoint:

      1. Granting access via Azure AD App-Only

      2. Granting access using Microsoft SharePoint App-Only

      Important:
      Granting access using Microsoft SharePoint App-only is a legacy approach but very relevant and easy to configure.
      Use the Client ID and Client secret generated from the above step while configuring Rest Connection for File Explorer Microsoft SharePoint connector.
    3. Register one more app with Microsoft to communicate with Microsoft SharePoint using Microsoft Graph APIs.
      For more information, see Register an application with the Microsoft identity platform Register a new application on Azure with ServiceNow AI Platform instance
      1. Sign in to Azure portal using your Microsoft account.
      2. Follow the instructions described on the Microsoft portal.
      3. Provide ServiceNow AI Platform® instance redirect URL in the allowed redirect URL field.
        For example, msim.service-now.com/OAuth_redirect.do Application Registration
      4. Register the application.
      5. Navigate to Certificates & secrets section and create a new client secret.
        Note:
        You can upload a client certificate also and make sure to copy and store the generated Thumbprint value.
      6. Copy and store the client secret generated somewhere as it is required while configuring OAuth application registry on ServiceNow® instance.
    4. Under API Permissions, add the Microsoft Graph permission:
      1. Click Add a permission.
      2. Select Microsoft Graph.
      3. Select Delegated Permissions.
      4. From the Sites list, select Sites.ReadWrite.All permission.
      5. From the User list, select User.Read permission.
      6. Click Add permissions.
    5. Under API Permissions, add the SharePoint permission:
      1. Click Add a permission.
      2. Select SharePoint.
      3. Select Application Permissions.
      4. From the Sites list, select the Sites.FullControl.All permission.
      5. Click Add permissions.
    6. After adding permissions, click on Grant admin consent.
    7. Use the same Client Id and Client secret values generated from this application registry (which is available in the Overview section) while configuring Graph Connection for File Explorer Microsoft Teams connector.
      Application Registry