Create an ADGroup with the Accountname "UPERCASEGROUP".
Create a SPShellAdmins Ressource and type the Name in lower case or at least one character in lower case.
The Test Method will fail.
The Line 1167if (-not($CurrentValues.Members.Contains($member))) should use the PowerShell -contains Operator which is caseinsenitive instead of the casesensitive .Net .contains() Method.
SharePoint version and build
SharePoint Server Subscription Edition 16.0.17928.20238
Operating system the target node is running
@{
OsName=Microsoft Windows Server 2022 Datacenter;
OsOperatingSystemSKU=DatacenterServerEdition;
OsArchitecture=64-bit;
WindowsVersion=2009;
WindowsBuildLabEx=20348.1.amd64fre.fe_release.210507-1500;
OsLanguage=en-US;
OsMuiLanguages=System.String[]
}
PowerShell version and build the target node is running
Problem description
Create an ADGroup with the Accountname "UPERCASEGROUP".
Create a SPShellAdmins Ressource and type the Name in lower case or at least one character in lower case. The Test Method will fail.
Verbose logs
DSC configuration
Suggested solution
The Line 1167
if (-not($CurrentValues.Members.Contains($member)))
should use the PowerShell-contains
Operator which is caseinsenitive instead of the casesensitive .Net.contains()
Method.SharePoint version and build
Operating system the target node is running
PowerShell version and build the target node is running
SharePointDsc version