Is there an existing issue for this?
PowerShell version
7.5.4
Azure.DevOps.PSModule version
0.40
Related function
Get-AdoUserEntitlement
Input arguments of the related function
Any GUID of a user account which is not present in the Azure DevOps environment given as an argument to the UserId parameter.
Debug output
Expected behavior
A PSCustomObject with the user entitlement details of the user.
Actual behavior
An error message Write-Error: Response status code does not indicate success: 500 (Internal Server Error). .
The inner exception is of type UserEntitlementNotFoundException with the message User entitlement not found for ID {GUID} .
Steps to reproduce
No response
Is there an existing issue for this?
PowerShell version
7.5.4
Azure.DevOps.PSModule version
0.40
Related function
Get-AdoUserEntitlement
Input arguments of the related function
Any GUID of a user account which is not present in the Azure DevOps environment given as an argument to the
UserIdparameter.Debug output
Expected behavior
A PSCustomObject with the user entitlement details of the user.
Actual behavior
An error message
Write-Error: Response status code does not indicate success: 500 (Internal Server Error)..The inner exception is of type
UserEntitlementNotFoundExceptionwith the messageUser entitlement not found for ID {GUID}.Steps to reproduce
No response