--- title: "Restrict sharing access for OneDrive" slug: "restrict-sharing-access-for-onedrive" description: "Restrict OneDrive sharing in eShare to a Microsoft 365 (O365) group using Limited users, SAML settings, and eShare Administrator access." tags: ["OneDrive Access", "restrict onedrive"] updated: 2026-10-20T19:19:14Z published: 2026-10-20T19:19:14Z canonical: "docs.eshare.com/restrict-sharing-access-for-onedrive" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.eshare.com/llms.txt > Use this file to discover all available pages before exploring further. # Restrict sharing access for OneDrive This article explains how to restrict OneDrive sharing in eShare to a defined set of users. By switching to '**Limited users**' on the '**Corporate Cloud Providers**' page and configuring a Microsoft 365 group, you can ensure that only the users in the group would see OneDrive as a cloud provider and can initiate shares from it. The following steps will be reviewed: - [Limit OneDrive Sharing to an O365 Group](/collaborate/docs/restrict-sharing-access-for-onedrive#limit-onedrive-sharing-to-an-o365-group) - [Verify the OneDrive Restriction](/collaborate/docs/restrict-sharing-access-for-onedrive#verify-the-onedrive-restriction) > **REQUIREMENT:** > > The person performing these steps must have an eShare Administrator role. Microsoft 365 administrator access is also required to create and manage O365 groups. ### **Limit OneDrive Sharing to an O365 Group** 1. Navigate to '**Admin Console**' > '**Corporate Cloud Providers**' and switch the access mode from '**All users**' to '**Limited users**'. ![](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/image-1781552312661.png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=SJa6Ia3vXqYMLfX3a636Rt%2BReXMAW7IM%2BJ%2FkBvy4Ids%3D) 1. In the Microsoft 365 admin center, create an O365 group containing only the users you want to permit OneDrive sharing access in eShare. Record the group's **Object ID** — you will need it in the next step. 2. In the eShare configuration, enter the following values: 1. For '**SAML attribute name**': **http://schemas.microsoft.com/ws/2008/06/identity/claims/role** 2. For '**SAML attribute value**': the **Object ID** of the O365 group created in the previous step. 3. Save the configuration. ### **Verify the OneDrive Restriction** Once saved, only members of the specified O365 group will see OneDrive listed as a cloud provider in the eSHARE Web Portal. Users outside the group who attempt to share from OneDrive using the Action Menu will see the following: ![](https://cdn.us.document360.io/c516537f-0d2f-4bf8-930d-3385ca9a11d7/Images/Documentation/image(190).png?sv=2026-02-06&spr=https&st=2026-11-18T20%3A22%3A44Z&se=2026-11-18T21%3A22%3A44Z&sr=b&sp=r&sig=uYy7cFc9Plck%2BOwyPHYcDQWynOAckmbOQ5EJusnVqVw%3D)