From 1f8fe2260e111d7684b07612fba5c7560ede15b7 Mon Sep 17 00:00:00 2001 From: bgbggoogol-a11y Date: Tue, 4 Aug 2026 14:48:50 -0700 Subject: [PATCH] Update Set-SPOTenant.md (#1196) Co-authored-by: Burra Gopal --- .../Set-SPOTenant.md | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md index 7ab62ef3a..a020a4080 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -9,7 +9,7 @@ author: samkabue ms.author: speedta ms.reviewer: Mengke-GH description: 'A PowerShell cmdlet used in SharePoint Online to configure organization-wide tenant settings.' -ms.date: 03/04/2026 +ms.date: 08/03/2026 --- # Set-SPOTenant @@ -145,6 +145,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] + [-DefaultLanguageForSiteCreation ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] [-AllowFileArchive ] [-AllowFileArchiveByDefault ] [] @@ -280,6 +281,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] + [-DefaultLanguageForSiteCreation ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] [-AllowFileArchive ] [-AllowFileArchiveByDefault ] [] @@ -416,6 +418,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] + [-DefaultLanguageForSiteCreation ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] [-AllowFileArchive ] [-AllowFileArchiveByDefault ] [] @@ -550,6 +553,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] + [-DefaultLanguageForSiteCreation ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] [-AllowFileArchive ] [-AllowFileArchiveByDefault ] [] @@ -684,6 +688,7 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] [-DefaultContentCenterSite ] + [-DefaultLanguageForSiteCreation ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] [-RestrictResourceAccountAccess ] [-RestrictExternalSharingForAgents ] -RestrictExternalSharing [-AddAppIdToList] [-RemoveAppIdFromList] @@ -926,6 +931,14 @@ Set-SPOTenant -IsFilePreviewDomainRestrictionEnabled $false This example disables the file preview domain restriction. The previously configured allow list is retained but ignored, so the file preview viewer can load content from any domain. +### EXAMPLE 28 + +```powershell +Set-SPOTenant -DefaultLanguageForSiteCreation "de-DE" +``` + +This example sets the default language for new OneDrive sites to German (Germany). New OneDrive sites created after you run this command use this language instead of the language of the organization's OneDrive host site. To clear the setting and return to the default behavior, pass an empty string: `Set-SPOTenant -DefaultLanguageForSiteCreation ""`. + ## PARAMETERS ### -AIBuilderModelScope @@ -2287,6 +2300,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -DefaultLanguageForSiteCreation + +> Applicable: SharePoint Online + +Specifies the default language that SharePoint Online uses when it creates new OneDrive sites for the organization. Provide a language tag, such as `en-US`, `de-DE`, or `fr-FR`. + +When you set this value, new OneDrive sites are created in the specified language instead of the language of the organization's OneDrive host site. The language must be installed for the organization. If the value is empty, or if the specified language isn't available, SharePoint Online uses the language of the OneDrive host site. + +This setting applies only to OneDrive sites that are created after you set it. It doesn't change the language of existing sites. To clear the setting, pass an empty string. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -DefaultLinkPermission > Applicable: SharePoint Online