Azure Marketplace API to programmatically review and accept publisher agreement/EULA

In this quick video walkthrough, I show how to use REST API to programmatically review and accept publisher agreement/EULA for Azure Marketplace VM images.

NOTE: You can also accept and review terms using Azure CLI “az vm image terms” and Azure PowerShell cmdlets Set-AzMarketplaceTerms and Get-AzMarketplaceTerms in Az.MarketplaceOrdering

Video Walkthrough

Tip: Play the video full screen.

You will also find the following CURL code snippets useful to supplement the video.

GET request to retrieve agreement information

Sample response will look like this:

PUT request to update accepted flag

Thanks for watching!

Please leave feedback and questions below or on Twitter https://twitter.com/ArsenVlad

Originally published at blogs.msdn.microsoft.com on October 2, 2017.

Principal Engineer / Architect, FastTrack for Azure at Microsoft

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store