Does anyone know how can I remove a drop off library in Sharepoint Online in Powershell?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
You can not delete
Drop off Library by default.
But you can set it as hidden I believe. Use Gary Lapointe module -
Lapointe.SharePointOnline.PowerShell.msi to get
Microsoft.SharePoint.Client.List and set
Import-Module -Name Lapointe.SharePointOnline.PowerShell Connect-SPOSite -Url $siteCollectionUrl -Credential $spOnlineCredentials $dropofflib= Get-SPOList -Web "/" -identity $fullUrlToDropOffLibrary $dropofflib.Hidden=$true $dropofflib.Update()
Lapointe.SharePointOnline.PowerShell.msi from https://github.com/glapointe/PowerShell-SPOCmdlets/releases
As far as my knowledge is concern, you cannot delete the
Drop Off Library. One can delete the
Drop off Library using Server Side Object Model's
But as this is SharePoint Online, as we cannot use SSOM in SharePoint Online, we cannot delete this
Drop off Library.