DocumentSet impossible to delete default content

Magali GERARD 26 Reputation points

I'm using SharePoint Online in MS365 and I created a document set with default documents.

The document templates having evolved I want to delete the previous template but impossible, I am told that I do not have access.

I don't understand because I'm a collection admin and a Sharepoint admin.
Thank you in advance for your precious help

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,267 questions
0 comments No comments
{count} votes

Accepted answer
  1. JoyZ 18,056 Reputation points

    @Magali GERARD ,

    Per my test, Document Set Contents and Document Set Properties are unavailable to site admins and owners when you prevent them from running custom script.


    To enable custom script in one sharepoint site, refer to below PowerShell:

    #Config Parameters  
    #Get Credentials to connect  
    $Cred = Get-Credential  
    #Connect to SharePoint Online Tenant Admin  
    Connect-SPOService -URL $AdminSiteURL -Credential $Cred  
    #sharepoint online enable custom scripts powershell - Disable DenyAddAndCustomizePages Flag  
    Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False  

    More information about allowing or preventing custom script for your reference:

    If an Answer is helpful, please click "Accept Answer" and upvote it.

    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 comments No comments

1 additional answer

Sort by: Most helpful
  1. Magali GERARD 26 Reputation points

    Thanks for your quick answer @JulieWang-MSFT but i don't understand anything in PowerShell.
    I hope MS will give us controls in classic admin in order to resolve this problem... I accept the answer but i'll not test it because i'm not sure of me. Thanks @JulieWang-MSFT

    0 comments No comments