Closed scrthq closed 5 years ago
Describe the bug Attempting to get the list of groups where a user is a member fails and returns a 400 Bad Request.
To Reproduce
[PS 6.2]> $user = Get-GSUser [PS 6.2]> Get-GSGroup -Where_IsAMember $user.PrimaryEmail Get-GSGroup : Exception calling "Execute" with "0" argument(s): "Google.Apis.Requests.RequestError Bad Request [400] Errors [ Message[Bad Request] Location[ - ] Reason[badRequest] Domain[global] ] " At line:1 char:1 + Get-GSGroup -Where_IsAMember $user.PrimaryEmail + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-GSGroup
Expected behavior Should list the groups that the user is a member of.
Environment:
Resolved in v2.27.0
Describe the bug Attempting to get the list of groups where a user is a member fails and returns a 400 Bad Request.
To Reproduce
Expected behavior Should list the groups that the user is a member of.
Environment: