Jan 10 2019 12:14 PM
Good Day
We are trying to understand if there is a way that we could block specific file types in being uploaded into OneDrive for business. Not sure we see an option on the admin center similar to the list of blocked file types we could manage on premise via the SharePoint Central Administration site. Would this be perhaps done through powershell? Thanks!
Jan 10 2019 12:16 PM
Jan 10 2019 01:29 PM
Jan 10 2019 01:37 PM
SolutionJan 10 2019 03:53 PM - edited Jan 10 2019 03:56 PM
Pretty sure Juan is right here, that setting is to prevent you from syncing the documents from your computer over, doesn't really restrict the file type itself from being uploaded to the web version of onedrive directly ;).
The file restriction for SharePoint / OneDrive is a web application setting which we don't have access to in the cloud, so you can't technically restrict files with that setting.
Jan 10 2019 09:50 PM
Jan 10 2019 10:09 PM
Jan 10 2019 10:25 PM
Jan 11 2019 04:45 AM
Thank you all for the response. So for example lets say I have a file locally on my machine and like to move it to OneDrive for Business but I do it through File Explorer as it has mapped already my OneDrive I could do a drag and drop or copy and paste (I would not using the web site/UI and clicking Upload>File to execute that action. In the even that we decide to try this file type syncing block, will that mean that I will not be able to drag and drop or copy and paste locally a blocked type file to OneDrive via File Explorer? Thanks!
Jan 11 2019 04:52 AM
Yes, exactly! It will take in affect when you sync the file , not uploading it via UI
Jan 11 2019 06:29 AM - edited Jan 11 2019 06:30 AM
No, Not quiet exactly :).
You will still be able to drag the file into OneDrive via file explorer, you will just get a sync error on the file and it won't allow it to sync to your OneDrive instance! So at a file system level the file will copy. OneDrive just won't sync it up.
Jan 11 2019 06:40 AM
Jan 10 2019 01:37 PM
Solution