Azure command not working

Jonny Moura 21 Reputation points
2020-10-22T11:08:28.05+00:00

Hi guys,

Not sure if I'm in the right section.

I'm trying to run a very simple command to get policy definitions using where-object on it but for some reason nothing is coming out of that.

I'm using PS 7 but I also tried in the built in version of PS on portal.azure.com.

Any ideas why?

34302-error-azure.png

Thank you.

Best regards,
Jonny Moura

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vaibhav Chaudhari 38,631 Reputation points
    2020-10-22T11:22:28.99+00:00

    Could you try -match instead of -contains and see if that gives expected result


    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful