Skip to content

Commit 779047d

Browse files
Merge pull request #2723 from kris6673/sp-disable-sync
Add SharePoint sync button standard and update onedrive shortcut standard
2 parents f54327b + 9cff0cc commit 779047d

File tree

1 file changed

+48
-9
lines changed

1 file changed

+48
-9
lines changed

src/data/standards.json

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,17 +2079,56 @@
20792079
"name": "standards.DisableAddShortcutsToOneDrive",
20802080
"cat": "SharePoint Standards",
20812081
"tag": ["mediumimpact"],
2082-
"helpText": "When the feature is disabled the option Add shortcut to OneDrive will be removed. Any folders that have already been added will remain on the user's computer.",
2083-
"disabledFeatures": {
2084-
"report": true,
2085-
"warn": true,
2086-
"remediate": false
2087-
},
2088-
"addedComponent": [],
2089-
"label": "Disable Add Shortcuts To OneDrive",
2082+
"helpText": "If disabled, the button Add shortcut to OneDrive will be removed and users in the tenant will no longer be able to add new shortcuts to their OneDrive. Existing shortcuts will remain functional",
2083+
"addedComponent": [
2084+
{
2085+
"type": "Select",
2086+
"label": "Add Shortcuts To OneDrive button state",
2087+
"name": "standards.DisableAddShortcutsToOneDrive.state",
2088+
"values": [
2089+
{
2090+
"label": "Disabled",
2091+
"value": "true"
2092+
},
2093+
{
2094+
"label": "Enabled",
2095+
"value": "false"
2096+
}
2097+
]
2098+
}
2099+
],
2100+
"label": "Set Add Shortcuts To OneDrive button state",
2101+
"impact": "Medium Impact",
2102+
"impactColour": "warning",
2103+
"powershellEquivalent": "Set-SPOTenant -DisableAddShortcutsToOneDrive $true or $false",
2104+
"recommendedBy": []
2105+
},
2106+
{
2107+
"name": "standards.SPSyncButtonState",
2108+
"cat": "SharePoint Standards",
2109+
"tag": ["mediumimpact"],
2110+
"helpText": "If disabled, users in the tenant will no longer be able to use the Sync button to sync SharePoint content on all sites. However, existing synced content will remain functional on the user's computer.",
2111+
"addedComponent": [
2112+
{
2113+
"type": "Select",
2114+
"label": "SharePoint Sync Button state",
2115+
"name": "standards.SPSyncButtonState.state",
2116+
"values": [
2117+
{
2118+
"label": "Disabled",
2119+
"value": "true"
2120+
},
2121+
{
2122+
"label": "Enabled",
2123+
"value": "false"
2124+
}
2125+
]
2126+
}
2127+
],
2128+
"label": "Set SharePoint sync button state",
20902129
"impact": "Medium Impact",
20912130
"impactColour": "warning",
2092-
"powershellEquivalent": "Graph API or Portal",
2131+
"powershellEquivalent": "Set-SPOTenant -HideSyncButtonOnTeamSite $true or $false",
20932132
"recommendedBy": []
20942133
},
20952134
{

0 commit comments

Comments
 (0)