I did try plan_info sorry forgot to mention that. same issue,
I am currently looking at “Licensing issues” with out cloud team. THis might be the real issue
Seems that while the error is not the same from Packer, it would make sense as a simular issue.
az vm create -n rhel-byos-vm -g rg-ent-imgbuilder-cus-prod --image redhat:rhel-byos:rhel-lvm8:latest --validate
Azure Error: MarketplacePurchaseEligibilityFailed
Message: Marketplace purchase eligibilty check returned errors. See inner errors for details.
Exception Details:
Error Code: BadRequest
Message: Offer with PublisherId: 'redhat', OfferId: 'rhel-byos' cannot be purchased due `to validation errors. For more information see details. Correlation Id: 'XXXXXXXX-XXXXX-XXXXXX-XXXX-XXXXXX' You have not accepted the legal terms on this subscription: 'XXXXXXXXX-XXXXX-XXXXX-XXXX-XXXXXXXXXXXX' for this plan. Before the subscription can be used, you need to accept the legal terms of the image. To read and accept legal terms, use the Azure CLI commands described at https://go.microsoft.com/fwlink/?linkid=2110637 or the PowerShell commands available at https://go.microsoft.com/fwlink/?linkid=862451. Alternatively, deploying via the Azure portal provides a UI experience for reading and accepting the legal terms. Offer details: publisher='redhat' offer = 'rhel-byos', sku = 'rhel-lvm8', Correlation Id: 'XXXXXXXXX-XXXXX-XXXXX-XXXXXX-XXXXXXXXXXX'.[{"You have not accepted the legal terms on this subscription: 'XXXXXXXX-XXXXX-XXXXX-XXXX-XXXXXXXXXXX' for this plan. Before the subscription can be used, you need to accept the legal terms of the image. To read and accept legal terms, use the Azure CLI commands described at https://go.microsoft.com/fwlink/?linkid=2110637 or the PowerShell commands available at https://go.microsoft.com/fwlink/?linkid=862451. Alternatively, deploying via the Azure portal provides a UI experience for reading and accepting the legal terms. Offer details: publisher='redhat' offer = 'rhel-byos', sku = 'rhel-lvm8', Correlation Id: 'XXXXXX-XXXXX-4c4c-XXXXX-XXXXXXXXX'.":"StoreApi"}]`