graph groupsetting set¶
Updates the particular group setting
graph groupsetting set [options]
||output usage information|
||The ID of the group setting to update|
||Runs command with verbose logging|
||Runs command with debug logging|
Before using this command, log in to the Microsoft Graph, using the graph login command.
To update a group setting, you have to first log in to the Microsoft Graph using the graph login command, eg.
To update a group setting, you have to specify the ID of the group setting. You can retrieve the ID of the group setting using the graph groupsetting list command.
To update values for the different properties specified in the group setting, include additional options that match the property in the group setting. For example
--ClassificationList 'HBI, MBI, LBI, GDPR' will set the list of classifications to use on modern SharePoint sites.
If you don't specify a value for the particular property, it will remain unchanged. To find out which properties are available for the particular group setting, use the graph groupsetting get command.
If the specified id doesn't reference a valid group setting, you will get a Resource 'xyz' does not exist or one of its queried reference-property objects are not present. error.
Configure classification for modern SharePoint sites
graph groupsetting set --id c391b57d-5783-4c53-9236-cefb5c6ef323 --UsageGuidelinesUrl https://contoso.sharepoint.com/sites/compliance --ClassificationList 'HBI, MBI, LBI, GDPR' --DefaultClassification MBI