none
restore failed - ErrorCode : UserErrorMarketPlaceVMNotSupported RRS feed

  • Question

  • I have created wordpress vm using wordpress certified by bitnami. 

     on the same account I restore vm successfully and made a development version. 

    2019-05-27 I tried restore again. 

    1 . vm restore - fail

    Error Code

    UserErrorMarketPlaceVMNotSupported

    Error Message

    VM creation failed due to Market Place purchase request being not present.

    Recommended Action

    Market Place request information corresponding to backed up VM is not present in the current market place. Please use �Restore disks� option during restore operation and use PowerShell or CLI cmdlets to create the VM with latest marketplace information corresponding to VM, if exists. If the publisher doesn’t have any marketplace information, you can use the data disks to get back your data and can attach them to an existing VM.


    2.  doing - restore disk -  success with restoring disk

    3. create vm using cli powershell using disk - fail 
    4. create vm using portal / restored disk - fail
    5. create new vm using Create New VM  - fail  

    {

    "code":"MarketplacePurchaseEligibilityFailed",

    "message":"Marketplace purchase eligibilty check returned errors. See inner errors for details. ",

    "details":[

    {"code":"BadRequest","message":"Offer with PublisherId: bitnami,

    OfferId: wordpress cannot be purchased due to validation errors. See details for more information.[{\"Offer with PublisherId: bitnami and OfferId: wordpress not found. If this offer has been created recently, please allow up to 30 minutes for this offer to be available for Purchase. If error persists, contact support.\":\"StoreApi\"}]"}]}


    6. create new vm using cli powershell  - fail 

    az : ERROR: Azure Error: MarketplacePurchaseEligibilityFailed
    위치 줄:1 문자:1
    + az vm create --resource-group rg-bespinacademyrestore --name vmrestor ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (ERROR: Azure Er...igibilityFailed:String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
     
    Message: Marketplace purchase eligibilty check returned errors. See inner errors for details. 
    Exception Details:
    	Error Code: BadRequest
    	Message: Offer with PublisherId: Bitnami, OfferId: default cannot be purchased due to validation errors. See details for more information.[{"Legal ter
    ms have not been accepted for this item on this subscription: '98ee3789-4a23-4d6b-abf9-c4cedbe01103'. To accept legal terms using PowerShell, please us
    e Get-AzureRmMarketplaceTerms and Set-AzureRmMarketplaceTerms API(https://go.microsoft.com/fwlink/?linkid=862451) or deploy via the Azure portal to acc
    ept the terms":"StoreApi"},{"Offer with PublisherId: Bitnami and OfferId: default not found. If this offer has been created recently, please allow up t
    o 30 minutes for this offer to be available for Purchase. If error persists, contact support.":"StoreApi"}]

    What should I do to restore this vm. 

    Wednesday, May 29, 2019 6:13 AM

All replies

  • Follow the instructions from this link - https://docs.microsoft.com/en-us/powershell/module/azurerm.marketplaceordering/?view=azurermps-6.13.0#marketplace to get the agreement term details and then set the same. Once you're through this process, you should be able to perform the desired operations.

    Thursday, May 30, 2019 8:47 AM
    Moderator
  • The introduced solution does not work. 

    I tried following Accepting terms instruction.

    I tried the steps below. 

    1. Get and set terms (Accept)

    2. Restore VM or Create VM using the image urn 

    Result : still shows the same result.

     Get-AzureRmMarketplaceTerms -Publisher "Bitnami" -Product "wordpress" -Name "default" | Set-AzureRmMarketplaceTerms -Accept

    Publisher         : Bitnami
    Product           : wordpress
    Plan              : default
    LicenseTextLink   : https://storelegalterms.blob.core.windows.net/legalterms/3E5ED_legalterms_BITNAMI%253a24WORDPRESS%253a24DEFAULT%253a24MUXOZ3VMGIY4MVYUFWWM5TLDE3JM2ZSI2Y5VJDOAI7Q2AMHX5WJYY
                        PE3JAI7HAVYY3H2HU4OAWLJ2QDQ664XQ5JLTNTNAGW2T45JEPY.txt
    PrivacyPolicyLink : https://bitnami.com/privacy
    Signature         : P7SCQ4CSW7ZKS4OUP7TUZECY5T56COLHZYZ2IXZB7SHRZLDQAPHESCTCJ4V3WDH2ENK6KKLUTIXC6LCVZDIAQF4LFGZ3AIZ7HCDCLHQ
    Accepted          : True
    Signdate          : 2019-06-03 오전 4:16:01

    Like above i have accepted the terms and it turned to True. although

    Although when creating VM 

    az : ERROR: Azure Error: MarketplacePurchaseEligibilityFailed
    위치 줄:1 문자:1
    + az vm create --resource-group rg-bespinacademyrestore --name vmrestor ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (ERROR: Azure Er...igibilityFailed:String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
     
    Message: Marketplace purchase eligibilty check returned errors. See inner errors for details. 
    Exception Details:
    	Error Code: BadRequest
    	Message: Offer with PublisherId: Bitnami, OfferId: wordpresspro cannot be purchased due to validation errors. See details for more information.[{"Offer with PublisherId: Bitnami and OfferId:
     wordpresspro not found. If this offer has been created recently, please allow up to 30 minutes for this offer to be available for Purchase. If error persists, contact support.":"StoreApi"}]

    this will appear. 

    so accepting the terms does not solve marketplace purchase errors

    Wednesday, June 12, 2019 7:35 AM
  • Please reach out to support for further assistance.
    Tuesday, June 25, 2019 10:47 AM
    Moderator