Unable to deploy Data Science VM via ARM Template due to offer terms not accepted RRS feed

  • Question

  • Hi im trying to deploy the Windows 2016 Data Science VM using an ARM template.  The storageprofile from the template is below

                        "imageReference": {
                            "publisher": "microsoft-ads",
                            "offer": "windows-data-science-vm",
                            "sku": "windows2016byol",
                            "version": "latest"

    I have enabled automated deployment for this marketplace item via the console and confirmed via PowerShell that it is set (Remvoed some values to keep it short)

    Publisher         : microsoft-ads
    Product           : windows-data-science-vm
    Plan              : windows2016
    LicenseTextLink   : <licence URL>
    PrivacyPolicyLink : <privacy Policy>
    Signature         : <SIG>
    Accepted          : True
    Signdate          : 18/01/2018 10:18:18

    However when i deploy the template, i get the below error

    Template deployment returned the following errors:
    10:17:25 - Error: Code=MarketplacePurchaseEligibilityFailed; Message=Marketplace purchase el
    igibilty check returned errors. See inner errors for details.
    10:17:26 - Error: Code=BadRequest; Message=Offer with PublisherId: microsoft-ads, OfferId: w
    indows-data-science-vm cannot be purchased due to validation errors. See details for more in
    formation.[{"Legal terms have not been accepted for this item on this subscription. To accep
    t legal terms using PowerShell, please use Get-AzureRmMarketplaceTerms and Set-AzureRmMarket
    placeTerms API(https://go.microsoft.com/fwlink/?linkid=862451) or deploy via the Azure porta
    l to accept the terms":"StoreApi"}]
    The deployment validation failed

    Has anyone else seen this or know why this could be an happening?

    Chris Gibson

    Thursday, January 18, 2018 10:25 AM


All replies