Unknown pdf file was just shared to my OneDrive, how do I delete/remove this?

marineturtle 5 Reputation points
2025-12-10T22:01:20.56+00:00

So basically I just received a random pdf file from some unknown person. I did not open it, suspecting it's a scam. Whenever, I try to remove the shared pdf file or press 'hide from Shared' it keeps giving me an error and not allowing me to remove it. Also, I'm unsure on how to prevent this from happening again in the future and where in my settings I can change it to where random people don't share files with me. If someone could please help me with this issue that would be greatly appreciated, thanks!

Microsoft 365 and Office | OneDrive | For home | Windows
{count} vote

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-10T22:02:36.1333333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To delete or remove a shared PDF file from your OneDrive, you can follow these steps:

    1. Sign into OneDrive: Go to your OneDrive account.
    2. Locate the Shared PDF: Find the PDF file that was shared with you.
    3. Remove Sharing: If you are unable to delete it directly, you may need to stop sharing it first. You can do this by right-clicking on the file and selecting the option to stop sharing or remove permissions.
    4. Delete the File: After stopping the sharing, try to delete the file again by right-clicking and selecting "Delete".

    If you continue to encounter errors when trying to remove the file, it may be due to permissions set by the person who shared it. In this case, you might need to contact your IT support or check the sharing settings in your OneDrive.

    To prevent this from happening in the future, you can adjust your sharing settings:

    • Limit External Sharing: Go to your OneDrive settings and adjust the external sharing options to restrict who can share files with you. You might want to set it to allow sharing only with specific people or disable sharing with anyone outside your organization.

    For detailed guidance on managing sharing settings, you can refer to the Microsoft documentation on external sharing in SharePoint and OneDrive.


    References:

    0 comments No comments

  2. Kimberly Olaño 19,780 Reputation points Independent Advisor
    2025-12-10T22:40:11.4166667+00:00

    Thanks for sharing the details, marineturtle! Try to remove the sharer from your OneDrive contact list (this cuts the link entirely)

    OneDrive keeps a hidden “people you interacted with” list. Removing that person breaks the share.

    Steps:

    • Go to: https://people.live.com/
    • Look for the unknown sender in the contacts list.
    • If you see them → Delete / Remove the contact.
    • Wait 1–2 minutes, refresh OneDrive Shared.

    The shared file should disappear once the backend syncs.

    See if this helps. If you need further assistance just let me know.

    Best regards,

    Kimberly


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.