Azure / Azure/azure-powershell
[Doc]: Update-AzRoleManagementPolicy error when running provided sample code : Unable to find type [RoleManagementPolicyExpirationRule]
Open
customer-reported
Policy
Service Attention
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description
Hi,
trying to run example 1 from https://learn.microsoft.com/en-us/powershell/module/az.resources/update-azrolemanagementpolicy?view=azps-9.5.0&tryIt=true#code-try-2 et getting the following error (cloudshell or powershell)
**`InvalidOperation: Unable to find type [RoleManagementPolicyExpirationRule]`**

Contributor guide
Assessment
This issue has not been assessed yet.