> For the complete documentation index, see [llms.txt](https://docs.cipp.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cipp.app/user-documentation/teams-share/sharing-report.md).

# Sharing Report

The SharePoint and OneDrive Sharing Report shows the sharing links and external shares across a single tenant's SharePoint sites and OneDrive accounts, drawing attention to the riskiest ones — anonymous links, anonymous links that allow editing or never expire, and shares reaching external recipients. It requires a single tenant to be selected and is not available for All Tenants. The data is compiled from cached scans that you trigger and keep current from this page, and the report can be exported as a PDF.

## Syncing Sharing Data

The report reads from cached scans rather than querying SharePoint and OneDrive live. The first time you open it for a tenant there is no data yet, and a prompt invites you to run a scan. The controls at the top of the page build and refresh that data.

| Control       | Description                                                                                                                                                                                                                                                                                   |
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Sync data     | Queues scans of the tenant's SharePoint sites and OneDrive accounts for sharing links, together with SharePoint and OneDrive usage data. Scanning every drive can take a while on large tenants. Progress is shown next to the button, and the report refreshes itself once the scans finish. |
| Refresh       | Reloads the report from the cached data without running a new scan.                                                                                                                                                                                                                           |
| Export report | Generates a PDF of the current report for the selected tenant.                                                                                                                                                                                                                                |

The time of the last scan is shown as "Last data refresh."

## Summary

A row of headline counts sits above two cards that break the environment down further.

| Indicator               | Description                                                |
| ----------------------- | ---------------------------------------------------------- |
| Sharing Links           | The total number of sharing links found.                   |
| Anonymous Links         | Links that anyone can use without signing in.              |
| External Links & Shares | Links and shares given to people outside the organisation. |
| Internal Links          | Links usable only by people inside the organisation.       |

### Sharing Risk Highlights

| Indicator            | Description                                                          |
| -------------------- | -------------------------------------------------------------------- |
| Anonymous & Editable | Anonymous links that also allow editing.                             |
| Anonymous, No Expiry | Anonymous links with no expiry date set.                             |
| Shared Folders       | Shares placed on a folder, which carry down to everything inside it. |
| External Recipients  | The number of external recipients that items have been shared with.  |

### Environment

| Indicator             | Description                                    |
| --------------------- | ---------------------------------------------- |
| SharePoint Sites      | The number of SharePoint sites in the tenant.  |
| Teams-Connected Sites | SharePoint sites that are connected to a Team. |
| OneDrive Accounts     | The number of OneDrive accounts.               |
| Shared Items          | The number of items that have been shared.     |

## Charts

Once a scan has data, the report charts the sharing links from several angles. The final two charts appear only after usage data has been synced.

| Chart                          | Shows                                                         |
| ------------------------------ | ------------------------------------------------------------- |
| Links by Classification        | The share of links that are anonymous, external, or internal. |
| Top Sites by Sharing Links     | The sites with the most sharing links.                        |
| Links by Type                  | The share of links by link type.                              |
| Top Libraries by Sharing Links | The libraries with the most sharing links.                    |
| Top External Recipients        | The external recipients appearing in the most shares.         |
| Storage Used (GB) by Workload  | Storage used across SharePoint, Teams, and OneDrive.          |
| Files by Workload              | File counts across SharePoint, Teams, and OneDrive.           |

## Table Details

The Sharing Links & External Shares table lists every sharing link and external share found. Selecting a row opens a details flyout with the item's full information, including its site, library, link scope and type, permission, password and expiry, the recipients it is shared with, and links to both the file and the sharing link itself.

| Column                  | Description                                           |
| ----------------------- | ----------------------------------------------------- |
| File Name               | The name of the shared file or folder.                |
| Item Type               | Whether the shared item is a file or a folder.        |
| Workload                | Where the item lives, such as SharePoint or OneDrive. |
| Site Name               | The site the item belongs to.                         |
| Drive Name              | The document library or drive the item is in.         |
| Classification          | Whether the link is Anonymous, External, or Internal. |
| Link Type               | The type of sharing link.                             |
| Link Scope              | Who the link is scoped to.                            |
| Roles                   | The access the link grants, such as read or write.    |
| Shared With             | The recipients the item is shared with.               |
| Has Password            | Whether the sharing link is password protected.       |
| Expiration Date Time    | When the link expires, if an expiry is set.           |
| Last Modified Date Time | When the item was last modified.                      |

### Quick filters

Buttons above the table apply common filters in one click:

| Filter               | Shows                                         |
| -------------------- | --------------------------------------------- |
| Anonymous            | Only anonymous links.                         |
| Anonymous + Editable | Only anonymous links that also allow editing. |
| Folder Shares        | Only shares placed on folders.                |
| External             | Only external links and shares.               |
| Internal             | Only internal links.                          |
| SharePoint           | Only items in SharePoint.                     |
| OneDrive             | Only items in OneDrive.                       |

## Table Actions

| Action              | Description                                                                     | Bulk Action Available |
| ------------------- | ------------------------------------------------------------------------------- | --------------------- |
| Revoke Sharing Link | Removes the selected sharing link, so anyone using it loses access to the item. | ☑                     |
| Open File           | Opens the shared file in a new browser tab.                                     | ☐                     |
| More Info           | Opens the Extended Info flyout with the full details for the selected row.      | ☐                     |

***

## Feature Requests / Ideas

We value your feedback and ideas. Please raise any [feature requests](https://github.com/CyberDrain/CIPP/issues/new?template=feature.yml) on GitHub.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.cipp.app/user-documentation/teams-share/sharing-report.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
