You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When getting the Site Collection RootWeb Title the Get-TargetResource uses the Property Name, which is empty on SPWeb Objects.
In this case the Title property contains the name of the RootWeb. Or the Multilanguage approach .TitleResource.GetValueForUICulture()
Problem description
When getting the Site Collection RootWeb Title the
Get-TargetResource
uses the PropertyName
, which is empty on SPWeb Objects.In this case the
Title
property contains the name of the RootWeb. Or the Multilanguage approach.TitleResource.GetValueForUICulture()
SharePointDsc/SharePointDsc/DSCResources/MSFT_SPSite/MSFT_SPSite.psm1
Line 181 in 13408f4
Verbose logs
DSC configuration
Suggested solution
Replace
Name = $site.RootWeb.Name
with$site.RootWeb.TitleResource.GetValueForUICulture($site.RootWeb.UICulture)
SharePoint version and build
Operating system the target node is running
PowerShell version and build the target node is running
SharePointDsc version
The text was updated successfully, but these errors were encountered: