Closed mikkokok closed 5 years ago
@mikkokok Hey Mikko, thanks for reporting this -- it looks like this is a similar to issue to this bug that was patched last release, but is occurring in other types inside of PolicyInsights. We'll fix this in PolicyState
and see if there are any other types that could hit this issue.
Fixed.
Description
Get-AzPolicyState returns Object reference not set to an instance of an object. This only happens with the latest version of Powershell 6. Worked fine with PSVersion 6.1.2
Steps to reproduce
Environment data
Module versions
Debug output
Error output