> For the complete documentation index, see [llms.txt](https://docs.fenixpyre.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fenixpyre.com/fenixpyre-for-admins/admin-dashboard/integrations/sharepoint-onedrive/how-to-configure-auto-encrypted-folders.md). Agents can also search and read this documentation through its [MCP server](https://docs.fenixpyre.com/~gitbook/mcp).

# How to configure Auto Encrypted folders

Folders set up for auto-encryption automatically encrypt files that are added to them through SharePoint and OneDrive. There are three ways to set it up:

| Method                                    | Best for                                                              |
| ----------------------------------------- | --------------------------------------------------------------------- |
| **Admin Dashboard** (Add auto-encryption) | Setting up many drives or folders across sites from one place         |
| **Protected folder in a user policy**     | Protecting a folder and turning on auto-encryption for it in one step |
| **Right-click in SharePoint/OneDrive**    | Quickly enabling a single folder while you're browsing it             |

{% hint style="info" %}
The SharePoint integration must be [configured in the Admin Dashboard](https://docs.fenixpyre.com/fenixpyre-for-admins/admin-dashboard/integrations/sharepoint-onedrive/how-to-configure-sharepoint-integration-in-admin-dashboard.md) before you can set up auto-encryption folders. Auto-encryption can only be set up by a FenixPyre administrator.
{% endhint %}

## Option 1: Set up auto-encryption from the Admin Dashboard

1. Log in to the FenixPyre Admin Dashboard and go to **Integrations** → **SharePoint**.
2. Open the **Auto-Encryption** tab. It lists the folders that are already set up.
3. Click **Add** at the top right of the list. The **Add auto-encryption** panel opens with two tabs: **Sites & Drives** and **Folders**.
4. Select what you want to encrypt (see below). You can use both tabs in the same session. Everything you select is collected in a bar at the bottom of the panel.
5. Review your selection and click **Add N items** (for example, **Add 3 items**).

<div><figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FBka62DjUVZWv75vfD0Xe%2F01-sharepoint-auto-encryption-tab-add-button.jpg?alt=media&amp;token=12b2806a-ebfa-465c-a080-9e35af6d3e89" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2Fle171bujdDUgS9VBVEgm%2F02-sharepoint-add-panel-sites.jpg?alt=media&amp;token=0873cbbb-383e-4128-94b0-64f8f68b666b" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
If you don't see the **Add** button, the feature may not be enabled for your organization yet. Contact FenixPyre support. If you see a **Setup required** message, set up your SharePoint URL in the **Settings** tab first.
{% endhint %}

### Select drives in Sites & Drives

1. Use **Search sites** to find a site, then click the site to open it. Sites can't be selected themselves; you open a site to see its drives.
2. Tick the drives you want to auto-encrypt. Use **Search drives** to find a drive, or **Select all** to tick all the drives loaded for that site.
3. Use the back arrow to return to the list of sites and select drives from other sites.

Drives that are already set up are marked **Already added** and can't be selected again. Use the switch beside one to turn auto-encryption on or off for that drive. Turning it off asks you to confirm, because it pauses monitoring for the drive.

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FxsyWKqhsMjUeIgfhEtYR%2F03-sharepoint-add-panel-drives-already-added.jpg?alt=media&amp;token=f2fed87e-5a57-42b4-89c7-fece7d8632c0" alt=""><figcaption></figcaption></figure>

### Add a folder from a link in the Folders tab

1. Open the **Folders** tab.
2. Copy the link to the folder from SharePoint or OneDrive in your browser and paste it into **Paste a SharePoint folder link**. FenixPyre resolves the link and shows the drive and the folder it points to.
3. Choose what to encrypt:

   * **This folder only** (selected by default)
   * **Entire drive:** every file in the drive the folder belongs to

   If the folder you pasted is already set up, it is marked **Already added** (with a switch to turn auto-encryption on or off) and **Entire drive** is selected instead.
4. To add more folders, repeat with another link. Each one is added to the selection bar.

If FenixPyre can't resolve the link, you'll see **Couldn't resolve this link. Check it and try again.** Check that you copied the full link to the folder, and that the FenixPyre integration has access to that site or drive.

<div><figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2Fqueb1bBpFrLdgFETS3KY%2F06-sharepoint-folders-tab-empty.jpg?alt=media&amp;token=c85a1e3e-837c-42e9-99c3-12637a323f32" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FKz5IQdeAkvuj1eNkhxr9%2F07-sharepoint-folders-link-resolved.jpg?alt=media&amp;token=9437a577-3c33-400c-a192-251a60a39184" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FAQLpYybinpdOvKGJDavT%2F08-sharepoint-folders-link-already-added.jpg?alt=media&amp;token=7ff66d59-43a9-4ca8-a1da-00ea055eb874" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FTL5vrmN1LL0c6XP9OQ71%2F09-sharepoint-folders-link-error.jpg?alt=media&amp;token=379afb99-d859-4c1b-897f-356ca4cbef1f" alt=""><figcaption></figcaption></figure></div>

### Review and save

The bar at the bottom shows **N items selected**. Click it to expand the list, and use the **x** beside an item to remove it. Then click **Add N items**.

* If everything is saved, the panel closes and a message shows how many items were added or were already configured.
* If some items fail, the rest are still saved and removed from the bar. The failed items stay selected so you can retry or remove them, and the panel stays open.
* If you close the panel with unsaved selections, FenixPyre asks you to confirm that you want to discard them.

Saved folders appear in the Auto-Encryption list, and new files added to them are encrypted automatically.

<div><figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FBydykp0C9EOrR8NSOVdf%2F04-sharepoint-selection-bar-collapsed.jpg?alt=media&amp;token=7885709f-36f9-4205-b701-46e5623c52b2" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FOy1WGS5oDBzIQi4leBqn%2F05-sharepoint-selection-bar-expanded.jpg?alt=media&amp;token=ba887acc-a74a-48ea-848d-8d7b42f46f60" alt=""><figcaption></figcaption></figure></div>

## Option 2: Turn on auto-encryption when adding a protected folder

When you add a SharePoint/OneDrive folder as a protected folder in a user policy, you can add it to auto-encryption in the same step.

1. In the Admin Dashboard, go to **User Policies** and open the policy.
2. In the **Rules** panel on the left, add the **Protected Folders** rule (click **+**). The **Manage Protected Folders** panel opens on the canvas.
3. Click **Add Folder**. In the **Add Protected Folder** dialog, choose **OneDrive** under **Select Folder Type**.
4. In **Path**, paste a OneDrive or SharePoint link to the folder, or enter its path in this format:

   ```
   \\<tenant-name>.sharepoint.com\<folder path>
   ```

   FenixPyre converts links to the correct format and shows the folder it found (name and path) below the field.
5. Tick **Also add this folder to auto-encryption** and click **Add Folder**.
6. Click **Save** at the top right to save the policy.

FenixPyre adds the folder to auto-encryption when the policy is saved. If that step fails you'll see an error, but the folder is still protected. You can add it from the **Auto-Encryption** tab (Option 1).

The checkbox is unavailable while FenixPyre is looking up the folder, if the folder already has auto-encryption (it shows **Already auto-encrypted**), or if the folder's details couldn't be fetched.

<div><figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2Fli1dfGYrpbVgaY8BcPN2%2F13-protected-folder-dialog-sharepoint-empty.jpg?alt=media&amp;token=aad7d341-8f2f-4d54-89a7-705bfa23c1d8" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2Fz7Joa9agnIh0w4PJO5H9%2F15-protected-folder-dialog-sharepoint-checkbox-ticked.jpg?alt=media&amp;token=2ea6d2e8-814e-4d6a-a6a5-ccecc32774c8" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FZtxOihpCWmufpYT4nY2n%2F14-protected-folder-dialog-sharepoint-already-auto-encrypted.jpg?alt=media&amp;token=214befe1-8cf1-46a8-8ee4-a092ef0f14fa" alt=""><figcaption></figcaption></figure>

## Option 3: Set up auto-encryption by right-clicking a folder

Folders set up for auto-encryption automatically encrypt files that are added to them through SharePoint and OneDrive. There are three ways to set it up:

| Method                                    | Best for                                                              |
| ----------------------------------------- | --------------------------------------------------------------------- |
| **Admin Dashboard** (Add auto-encryption) | Setting up many drives or folders across sites from one place         |
| **Protected folder in a user policy**     | Protecting a folder and turning on auto-encryption for it in one step |
| **Right-click in SharePoint/OneDrive**    | Quickly enabling a single folder while you're browsing it             |

{% hint style="info" %}
The SharePoint integration must be [configured in the Admin Dashboard](https://docs.fenixpyre.com/fenixpyre-for-admins/admin-dashboard/integrations/sharepoint-onedrive/how-to-configure-sharepoint-integration-in-admin-dashboard.md) before you can set up auto-encryption folders. Auto-encryption can only be set up by a FenixPyre administrator.
{% endhint %}

## Option 1: Set up auto-encryption from the Admin Dashboard

1. Log in to the FenixPyre Admin Dashboard and go to **Integrations** → **SharePoint**.
2. Open the **Auto-Encryption** tab. It lists the folders that are already set up.
3. Click **Add** at the top right of the list. The **Add auto-encryption** panel opens with two tabs: **Sites & Drives** and **Folders**.
4. Select what you want to encrypt (see below). You can use both tabs in the same session. Everything you select is collected in a bar at the bottom of the panel.
5. Review your selection and click **Add N items** (for example, **Add 3 items**).

<div><figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FBka62DjUVZWv75vfD0Xe%2F01-sharepoint-auto-encryption-tab-add-button.jpg?alt=media&#x26;token=12b2806a-ebfa-465c-a080-9e35af6d3e89" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2Fle171bujdDUgS9VBVEgm%2F02-sharepoint-add-panel-sites.jpg?alt=media&#x26;token=0873cbbb-383e-4128-94b0-64f8f68b666b" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
If you don't see the **Add** button, the feature may not be enabled for your organization yet. Contact FenixPyre support. If you see a **Setup required** message, set up your SharePoint URL in the **Settings** tab first.
{% endhint %}

### Select drives in Sites & Drives

1. Use **Search sites** to find a site, then click the site to open it. Sites can't be selected themselves; you open a site to see its drives.
2. Tick the drives you want to auto-encrypt. Use **Search drives** to find a drive, or **Select all** to tick all the drives loaded for that site.
3. Use the back arrow to return to the list of sites and select drives from other sites.

Drives that are already set up are marked **Already added** and can't be selected again. Use the switch beside one to turn auto-encryption on or off for that drive. Turning it off asks you to confirm, because it pauses monitoring for the drive.

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FxsyWKqhsMjUeIgfhEtYR%2F03-sharepoint-add-panel-drives-already-added.jpg?alt=media&#x26;token=f2fed87e-5a57-42b4-89c7-fece7d8632c0" alt=""><figcaption></figcaption></figure>

### Add a folder from a link in the Folders tab

1. Open the **Folders** tab.
2. Copy the link to the folder from SharePoint or OneDrive in your browser and paste it into **Paste a SharePoint folder link**. FenixPyre resolves the link and shows the drive and the folder it points to.
3. Choose what to encrypt:

   * **This folder only** (selected by default)
   * **Entire drive:** every file in the drive the folder belongs to

   If the folder you pasted is already set up, it is marked **Already added** (with a switch to turn auto-encryption on or off) and **Entire drive** is selected instead.
4. To add more folders, repeat with another link. Each one is added to the selection bar.

If FenixPyre can't resolve the link, you'll see **Couldn't resolve this link. Check it and try again.** Check that you copied the full link to the folder, and that the FenixPyre integration has access to that site or drive.

<div><figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2Fqueb1bBpFrLdgFETS3KY%2F06-sharepoint-folders-tab-empty.jpg?alt=media&#x26;token=c85a1e3e-837c-42e9-99c3-12637a323f32" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FKz5IQdeAkvuj1eNkhxr9%2F07-sharepoint-folders-link-resolved.jpg?alt=media&#x26;token=9437a577-3c33-400c-a192-251a60a39184" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FAQLpYybinpdOvKGJDavT%2F08-sharepoint-folders-link-already-added.jpg?alt=media&#x26;token=7ff66d59-43a9-4ca8-a1da-00ea055eb874" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FTL5vrmN1LL0c6XP9OQ71%2F09-sharepoint-folders-link-error.jpg?alt=media&#x26;token=379afb99-d859-4c1b-897f-356ca4cbef1f" alt=""><figcaption></figcaption></figure></div>

### Review and save

The bar at the bottom shows **N items selected**. Click it to expand the list, and use the **x** beside an item to remove it. Then click **Add N items**.

* If everything is saved, the panel closes and a message shows how many items were added or were already configured.
* If some items fail, the rest are still saved and removed from the bar. The failed items stay selected so you can retry or remove them, and the panel stays open.
* If you close the panel with unsaved selections, FenixPyre asks you to confirm that you want to discard them.

Saved folders appear in the Auto-Encryption list, and new files added to them are encrypted automatically.

<div><figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FBydykp0C9EOrR8NSOVdf%2F04-sharepoint-selection-bar-collapsed.jpg?alt=media&#x26;token=7885709f-36f9-4205-b701-46e5623c52b2" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FOy1WGS5oDBzIQi4leBqn%2F05-sharepoint-selection-bar-expanded.jpg?alt=media&#x26;token=ba887acc-a74a-48ea-848d-8d7b42f46f60" alt=""><figcaption></figcaption></figure></div>

## Option 2: Turn on auto-encryption when adding a protected folder

When you add a SharePoint/OneDrive folder as a protected folder in a user policy, you can add it to auto-encryption in the same step.

1. In the Admin Dashboard, go to **User Policies** and open the policy.
2. In the **Rules** panel on the left, add the **Protected Folders** rule (click **+**). The **Manage Protected Folders** panel opens on the canvas.
3. Click **Add Folder**. In the **Add Protected Folder** dialog, choose **OneDrive** under **Select Folder Type**.
4. In **Path**, paste a OneDrive or SharePoint link to the folder, or enter its path in this format:

   ```
   \\<tenant-name>.sharepoint.com\<folder path>
   ```

   FenixPyre converts links to the correct format and shows the folder it found (name and path) below the field.
5. Tick **Also add this folder to auto-encryption** and click **Add Folder**.
6. Click **Save** at the top right to save the policy.

FenixPyre adds the folder to auto-encryption when the policy is saved. If that step fails you'll see an error, but the folder is still protected. You can add it from the **Auto-Encryption** tab (Option 1).

The checkbox is unavailable while FenixPyre is looking up the folder, if the folder already has auto-encryption (it shows **Already auto-encrypted**), or if the folder's details couldn't be fetched.

<div><figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2Fli1dfGYrpbVgaY8BcPN2%2F13-protected-folder-dialog-sharepoint-empty.jpg?alt=media&#x26;token=aad7d341-8f2f-4d54-89a7-705bfa23c1d8" alt=""><figcaption></figcaption></figure> <figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2Fz7Joa9agnIh0w4PJO5H9%2F15-protected-folder-dialog-sharepoint-checkbox-ticked.jpg?alt=media&#x26;token=2ea6d2e8-814e-4d6a-a6a5-ccecc32774c8" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FZtxOihpCWmufpYT4nY2n%2F14-protected-folder-dialog-sharepoint-already-auto-encrypted.jpg?alt=media&#x26;token=214befe1-8cf1-46a8-8ee4-a092ef0f14fa" alt=""><figcaption></figcaption></figure>

## Option 3: Set up auto-encryption by right-clicking a folder

**To enable Auto Encryption for a folder in OneDrive:**

**Step 1:** right-click the folder--> **FenixPyre** -->**Add to Auto Encryption**. Folders configured for auto encryption will automatically encrypt files added to them through actions on SharePoint and OneDrive apps.

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2Ftig71ITscxwLh7KkpGb6%2FScreenshot%202025-01-23%20at%205.05.15%E2%80%AFPM.png?alt=media&#x26;token=b168056e-1986-4a46-9ac2-6efcfda4ae4d" alt=""><figcaption></figcaption></figure>

To enable auto-encryption on a folder, click on "Enable auto-encryption"

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2FztVtFBKdBD7HPf9gun7b%2FScreenshot%202025-02-03%20at%2012.53.16%E2%80%AFPM.png?alt=media&#x26;token=c974c92f-66c6-4575-bbe2-83a4ead7a55a" alt=""><figcaption></figcaption></figure>

To disable a folder's Auto Encryption settings click on "Disable auto-encryption"

<figure><img src="https://3947089720-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOuMyGdeUQs2m5OYPFuwT%2Fuploads%2F25LuEgkq0FS4ZkMRT0U5%2FScreenshot%202025-02-03%20at%2012.53.50%E2%80%AFPM.png?alt=media&#x26;token=bb07e9a4-db9e-40a9-a465-d4196ec0b6fc" alt=""><figcaption></figcaption></figure>


---

# 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.fenixpyre.com/fenixpyre-for-admins/admin-dashboard/integrations/sharepoint-onedrive/how-to-configure-auto-encrypted-folders.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.
