question

ShankarDevarakondaG-4042 avatar image
0 Votes"
ShankarDevarakondaG-4042 asked SwathiDhanwada-MSFT answered

Need help to build a policy to disable the marketplace services at tenant level rather directly disabling through EA portal.

Hello There,

Need help to build a policy to disable the marketplace services at tenant level rather directly disabling through EA portal.
If there is a way how can we whitelist below properties to a service through azure policy

Publisher Name Offer Name Plan Name

azure-policy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SwathiDhanwada-MSFT avatar image
0 Votes"
SwathiDhanwada-MSFT answered

Disclaimer: This response contains a reference to a third-party WWW site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.

@ShankarDevarkondaG-4042 Welcome of Microsoft Q & A Community Forum. I understand that you want to enable few services based on allowed publisher, plan or Offer instead of disabling the
marketplace services entirely. Based on the service, you can verify the list of properties available for a resource which you can govern using Azure policy. For example, you can try restricting creation of vm's if the publisher isn't among the list you specified.

Here is blog article which explains on how to govern marketplace service using Azure Policy.

References:

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.