Does Azure policy supports external data?

Lana Salameh 1 Reputation point
2020-10-25T17:49:23.973+00:00

Hi,
I need to implement a policy that depends on external data available via RP, in other worlds, the decision whether the resource is compliant or not, depends on the relevant data in the RP(Azure Resource Graph for example)
is this model possible to implement via Azure policy?

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

1 answer

Sort by: Most helpful
  1. olufemia-MSFT 2,861 Reputation points
    2020-10-27T18:32:26.833+00:00

    Hello @Lana Salameh ,

    In Azure Policy, evaluating compliance of a resouce is typically done against an expectation/condition native to the resource.
    You might be able ot get this working If the (external) RP data/value is an ARM property with an alias.

    Learn more about Azure Policy Aliases here.

    1 person found this answer helpful.
    0 comments No comments