# SharePoint

## Introduction&#x20;

SharePoint is a cloud-based collaboration and document management platform that enables teams and organizations to store, share, and collaborate on content and documents in a secure and efficient manner. SharePoint provides a wide range of features and capabilities, including document management, team collaboration, workflow automation, search, and business intelligence. This guide will walk you through the steps required to integrate SharePoint with Perimeters.

## Available Features

* Misconfiguration Rules
* User Inventory
* User Status

## Prerequisites

* A Microsoft 365  Business Basic subscription or higher.
* A User Account with a Site Membership along with Privileged Role Administrator, Global Reader Role, and SharePoint Administrator Role or alternatively, a Global Administrator Role that also has SharePoint Administrator Role.

## Required Privileges

| Scopes                                       | Use                                                                  |
| -------------------------------------------- | -------------------------------------------------------------------- |
| Read directory data                          | Read Access to Organization Information, Roles and Role Assignments. |
| Read SharePoint and OneDrive tenant settings | Read Access to Organization SharePoint Configurations and Settings.  |
| Read items in all site collections           | Read Access to Organization Sites' Metadata.                         |
| Read directory RBAC settings                 | Read Access to Users' Roles and Access.                              |
| Read managed metadata                        | Read Access to Public Sites' Metadata.                               |
| Read and query your audit log activities     | Read Access to Organization Audit Logs                               |
| Read Reports                                 | Read Reports                                                         |

#### Note : Perimeters utilizes Microsoft Graph APIs and Microsoft Sharepoint Module for deep integration, therefore Perimeters requests two types of OAuth tokens for both services.

## Onboarding Sharepoint in your Perimeters account

1. Go to "Integrations" -> Select "Microsoft Sharepoint" -> Click "+ Add" -> Click "+ Start Integration".
2. **"Namespace" -** \
   Fill in the url for your SharePoint instance . For example, if your SharePoint instance url is "<https://perimeters-admin.sharepoint.com/>" you would enter "<https://perimeters-admin.sharepoint.com>" in this field.
3. **“Step 1: OAuth” -** \
   Click "Sign in with Microsoft SharePoint" to give Perimeters access to your Organization (Microsoft SharePoint) Inventory.
4. **"Step 2: OAuth" -**\
   Click "Sign in with Microsoft SharePoint" to give Perimeters access to your Microsoft SharePoint Settings.
5. Click **"Finish"** to complete the onboarding process.

Once you have completed these steps, SharePoint should be successfully integrated with your Perimeters account.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.perimeters.io/perimeters-documentation/connecting-perimeters/integrations-for-security-insights/saas-applications/sharepoint.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
