Open AshleyJackson opened 3 years ago
Describe the bug When offboarding a user an error pops up stating that there are conflicting requests.
To Reproduce Steps to reproduce the behavior:
Expected behavior Work through the Offboarding steps to deactivate a user, more specifically this: https://github.com/SCRT-HQ/PSGSuite/blob/main/PSGSuite/Public/Users/Invoke-GSUserOffboarding.ps1
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Was able to scrape this from the log files: [2021-03-29T14:16:07.9479205+10:00] Starting offboard of user: USEREMAIL@DOMAIN.com.au [2021-03-29T14:16:07.9800594+10:00] [USEREMAIL@DOMAIN.com.au] Updating user Update-GSUser : Exception calling "Execute" with "0" argument(s): "Google.Apis.Requests.RequestError Conflicting requests. Please try again [409] Errors [Message[Conflicting requests. Please try again] Location[ - ] Reason[conflict] Domain[global]] "At C:\Program Files\WindowsPowerShell\Modules\PSGSUITE\2.36.4\PSGSuite.psm1:27624 char:17 Update-GSUser @_user @updateParams | Format-List Prim ... CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-GSUser
Describe the bug When offboarding a user an error pops up stating that there are conflicting requests.
To Reproduce Steps to reproduce the behavior:
Expected behavior Work through the Offboarding steps to deactivate a user, more specifically this: https://github.com/SCRT-HQ/PSGSuite/blob/main/PSGSuite/Public/Users/Invoke-GSUserOffboarding.ps1
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context Was able to scrape this from the log files: [2021-03-29T14:16:07.9479205+10:00] Starting offboard of user: USEREMAIL@DOMAIN.com.au [2021-03-29T14:16:07.9800594+10:00] [USEREMAIL@DOMAIN.com.au] Updating user Update-GSUser : Exception calling "Execute" with "0" argument(s): "Google.Apis.Requests.RequestError Conflicting requests. Please try again [409] Errors [Message[Conflicting requests. Please try again] Location[ - ] Reason[conflict] Domain[global]] "At C:\Program Files\WindowsPowerShell\Modules\PSGSUITE\2.36.4\PSGSuite.psm1:27624 char:17 Update-GSUser @_user @updateParams | Format-List Prim ... CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-GSUser