Unable to provision Windows 2019 Server via Azure ARM template

%3CLINGO-SUB%20id%3D%22lingo-sub-276280%22%20slang%3D%22en-US%22%3EUnable%20to%20provision%20Windows%202019%20Server%20via%20Azure%20ARM%20template%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-276280%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20trying%20to%20build%20Windows%202019%20via%20custom%20arm%20template.%20We%20are%20trying%20for%20below%20configuration.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESkus%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20Offer%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20PublisherName%3C%2FP%3E%3CP%3E----%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B-----%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B-------------%3C%2FP%3E%3CP%3E2019-datacenter%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Brs5_preview%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20microsoft-hyperv%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20the%20deployment%20first%20failed%20with%20below%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CEM%3ECreating%20a%20virtual%20machine%20from%20Marketplace%20image%20requires%20Plan%20information%20in%20the%20request%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20we%20added%20the%20plan%20information%20in%20the%20virtual%20machine%20create%20root.%3C%2FP%3E%3CP%3E%22plan%22%3A%20%7B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22name%22%3A%20%22%5Bparameters('sku')%5D%22%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22publisher%22%3A%20%22%5Bvariables('imagePublisher')%5D%22%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%22product%22%3A%20%22%5Bvariables('imageOffer')%5D%22%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20again%20it%20failed%20with%20error-%20%3CSTRONG%3E%3CEM%3EUser%20failed%20validation%20to%20purchase%20resources%2C%20CustomerDeniedServicePlanAccess%20The%20Offer%20is%20not%20sold%20in%20the%20account%20market%20(US)%20.%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E%3CEM%3EWe%20never%20faced%20any%20such%20issue%20while%20procuring%202012%20or%202016%20Server%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20Thoughts%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-276280%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-276311%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20provision%20Windows%202019%20Server%20via%20Azure%20ARM%20template%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-276311%22%20slang%3D%22en-US%22%3E%3CP%3EI%20think%20it%20is%20because%20MS%20has%20pulled%20Windows%20Server%202019.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4464619%2Fwindows-10-update-history%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4464619%2Fwindows-10-update-history%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi All,

 

We are trying to build Windows 2019 via custom arm template. We are trying for below configuration.

 

Skus                          Offer                    PublisherName

----                            -----                      -------------

2019-datacenter       rs5_preview          microsoft-hyperv

 

But the deployment first failed with below error.

 

Creating a virtual machine from Marketplace image requires Plan information in the request

 

Then we added the plan information in the virtual machine create root.

"plan": {

        "name": "[parameters('sku')]",

        "publisher": "[variables('imagePublisher')]",

        "product": "[variables('imageOffer')]"

      }

 

But again it failed with error- User failed validation to purchase resources, CustomerDeniedServicePlanAccess The Offer is not sold in the account market (US) .

 

We never faced any such issue while procuring 2012 or 2016 Server

 

Any Thoughts ?

1 Reply