Set up Microsoft SharePoint Document Library
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
- 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.
-
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:
Important:Use the Client ID and Client secret generated from the above step while configuring Rest Connection for File Explorer Microsoft SharePoint connector.Granting access using Microsoft SharePoint App-only is a legacy approach but very relevant and easy to configure. -
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
- Sign in to Azure portal using your Microsoft account.
- Follow the instructions described on the Microsoft portal.
-
Provide ServiceNow AI Platform® instance redirect URL in the
allowed redirect URL field.
For example,
msim.service-now.com/OAuth_redirect.do - Register the application.
-
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.
- Copy and store the client secret generated somewhere as it is required while configuring OAuth application registry on ServiceNow® instance.
-
Under API Permissions, add the Microsoft Graph
permission:
- Click Add a permission.
- Select Microsoft Graph.
- Select Delegated Permissions.
- From the Sites list, select Sites.ReadWrite.All permission.
- From the User list, select User.Read permission.
- Click Add permissions.
-
Under API Permissions, add the SharePoint
permission:
- Click Add a permission.
- Select SharePoint.
- Select Application Permissions.
- From the Sites list, select the Sites.FullControl.All permission.
- Click Add permissions.
- After adding permissions, click on Grant admin consent.
-
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.