Sharing errors in SharePoint and OneDrive

This article covers the different errors that you might encounter when sharing files or folders from SharePoint or OneDrive in Microsoft 365. You need to be a global or SharePoint admin in your organization to fix these errors. If you are not an administrator, contact your help desk and give them your error code.

Note that changing these settings changes the types of external sharing that are allowed in your organization. In some cases, these settings may have been set by someone in your organization for business reasons.

OSE201

Error OSE201 indicates that external sharing is turned off for all of your SharePoint and OneDrive sites.

First, change the external sharing setting for your organization:

  1. Go to the Sharing page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.

  1. Under External sharing, for both SharePoint and OneDrive, select Anyone or New and existing guests.
  2. Select Save.

Next, check the external sharing settings for the site that you want to share from.

If you're sharing from a SharePoint site:

  1. In the new SharePoint admin center, in the left pane, select Sites > Active sites.
  2. Select the site that you want to share from, and then select Sharing.
  3. Make sure that either New and existing guests or Anyone is selected, and if you made changes, select Save.

Try sharing again.

If you're sharing from OneDrive:

  1. In the Microsoft 365 admin center, in the left pane, under Users, select Active users.
  2. Select the user, and then select the OneDrive tab.
  3. Select Manage external sharing.
  4. Make sure Let people outside your organization access your site is turned on, and Allow sharing with anonymous guest links and authenticated users or Allow sharing to authenticated guest users with invitations is selected.

Try sharing again.

OSE202

Error OSE202 indicates that you can only share with guests who are already in your directory. You can add guests directly through Azure Active Directory, or you can change the setting by doing the following:

First, change the external sharing setting for your organization.

  1. Go to the Sharing page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.

  1. Under External sharing, select Anyone or New and existing guests for both SharePoint and OneDrive.
  2. Select Save.

Next, check the external sharing settings for the site that you want to share from.

If you're sharing from a SharePoint site:

  1. In the left pane of the new SharePoint admin center, select Sites > Active sites.
  2. Select the site that you want to share from, and then select Sharing.
  3. Make sure that either New and existing guests or Anyone is selected, and if you made changes, select Save.

Try sharing again.

If you're sharing from OneDrive:

  1. In the Microsoft 365 admin center, in the left pane, under Users, select Active users.
  2. Select the user, and then select the OneDrive tab.
  3. Select Manage external sharing.
  4. Make sure Let people outside your organization access your site is turned on, and Allow sharing with anonymous guest links and authenticated users or Allow sharing to authenticated guest users with invitations is selected.

Try sharing again.

OSE204

Error OSE204 indicates that sharing is turned off for the site that you're trying to share from. You can change the setting as follows:

  1. Go to the Active sites page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Active sites page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Active sites page.

  1. Select the site that you want to share from, and then select Sharing.
  2. Make sure that either New and existing guests or Anyone is selected, and then select Save.

Try sharing again.

OSE205

Error OSE205 indicates that you can only share the site with guests who are already in your directory. You can add guests directly through Azure Active Directory, or you can change the setting by doing the following:

  1. Go to the Active sites page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Active sites page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Active sites page.

  1. Select the site that you want to share from, and then select Sharing.
  2. Make sure that either New and existing guests or Anyone is selected, and then select Save.

OSE207

Error OSE207 indicates that external sharing is turned off for OneDrive. You can change this setting as follows:

  1. Go to the Sharing page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.

  1. Under External sharing, select Anyone or New and existing guests for OneDrive.
  2. Select Save.

Try sharing again.

OSE208

Error OSE208 indicates that you can only share OneDrive files and folders with guests who are already in your directory. You can add guests directly through Azure Active Directory, or you can change the setting by doing the following:

  1. Go to the Sharing page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.

  1. Under External sharing, change the OneDrive setting to either Anyone or New and existing external users.

  2. Select Save.

Try sharing again.

OSE303

Error OSE303 indicates that the person sharing the file or folder is not a member of the security groups that are allowed to share with guests and by using Anyone links. To change this setting:

  1. Go to the Sharing page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.

  1. Select Limit external sharing to specific security groups.

  2. Under Who can share outside your organization, note the security groups listed for Let only users in selected security groups share with authenticated external users and using anonymous links. You need to add the user to one of the listed security groups. (Alternatively, you can clear the check box and remove the sharing restriction.)

To add a user to a security group:

  1. On the Groups page of the Microsoft 365 admin center, find the group you want to edit.
  2. Select the group, and then on the Members tab, select View all and manage members.
  3. Select Add members.
  4. Enter the user's name in the search box, select the check box in the results list, and then select Save.
  5. Select Close three times.

Try sharing again.

OSE304

Error OSE304 indicates that the person sharing the file or folder is not a member of the security groups that are allowed to share with guests. To change this setting:

  1. Go to the Sharing page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.

  1. Select Limit external sharing to specific security groups.

  2. Under Who can share outside your organization, note the security groups listed for Let only users in selected security groups share with authenticated external users. You need to add the user to one of the listed security groups. (Alternatively, you can clear the check box and remove the sharing restriction.)

To add a user to a security group:

  1. On the Groups page of the Microsoft 365 admin center, find the group you want to edit.
  2. Select the group, and on the Members tab, select View all and manage members.
  3. Select Add members.
  4. Enter the user's name in the search box, select the check box in the results list, and then select Save.
  5. Select Close three times.

Try sharing again.

OSE401

Error OSE401 indicates that your organization-level setting lets you share with only people on specific domains. The person you're trying to share with is not on one of the listed domains. To change this setting:

  1. Go to the Sharing page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.

  1. Under Advanced settings for external sharing, select Add domains, add the domain that you want to share with to the list of allowed domains, and select OK. Alternatively, you can turn off domain filtering by clearing the Limit external sharing by domain check box.

  2. Select Save.

Try sharing again.

OSE402

Error OSE402 indicates that your organization-level setting blocks sharing with people on specific domains. The person you're trying to share with is on one of the listed domains. To change this setting:

  1. Go to the Sharing page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the Sharing page.

  1. Under Advanced settings for external sharing, select Add domains, remove the domain from the list of blocked domains, and select OK. Alternatively, you can turn off domain filtering by clearing the Limit external sharing by domain check box.

  2. Select Save.

Try sharing again.

OSE403

Error OSE403 indicates that the site from which you're sharing lets you share with only people on specific domains. The person you're trying to share with is not on one of the listed domains. To change this setting:

  1. Go to the More features page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.

  1. Under Classic site collections page, select Open.

  2. Select the site that you're sharing from, and in the ribbon, select Sharing.

  3. Under Site collection additional settings, add the domain that you want to share with to the list of allowed domains. Alternatively, you can turn off domain filtering by clearing the Limit external sharing using domains check box.

  4. Select Save.

Try sharing again.

OSE404

Error OSE404 indicates that the site from which you're sharing blocks sharing with people on specific domains. The person you're trying to share with is on one of the listed domains. To change this setting:

  1. Go to the More features page of the new SharePoint admin center, and sign in with an account that has admin permissions for your organization.

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.

  1. Under Classic site collections page, select Open.

  2. Select the site that you're sharing from, and in the ribbon, select Sharing.

  3. Under Site collection additional settings, remove the domain that you want to share with from the list of blocked domains. Alternatively, you can turn off domain filtering by clearing the Limit external sharing using domains check box.

  4. Select Save.

Try sharing again.

See also

External sharing overview

Turn external sharing on or off for SharePoint

Stop sharing files or folders or change permissions