Forum Discussion
Problem with editing files in Onedrive in a SharePoint library linked to in Onedrive
Problem with editing files in Onedrive in a SharePoint library linked to in Onedrive
Since yesterday, all employees have been reporting that they cannot edit files in a SharePoint library linked to in Onedrive.
When employees edit files or add files, an error message appears stating that file access is denied. You must provide administrator permissions.
This problem only exists when accessing files in Onedrive. This problem does not exist in SharePoint itself. There the files can be edited as usual.
What could be the cause here?
2 Replies
- stuckwithaproblemCopper Contributor
Hi,
Did you find a solution for this? We ran into a bunch of issues this last week, this being one of them. It only seems to be occurring on new SharePoint sites and starts breaking as soon as the 'OneDrive shortcut' is added. As soon as it is removed again, it continues to work. - NikolinoDEGold Contributor
Potential Cause: Conditional Access Policies for Unmanaged Devices
Microsoft has implemented conditional access policies that can restrict or limit access to SharePoint and OneDrive content from unmanaged devices (devices not compliant with your organization's policies or not joined to your domain). These policies can affect users' ability to edit or upload files when accessing SharePoint libraries through OneDrive, especially if the device is considered unmanaged. In such cases, users might encounter "Access Denied" errors when attempting to modify files via OneDrive, while still retaining full access through the SharePoint web interface.
Steps you can try to Resolve the Issue…
Review Conditional Access Policies:
- As an administrator, examine the conditional access policies configured in your Microsoft Entra (formerly Azure Active Directory) admin center.
- Check if there are policies that restrict access from unmanaged devices to SharePoint and OneDrive resources.
Adjust Access Settings:
- If restrictions are in place, consider modifying the policies to allow limited access from unmanaged devices or to permit editing capabilities as needed.
- Use PowerShell commands like Set-SPOTenant or Set-SPOSite to adjust site-level settings. Microsoft Learn
Verify User Permissions:
- Ensure that users have the appropriate permissions on the SharePoint library.
- Use the "Check Permissions" feature in SharePoint to confirm that users have edit rights. Microsoft Learn
Check for Unique Permissions or Inheritance Issues:
- Inspect the SharePoint library for any unique permissions or broken inheritance that might be causing access issues.
- Resetting permissions to inherit from the parent site can sometimes resolve unexpected access problems. SharePoint Diary
Test Access from Managed Devices:
- Determine if the issue persists when accessing the SharePoint library from a managed device (one that complies with your organization's policies).
- If access is successful from managed devices, it further indicates that the problem is related to device compliance settings.
These steps were recommended by AI.
My answers are voluntary and without guarantee!
Hope this will help you.