New answers tagged

0

It is documented in this article: https://docs.microsoft.com/en-us/powershell/module/sharepoint-online/set-spotenant?view=sharepoint-ps -CommentsOnFilesDisabled Disables or enables commenting functionality on the files. PARAMVALUE: $true | $false Maybe you need to wait some time (24h?) for it to take real effect.


3

If you disable it, some external services such as GitHub, FaceBook and so on will not be used with office 365 tenant,here is an article about authorize external services for your reference: https://docs.microsoft.com/en-us/office/dev/add-ins/develop/auth-external-add-ins


0

Could you please try the below code, # replace these details (also consider using Get-Credential to enter password securely as script runs).. $username = "SomeUser@SomeOrg.onmicrosoft.com" $password = "SomePassword" $url = "https://SomeSite.sharepoint.com" $securePassword = ConvertTo-SecureString $Password -AsPlainText -Force # the path here may need ...


0

You might also want to consider using a Site Design for this, especially if you want it to be repeatable easily - and to let site owners manage things themselves. You can use a Site Design at site provisioning time or at a later point to instantiate specific artifacts, like Content Types, lists/libraries, etc. https://docs.microsoft.com/en-us/sharepoint/...


1

Probably your best option is using the PnP Provisioning Framework. This framework was initially started as a better approach to templating, intending to replace the classic web templates and site definitions, but has grown into much more. Although there are numerous options that I won't cover here, a basic script using the Provisioning Framework in PnP-...


2

The best recommended approach is use the PnP Provisioning template. Download the PnP Provisioning template using PnP Filter the downloaded template (xml) because there is no way to generate only the specific list template, by default it will download all lists/libraries from the specific site. Then create a new list using the filtered PnP template. ...


2

You can use Get-PnPProvisioningTemplate to export a list as a template and then recreate the list on another site using Apply-PnPProvisioningTemplate. To export just a specific list you would use the following syntax: Connect-PnPOnline -Url https://contoso.sharepoint.com/sites/comsite Get-PnPProvisioningTemplate -Handlers Lists -ListsToExtract <GUID or ...


3

SharePoint will not delete entries out of the History List on its own -- however, when this list inevitably exceeds the List View Threshold, it will not break any of the history lists displayed on Workflow status. You will only run into a problem if your users navigate to and view that list directly. If you are only interacting with the list through its ...


2

The list will not be cleared automatically. You need to delete those items manually or maybe using any script. Note: If you have any extra "log to history list" actions in your workflow then you can delete them once you are done with development and workflow is live. Script References: Purge SharePoint Workflow History List. Maintain SharePoint Workflow ...


Top 50 recent answers are included