CmdID / PowerShell / Cmdlets / Update
Update-MgAdminSharepointSetting
Update one or more tenant-level settings for SharePoint and OneDrive. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 42 parameters Its page in the reference
Parameters
Show its 42 parameters
-AdditionalPropertiesAdditional Parameters-AllowedDomainGuidsForSyncAppCollection of trusted domain GUIDs for the OneDrive sync app.-AvailableManagedPathsForSiteCreationCollection of managed paths available for site creation.-BodyParametersharepointSettings To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DeletedUserPersonalSiteRetentionPeriodInDaysThe number of days for preserving a deleted user's OneDrive.-ExcludedFileExtensionsForSyncAppCollection of file extensions not uploaded by the OneDrive sync app.-HeadersOptional headers that will be added to the request.-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline-IdThe unique identifier for an entity.-IdleSessionSignOutidleSessionSignOut To construct, see NOTES section for IDLESESSIONSIGNOUT properties and create a hash table.-ImageTaggingOptionimageTaggingChoice-IsCommentingOnSitePagesEnabledIndicates whether comments are allowed on modern site pages in SharePoint.-IsFileActivityNotificationEnabledIndicates whether push notifications are enabled for OneDrive events.-IsLegacyAuthProtocolsEnabledIndicates whether legacy authentication protocols are enabled for the tenant.-IsLoopEnabledIndicates whether if Fluid Framework is allowed on SharePoint sites.-IsMacSyncAppEnabledIndicates whether files can be synced using the OneDrive sync app for Mac.-IsRequireAcceptingUserToMatchInvitedUserEnabledIndicates whether guests must sign in using the same account to which sharing invitations are sent.-IsResharingByExternalUsersEnabledIndicates whether guests are allowed to reshare files, folders, and sites they don't own.-IsSharePointMobileNotificationEnabledIndicates whether mobile push notifications are enabled for SharePoint.-IsSharePointNewsfeedEnabledIndicates whether the newsfeed is allowed on the modern site pages in SharePoint.-IsSiteCreationEnabledIndicates whether users are allowed to create sites.-IsSiteCreationUiEnabledIndicates whether the UI commands for creating sites are shown.-IsSitePagesCreationEnabledIndicates whether creating new modern pages is allowed on SharePoint sites.-IsSitesStorageLimitAutomaticIndicates whether site storage space is automatically managed or if specific storage limits are set per site.-IsSyncButtonHiddenOnPersonalSiteIndicates whether the sync button in OneDrive is hidden.-IsUnmanagedSyncAppForTenantRestrictedIndicates whether users are allowed to sync files only on PCs joined to specific domains.-PersonalSiteDefaultStorageLimitInMbThe default OneDrive storage limit for all new and existing users who are assigned a qualifying license.-ProxyThe URI for the proxy server to use-ProxyCredentialCredentials for a proxy server to use for the remote call-ProxyUseDefaultCredentialsUse the default credentials for the proxy-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-SharingAllowedDomainListCollection of email domains that are allowed for sharing outside the organization.-SharingBlockedDomainListCollection of email domains that are blocked for sharing outside the organization.-SharingCapabilitysharingCapabilities-SharingDomainRestrictionModesharingDomainRestrictionMode-SiteCreationDefaultManagedPathThe value of the team site managed path.-SiteCreationDefaultStorageLimitInMbThe default storage quota for a new site upon creation.-TenantDefaultTimezoneThe default timezone of a tenant for newly created sites.-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.