[GH-ISSUE #1684] [Feature Request]: #899

Closed
opened 2026-03-02 12:46:08 +03:00 by kerem · 2 comments
Owner

Originally created by @Rithmatist on GitHub (Aug 10, 2023).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1684

Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole.

Hello, could this be a potential new feature for SharePoint Standards?

This feature would prevent items from this site from being downloaded by offline clients.

Currently, it's not possible to apply this at the site collection level (to the best of my knowledge). Moreover, if this feature runs every 4 hours, it could automatically apply to newly created sites.

PowerShell commands you would normally use to achieve above request

#Parameters
$AdminSiteURL = "https://YourTenantName-admin.sharepoint.com"

#Connect to SharePoint Online Admin Center
Connect-PnPOnline -Url $AdminSiteURL -Interactive

#Get All Site Collections
$Sites = Get-PnPTenantSite

ForEach ($Site in $Sites)
{
#Connect to the Site
Connect-PnPOnline -Url $Site.Url -Interactive

#Get the Web
$Web = Get-PnPWeb -Includes ExcludeFromOfflineClient

#Set "Allow items from this site to be downloaded to offline clients?" to "No"
$web.ExcludeFromOfflineClient = $False
$web.Update()
Invoke-PnPQuery

Write-Host "Offline Client Availability is Disabled for $($Site.Url)" -f Green

}

Originally created by @Rithmatist on GitHub (Aug 10, 2023). Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/1684 ### Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole. Hello, could this be a potential new feature for SharePoint Standards? This feature would prevent items from this site from being downloaded by offline clients. Currently, it's not possible to apply this at the site collection level (to the best of my knowledge). Moreover, if this feature runs every 4 hours, it could automatically apply to newly created sites. ### PowerShell commands you would normally use to achieve above request #Parameters $AdminSiteURL = "https://YourTenantName-admin.sharepoint.com" #Connect to SharePoint Online Admin Center Connect-PnPOnline -Url $AdminSiteURL -Interactive #Get All Site Collections $Sites = Get-PnPTenantSite ForEach ($Site in $Sites) { #Connect to the Site Connect-PnPOnline -Url $Site.Url -Interactive #Get the Web $Web = Get-PnPWeb -Includes ExcludeFromOfflineClient #Set "Allow items from this site to be downloaded to offline clients?" to "No" $web.ExcludeFromOfflineClient = $False $web.Update() Invoke-PnPQuery Write-Host "Offline Client Availability is Disabled for $($Site.Url)" -f Green }
kerem 2026-03-02 12:46:08 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 10, 2023):

Thank you for creating a feature request!
Your current priority is set to "No Priority". No Priority Feature requests automatically get closed in two days if a contributor does not accept the FR.

If you are a sponsor you can request an upgrade of priority. To upgrade the priority type "I would like to upgrade the priority".
If you want this feature to be integrated you can always do this yourself by checking out our contributions guide at https://cipp.app/docs/dev/. Contributors to the CIPP project reserve the right to close feature requests at will.
If you'd like this feature request to be assigned to you, please comment "I would like to work on this please!".

<!-- gh-comment-id:1672992002 --> @github-actions[bot] commented on GitHub (Aug 10, 2023): Thank you for creating a feature request! Your current priority is set to "No Priority". No Priority Feature requests automatically get closed in two days if a contributor does not accept the FR. If you are a sponsor you can request an upgrade of priority. To upgrade the priority type "I would like to upgrade the priority". If you want this feature to be integrated you can always do this yourself by checking out our contributions guide at https://cipp.app/docs/dev/. Contributors to the CIPP project reserve the right to close feature requests at will. If you'd like this feature request to be assigned to you, please comment "I would like to work on this please!".
Author
Owner

@KelvinTegelaar commented on GitHub (Aug 10, 2023):

only accepting FR's by sponsors.

<!-- gh-comment-id:1672992884 --> @KelvinTegelaar commented on GitHub (Aug 10, 2023): only accepting FR's by sponsors.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/CIPP#899
No description provided.