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 the user in the environment has more group memberships than the ones defined on the configuration file and the configuration file has at least one group membership, this error appear for each group that DSC is trying to remove membership.
[BadRequest] : Invalid filter clause: There is an unterminated string literal at position 27 in 'DisplayName eq 'TEST1-Group'.
+ CategoryInfo : InvalidOperation: ({ ConsistencyLe... , Headers = }:) [], CimException
+ FullyQualifiedErrorId : BadRequest,Microsoft.Graph.PowerShell.Cmdlets.GetMgGroup_List
+ PSComputerName : localhost
Cannot bind argument to parameter 'GroupId' because it is an empty string.
+ CategoryInfo : InvalidData: (:) [], CimException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Remove-MgGroupMemberDirectoryObjectByRef
+ PSComputerName : localhost
Description of the issue
When the user in the environment has more group memberships than the ones defined on the configuration file and the configuration file has at least one group membership, this error appear for each group that DSC is trying to remove membership.
[BadRequest] : Invalid filter clause: There is an unterminated string literal at position 27 in 'DisplayName eq 'TEST1-Group'.
+ CategoryInfo : InvalidOperation: ({ ConsistencyLe... , Headers = }:) [], CimException
+ FullyQualifiedErrorId : BadRequest,Microsoft.Graph.PowerShell.Cmdlets.GetMgGroup_List
+ PSComputerName : localhost
Cannot bind argument to parameter 'GroupId' because it is an empty string.
+ CategoryInfo : InvalidData: (:) [], CimException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Remove-MgGroupMemberDirectoryObjectByRef
+ PSComputerName : localhost
Microsoft 365 DSC Version
1.24.1106.3
Which workloads are affected
Azure Active Directory (Entra ID)
The DSC configuration
Verbose logs showing the problem
Environment Information + PowerShell Version
The text was updated successfully, but these errors were encountered: