> For the complete documentation index, see [llms.txt](https://docs.docontrol.io/docontrol-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docontrol.io/docontrol-user-guide/saas-data-monitoring/inventory/inventory-assets/onedrive-assets.md).

# OneDrive assets

The Assets page for OneDrive is displayed according to **Site** view, the content structure for OneDrive. [Filters](#filter-options) are based on permissions.

If you discover specific issues, you can activate on-demand [remediation actions](/docontrol-user-guide/workflows/inventory-actions-quick-actions.md).

{% hint style="info" %}
DoControl displays two views for OneDrive assets:

* **Site view:** All assets are aggregated by sites, just as they appear in OneDrive. Clicking a site opens a filtered page showing assets from the selected site in a Nested view.
* **Nested view:** Assets appear in a nested view. Expanding the nested view shows the break-down of users and permissions by access type.
  {% endhint %}

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FHSBcSTJAYHDAvmJu6iz3%2FOne%20Drive%20assets.png?alt=media&amp;token=2f047d7b-fb61-4434-84f4-18862677f738" alt=""><figcaption></figcaption></figure>

Data for OneDrive assets is displayed according to site view in these columns:

<table><thead><tr><th width="208.33333333333331">OneDrive column</th><th>Description</th></tr></thead><tbody><tr><td>Site name</td><td>Name of OneDrive site</td></tr><tr><td>Public assets</td><td>Number of OneDrive assets that are publicly shared</td></tr><tr><td>External assets</td><td>Number of OneDrive assets that are externally shared</td></tr><tr><td>Organization assets</td><td>Number of OneDrive assets that are shared with the organization's users via a link</td></tr><tr><td>Internal assets</td><td>Number of OneDrive assets that are shared with the organization's users</td></tr><tr><td>Site assets</td><td>Link to OneDrive assets for that site</td></tr><tr><td>URL</td><td>Path to OneDrive site</td></tr></tbody></table>

## Filter options

Filter options for OneDrive sites include the following:

<table><thead><tr><th width="193">OneDrive site filter</th><th width="130">Comparator</th><th>Description</th></tr></thead><tbody><tr><td>Site name</td><td>String </td><td><p>Name of OneDrive site:</p><p>Equals, doesn't equal, starts with, ends with, contains, doesn't contain</p></td></tr><tr><td>Privacy </td><td>Boolean </td><td><p>Privacy setting for OneDrive site:</p><p>Blocked or unblocked</p></td></tr><tr><td>Public assets</td><td>Numeric </td><td><p>Number of OneDrive assets publicly shared:</p><p>Equals, doesn't equal, greater than, lower than</p></td></tr><tr><td>External assets</td><td>Numeric </td><td><p>Number of OneDrive assets externally shared:</p><p>Equals, doesn't equal, greater than, lower than</p></td></tr><tr><td>Organization assets</td><td>Numeric </td><td><p>Number of OneDrive organization assets:</p><p>Equals, doesn't equal, greater than, lower than</p></td></tr><tr><td>Internal assets</td><td>Numeric </td><td><p>Number of OneDrive assets internally shared:</p><p>Equals, doesn't equal, greater than, lower than</p></td></tr><tr><td>URL</td><td>String </td><td><p>Unique path to OneDrive site:</p><p>Equals, doesn't equal, starts with, ends with, contains, doesn't contain</p></td></tr></tbody></table>

Filter options for OneDrive assets include the following:

<table><thead><tr><th width="217">OneDrive asset filter</th><th width="130">Comparator</th><th>Description</th></tr></thead><tbody><tr><td>Access type</td><td>Includes or excludes </td><td><p>Type of link used to share the asset:</p><ul><li>Anonymous</li><li>Organization</li><li>Specific people</li><li>Direct</li></ul></td></tr><tr><td>Sharing status </td><td>Includes or excludes </td><td>How the asset is shared:<br>- Internal <br>- External<br>- Public<br>- Organization<br>For more information, see <a href="/docontrol-user-guide/saas-data-monitoring/inventory/inventory-assets.md#sharepoint-onedrive-teams">OneDrive sharing status</a>.</td></tr><tr><td>Email</td><td>String </td><td><p>Email of the asset owner or user with read and write permissions.</p><p>Equals, doesn't equal, starts with, ends with, contains, doesn't contain</p></td></tr><tr><td>Role</td><td>Includes or excludes </td><td>Read, write, owner</td></tr><tr><td>Password protected</td><td>Boolean</td><td>Protected or unprotected</td></tr><tr><td>Expiration date</td><td>Date </td><td><p>Date when OneDrive asset expires:</p><p>Equals, after, before, is between</p></td></tr><tr><td></td><td></td><td></td></tr></tbody></table>

## All Assets View

There is also an [All Assets](https://app.docontrol.io/inventory/assets/sharepoint/all-assets) view alongside the existing Sites view.\
\
With this view, users can:<br>

* Browse all Microsoft assets (per Microsoft app) in a single, dedicated view
* Filter and search assets easily
* Investigate permissions from an asset-first perspective
* Continue using the same remediation flows they’re familiar with from the Sites view
* See newly discovered assets much faster.&#x20;

Assets are now added to the inventory based on incoming events, so users no longer have to wait for a full Sites sync before assets within a site become visible.\
\
Note: The All Assets view requires more database resources than the existing Sites view.

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FldE7Qe8WFlTq0NBeOPuh%2FScreenshot%202026-07-01%20at%209.07.24.png?alt=media&amp;token=6eb80440-54c0-4711-b191-4bbe32d2b16e" alt=""><figcaption></figcaption></figure>

## Use cases

Common use case filtering examples for OneDrive include:&#x20;

Finding all publicly shared files that are not password protected

`Sharing status includes Public`

`Password protected equals Unprotected`

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FbV7WwuE02sze6jrSaQyu%2Fonedrive%20use%20case%20.png?alt=media&amp;token=d03777ee-b660-42ba-8bca-6c9e16fbf017" alt=""><figcaption><p>Filtering for publicly shared OneDrive assets that are not password protected</p></figcaption></figure>

## Inventory actions

Inventory actions are supported for OneDrive assets that are shared externally, or have sharing links:

* [Remove all external collaborators](/docontrol-user-guide/workflows/inventory-actions-quick-actions/onedrive-inventory-actions.md#remove-all-external-collaborators)
* [Remove organization link](/docontrol-user-guide/workflows/inventory-actions-quick-actions/onedrive-inventory-actions.md#remove-organization-link)
* [Remove public sharing](/docontrol-user-guide/workflows/inventory-actions-quick-actions/onedrive-inventory-actions.md#remove-public-sharing)

{% hint style="info" %}
For more information, see [Inventory actions for OneDrive](/docontrol-user-guide/workflows/inventory-actions-quick-actions/onedrive-inventory-actions.md).
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docontrol.io/docontrol-user-guide/saas-data-monitoring/inventory/inventory-assets/onedrive-assets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
