Unable to share onedrive files present locally but can share it from online onedrive portal

Yasir Zaidi 0 Reputation points
2026-10-27T15:19:44.8066667+00:00

I am experiencing an issue with a user who is unable to share OneDrive files locally present but he can go to the OneDrive portal and share from there. I tried resetting, Uninstalling OneDrive but nothing happens when he right click and choose share. He can do the same thing for the files that are locally stored on his machine like, for example I created a text document and tried sharing and it worked but it is happening with the files that are synced and backed up on Cloud.

Microsoft 365 and Office | OneDrive | For business | Windows

3 answers

Sort by: Newest
  1. Ruby Nguyen 3,640 Reputation points Independent Advisor
    2026-10-27T16:30:20.8066667+00:00

    Good day Yasir, 

    Just to gently clarify before going any further, this forum is separate from Microsoft Support. I don’t have the ability to access or investigate individual accounts or escalate the issue directly Microsoft Support because this is a user‑to‑user support forum. 

    Since the files can be shared from OneDrive on the web, the sharing permissions and OneDrive service are working correctly. The issue is related to the connection between OneDrive and Windows Explorer. Please try the following: 

    Option 1: Restart OneDrive and Windows Explorer 

    This refreshes the components that handle the OneDrive Share command. 

    • Select the OneDrive cloud icon in the notification area. 
    • Select Settings > Settings > Quit OneDrive. 
    • Open Task Manager. 
    • Under Processes, right click Windows Explorer, then select Restart. 
    • Open the Start menu, search for OneDrive and start it again. 
    • Wait until OneDrive shows that your files are up to date. 
    • Right click an affected file and select Share. 

    Option 2: Review UAC and device policies 

    Since both OneDrive and Windows Explorer show Elevated = No, please review the settings described in the following article: How to change the User Account Control policies to allow OneDrive context menus | Microsoft Support 

    • Press Windows + R. 
    • Type secpol.msc and select OK. 
    • Go to Local Policies > Security Options. 
    • Review the User Account Control (UAC) settings and compare them with the recommendations in the article. 
    • If the device is managed by Group Policy or Intune, please confirm that no organizational policy is overriding those settings. 
    • Restart the device after any approved changes. 

    Option 3: Reconnect OneDrive 

    • Select the OneDrive cloud icon > Settings > Settings > Open the Account tab > Select Unlink this PC. 
    • Sign in again with the work account. 
    • When prompted, choose the existing OneDrive folder. 
    • Wait for the sync check to finish, then test Share again. 

    Option 4: Contact Microsoft Support 

    Since the issue persists after the troubleshooting steps already completed, I recommend that the IT administrator create a support ticket via Microsoft 365 Admin Center > Support > Help & Support for further backend investigation: 

    • Turn off the "Support Assistant" feature.  
    • Use the keyword "Support" to quickly bypass automated suggestions > Select Contact Support.  

    User's image

    • In the ticket description, please clearly describe the issue, including any error messages or codes and the steps you’ve already tried. You can also attach screenshots or screen recordings.  
    • Additionally, sharing your preferred contact times may help the support team handle the case more efficiently.  

    Note: If you don't see the support option or don't have sufficient administrative permissions, please contact your Global Administrator for assistance. In case you don't know who is your Global admin, kindly refer to this article: How do I find my Microsoft 365 admin? - Microsoft Support  

    A technical support engineer can perform a remote session to investigate the situation, verify the backend configurations, and run any necessary synchronization tools to resolve the problem. If the issue requires further attention, they can escalate it to a specialized team for deeper analysis.    

    I wish I could help more directly, but as a fellow user in this community, providing these steps is the best support I can offer. I hope this helps point you in the right direction. If you have any updates or additional questions, feel free to reply back and I'll do my best to assist further. 

    Thank you for your patience and understanding.  


    If you have any extra questions about this answer, please click "Comment".    

    Was this answer helpful?

    0 comments No comments

  2. Yasir Zaidi 0 Reputation points
    2026-10-27T15:30:04.4633333+00:00

    I tried with several files and they are fully synced and have green check mark beside them but got nothing. OneDrive and Explorer both show Elevated = No as well.

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-10-27T15:21:15.1433333+00:00

    Confirm that the OneDrive desktop client is running and signed into the affected work account, then check the affected files for unresolved synchronization errors before changing Windows policies.

    Since resetting and reinstalling did not help, do not repeat those steps.

    1. Confirm the desktop client is active

    1. Look for the OneDrive cloud icon in the taskbar notification area.
    2. If it is absent, open Start, search for OneDrive, and launch the app with the folder icon.
    3. Sign in with the user’s Microsoft 365 work account if prompted.
    4. Open OneDrive icon → Help & Settings → Settings → Account and confirm the work account is listed.
    5. Wait until OneDrive reports Your files are synced, then test File Explorer → right-click a synced file → Share.

    File Explorer’s OneDrive sharing integration requires the desktop client to be running. Sharing through the website can continue working when the desktop integration is unavailable.^1^

    Sharing a newly created local text file successfully does not test the same feature—it may invoke Windows sharing rather than OneDrive’s cloud-sharing panel.

    2. Check whether the affected files are fully synchronized

    Click the OneDrive cloud icon and review its status and any listed sync problems. Test files showing a green check mark, not files still showing syncing or error indicators.

    If errors are listed:

    1. Open the OneDrive activity panel.
    2. Select the reported error to identify the affected file.
    3. Resolve the displayed conflict, permission, filename, or file-state issue.
    4. Wait for the file to show as synchronized and retry Share.

    OneDrive exposes the affected filename, error, and suggested resolution through its sync-status panel.^2^

    If the problem involves many files in a separately synced SharePoint document library, stop and reconnect that library only after preserving any unsynchronized local changes:

    1. Select OneDrive cloud icon → Settings → Account.
    2. Locate the affected library and select Stop sync.
    3. In the browser, open that SharePoint document library and select Sync.
    4. Allow the browser to open OneDrive, then wait for synchronization to finish.

    Microsoft recommends disconnecting and resynchronizing a library when numerous sync errors cannot reasonably be fixed individually; files remain in both the old local folder and the online library, but unsynchronized changes should be protected first.^3^

    3. Isolate the Windows profile or device

    Test the same synchronized file under these conditions:

    • Another user profile on the affected computer.
    • The same user on another managed computer, if available.
    • Several fully synchronized files in different OneDrive folders.

    If the failure follows the user across devices, review tenant sharing restrictions and Microsoft 365 service health. If it occurs only in one Windows profile or on one device, focus on the local OneDrive/File Explorer integration.

    4. Conditional: Share becomes missing or greyed out

    The following Microsoft procedure is specifically documented for a missing or greyed-out OneDrive context-menu command. Do not change machine-wide UAC policies merely because the currently visible Share command is unresponsive.

    1. Open Task Manager → Details.
    2. Right-click a column heading → Select columns → enable Elevated.
    3. Compare OneDrive.exe and explorer.exe.

    If either process is elevated while the other is not, close the elevated process and restart it normally so both run in the same non-elevated user context.

    If OneDrive.exe shows Elevated = Yes, Microsoft documents installing OneDrive per-machine. This is different from the ordinary reinstall already attempted. From an elevated Command Prompt, run the downloaded Microsoft OneDrive installer using its actual path:

    "C:\path\to\OneDriveSetup.exe" /allusers
    

    Do not enter the placeholder literally. Obtain OneDriveSetup.exe from Microsoft’s OneDrive download page or your organization’s approved software deployment source.

    If both processes show Elevated = No, have an administrator compare the computer’s UAC configuration with the complete policy table in Microsoft’s procedure before making changes. Record or export the existing policy configuration and obtain organizational approval first; these are machine-wide security settings, including secure-desktop and elevation behavior.^4^

    If none of these checks identifies the issue, collect the OneDrive client version, Windows version, sync status, whether the problem affects all synced files, and results from another Windows profile/device, then open a Microsoft 365 support case.


    References

    1. Unable to share OneDrive files | Microsoft Support
    2. [Windows](https://support.microsoft.com/accessibility/onedrive/use-a-screen-reader-to-sync-onedrive-for-work-or-school#review-onedrive-for-work-or-school-sync-problems)
    3. Resolve sync issues in OneDrive for work or school
    4. How to change the User Account Control policies to allow OneDrive context menus | Microsoft Support
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.