Definitely remove a Sharepoint site collection - Microsoft Community


hi,

we have created test site collection sharepoint admin center. now, need permanently delete site (as need reuse url site collection).

the site listed in deleted sites in gui, can see in screenshot there still green wheel spinning aside name :

i started powershell admin session, , :

  • get-spodeletedsite return nothing
  • i can see site in get-sposite
  • remove-sposite -identity https://[tenant].sharepoint.com/sites/spdoc -nowait
    returns following error :
    remove-sposite : sptenantworkmanager: there removesite work item [id =xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx] in queue same site url
    [https://[tenant].sharepoint.com/sites/spdoc]. no need create removesite work items same url for
    tenant [xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx].
    au caractère ligne:1 : 1
    + remove-sposite -identity https://[tenant].sharepoint.com/sites/spdoc  ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + categoryinfo          : notspecified: (:) [remove-sposite], serverexception
        + fullyqualifiederrorid : microsoft.sharepoint.client.serverexception,microsoft.online.sharepoint.powershell.remov
       esite

what can permanently remove site ?

thanks help,

antoine

hi,

the case has been resolved. due custom retention policy (in security & compliancy center) applied on our services within our tenant.

after disabling policy , waiting while, délétion of both sharepoint collections possible.

thanks,

antoine.



Office / SharePoint Online / Windows 10 / Office 365 for business



Comments

Popular posts from this blog

Can't Sign-in to OneDrive - Microsoft Community

Shared mailbox permissions - Microsoft Community

Outlook 2016 for Mac - Multiple Issues, Error 17884 - Microsoft Community