Sharepoint and Onedrive block all uploads

Sergio Londono 671 Reputation points
2024-08-15T19:30:09.0666667+00:00

Hello team,

I am trying to block all the uploads to Sharepoint and Onedrive.

I blocked the OneDrive Sync using the sync option with on-prem GUID to random value, which means, no one can sync OneDrive app.

Then, If the end-user can only upload files using browser: How can I block the upload for all in OneDrive/Sharepoint?

If the end-user try to share the file using teams apps, will this block the upload to OneDrive?

The objective is block all uploads.

I was thinking on Defender for Cloud apps, however, this will block only in Browser, meaning that from desktop app teams he may able to upload.

I am testing endpoint DLP, however, do you have any good idea to accomplish this?

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,142 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,827 questions
{count} votes

Accepted answer
  1. Yanli Jiang - MSFT 26,766 Reputation points Microsoft Vendor
    2024-08-16T09:33:24.46+00:00

    Hi @Sergio Londono ,

    Sorry, I am a SharePoint engineer and I don't know much about DLP. You can study it further. I also suggest you add Purview tags to make it easier for Purview engineers to see.

    From the SharePoint perspective, there is no good way at present. You can use block the OneDrive Sync using the sync option with on-prem GUID to random value and Defender for Cloud apps in combination.

    For your references:

    https://learn.microsoft.com/en-us/sharepoint/control-access-from-unmanaged-devices#it-admins---sharepoint-and-onedrive-unmanaged-device-access-controls

    https://learn.microsoft.com/en-us/sharepoint/block-file-types#block-syncing-of-specific-file-types

    https://learn.microsoft.com/en-us/microsoftteams/block-access-sharepoint


    If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

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