Open andreacardinali opened 2 months ago
Looks like there's some case that Condition and ConditionVersion fields are not populated. These fields were introduced by https://github.com/Azure/azure-powershell/pull/23904 (cc @mumoryan ) I'll loop in the RBAC team
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @kenieva, @AshishGargMicrosoft.
Description
Get-AzRoleDefinition is not always returning the Condition and ConditionVersion fields. Enabling debug shows that the body with full results is returned from the API. This is happening with the builtin role "Azure Container Storage Owner", while other builtin roles return the Condition fields correctly. This is issue is happening with Az.Resources module version 7.3.0 using both Powershell 5.1 and 7.45.
Issue script & Debug output
Environment data
Module versions
Error output
No response