Skip to content

Commit 570eb17

Browse files
CSOAR-3738: Microsoft-Sharepoint (Graph) Integration (#5904)
* CSOAR-3738: Added microsoft sharepoint graph integration * CSOAR-3738: Added Microsoft graph support * Updates from review --------- Co-authored-by: John Pipkin <[email protected]>
1 parent 92c4e12 commit 570eb17

File tree

3 files changed

+126
-0
lines changed

3 files changed

+126
-0
lines changed
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
---
2+
title: Microsoft SharePoint (Graph)
3+
description: ''
4+
---
5+
import useBaseUrl from '@docusaurus/useBaseUrl';
6+
7+
<img src={useBaseUrl('/img/platform-services/automation-service/app-central/logos/microsoft-sharepoint.png')} alt="microsoft-sharepoint" width="100"/>
8+
9+
***Version: 1.0
10+
Updated: October 10, 2025***
11+
12+
Utilize Microsoft SharePoint lists, files, and folders during incident investigations.
13+
14+
## Actions
15+
16+
* **Get List** (*Enrichment*) - Gather a specified list from SharePoint.
17+
* **Get Lists** (*Enrichment*) - Gather all lists from SharePoint.
18+
* **Get Files** (*Enrichment*) - Gather all files from SharePoint.
19+
* **Get Folders** (*Enrichment*) - Gather all folders from SharePoint.
20+
* **Get File** (*Enrichment*) - Gather a specific file from SharePoint.
21+
* **Get List Fields** (*Enrichment*) - Gather all list fields from SharePoint.
22+
* **Create List** (*Notification*) - Create a new list.
23+
* **Add File** (*Notification*) - Add a new file to SharePoint.
24+
* **Add List Item** (*Notification*) - Add a new list item.
25+
26+
### Register an application
27+
28+
Registering your application establishes a trust relationship between your app and the Microsoft identity platform. The trust is unidirectional. Your app trusts the Microsoft identity platform, and not the other way around.
29+
30+
Follow these steps to create the app registration:
31+
32+
1. Sign in to the [Azure portal](https://portal.azure.com/).
33+
2. If you have access to multiple tenants, use the Directory + subscription filter <br/>Click <img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/microsoft-ews/microsoft-ews-1.png')} style={{border:'1px solid gray'}} alt="/microsoft-ews" width="30"/> in the top menu to select the tenant in which you want to register an application.
34+
3. Search for and select the **Azure Active Directory**.
35+
4. Under **Manage**, select **App registrations > New registration**.
36+
5. Enter a **Name** for your application. Users of your app might see this name, and you can change it later.
37+
6. Select **Register** to complete the initial app registration.
38+
7. Don't enter anything for **Redirect URI (optional)**.<br/><img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/microsoft-ews/microsoft-ews-2.png')} style={{border:'1px solid gray'}} alt="/microsoft-ews" width="800"/>
39+
40+
When registration completes, the Azure portal displays the app registration's **Overview** pane, which includes its Application (client) ID. Also referred to as just client ID, this value uniquely identifies your application in the Microsoft identity platform.
41+
42+
The client ID is one aspect in validating the security tokens it receives from the identity platform.<br/><img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/microsoft-ews/microsoft-ews-3.png')} style={{border:'1px solid gray'}} alt="/microsoft-ews" width="800"/>
43+
44+
### Add credentials
45+
46+
Credentials are used by confidential client applications that access an API. Examples of confidential clients are web apps, or service- and daemon-type applications. Credentials allow your application to authenticate as itself, requiring no interaction from a user at runtime.
47+
48+
You can add client secrets (a string) as credentials to your confidential client app registration.
49+
50+
<img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/microsoft-ews/microsoft-ews-4.png')} style={{border:'1px solid gray'}} alt="/microsoft-ews" width="800"/>
51+
52+
### Add a client secret
53+
54+
The client secret, known also as an application password, is a string value of your app.
55+
56+
1. Select your application in App registrations in the Azure portal.
57+
2. Select **Certificates & secrets > New client secret**.
58+
3. Add a description for your client secret.
59+
4. Select a duration.
60+
5. Select **Add**.
61+
6. Record the secret's value for use in your client application code. It's never displayed again after you leave this page.
62+
63+
### Add permissions to API
64+
65+
1. Select your application in **App registrations** in the Azure portal.
66+
2. Select **API permissions > Add a permission**.
67+
3. Application permissions are for service- or daemon-type applications that need to access API as themselves, without user interaction for sign-in or consent, unless you've defined application roles for your API.
68+
4. Select **Add a permission**, and add the following permissions: <br/><img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/microsoft-sharepoint/microsoft-sharepoint-graph.png')} style={{border:'1px solid gray'}} alt="/microsoft-ews" width="800"/>
69+
70+
#### Microsoft Sharepoint (Graph) API to be configured for these permissions
71+
72+
Applications are authorized to call APIs when they are granted permissions by users or administrators as part of the consent process. The list of configured permissions should include all the permissions the application needs.
73+
74+
**API / Permissions**
75+
76+
Microsoft Graph (7)
77+
78+
* Sites.FullControl.All
79+
+ Type: Application
80+
+ Description: Have full control of all site collections
81+
+ Admin: -
82+
* Sites.Manage.All
83+
+ Type: Application
84+
+ Description: Create, edit, and delete items and lists in all site collections
85+
+ Admin: Yes
86+
* Sites.ReadWrite.All
87+
+ Type: Application
88+
+ Description: Read and write items in all site collections
89+
+ Admin: Yes
90+
91+
## Configure Microsoft SharePoint in Automation Service and Cloud SOAR
92+
93+
import IntegrationsAuth from '../../../../reuse/integrations-authentication.md';
94+
import IntegrationCertificate from '../../../../reuse/automation-service/integration-certificate.md';
95+
import IntegrationEngine from '../../../../reuse/automation-service/integration-engine.md';
96+
import IntegrationLabel from '../../../../reuse/automation-service/integration-label.md';
97+
import IntegrationProxy from '../../../../reuse/automation-service/integration-proxy.md';
98+
import IntegrationTimeout from '../../../../reuse/automation-service/integration-timeout.md';
99+
100+
<IntegrationsAuth/>
101+
* <IntegrationLabel/>
102+
* **Microsoft Graph URL**. Enter Microsoft Graph URL, `https://graph.microsoft.com/v1.0`
103+
104+
* **Tenant ID**. Enter the [tenant ID](https://learn.microsoft.com/en-us/entra/fundamentals/how-to-find-tenant) for authentication.
105+
106+
* **Client ID**. Enter the client ID for authentication.
107+
108+
* **Client Secret**. Enter the client secret for authentication.
109+
110+
* **Microsoft SharePoint Site Name.**. Enter the Microsoft Sharepoint Site Name.
111+
112+
* **Microsoft SharePoint HostName**. Enter the Microsoft Sharepoint HostName.
113+
114+
* **Microsoft Graph Scope**. Enter the scope.
115+
* <IntegrationTimeout/>
116+
* <IntegrationCertificate/>
117+
* <IntegrationEngine/>
118+
* <IntegrationProxy/>
119+
120+
<img src={useBaseUrl('/img/platform-services/automation-service/app-central/integrations/misc/microsoft-sharepoint-configuration-graph.png')} style={{border:'1px solid gray'}} alt="Microsoft SharePoint configuration" width="400"/>
121+
122+
For information about Microsoft SharePoint, see [SharePoint documentation](https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/sharepoint-admin-apis-authentication-and-authorization).
123+
124+
## Change Log
125+
126+
* October 10, 2025 - First upload
415 KB
Loading
148 KB
Loading

0 commit comments

Comments
 (0)