Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Azure VM SQL Offer: sql2019-ws2019-byol Not allowing to be installed.

$
0
0

I have tried creating a VM from the Azure Portal and from Powershell and both get the same error.

The following list of images referenced from the deployment template are not found: Publisher: microsoftsqlserver, Offer: sql2019-ws2019-byol, Sku: standard, Version: 15.0.200609.

If I change the offer": "sql2019-ws2019-byol", to "sql2019-ws2019"  All works fine. 

So I gave a new 2019 Server (Hybrid Benefit) and SQL 2019, but no BYOL. 

Can we fix the BYOL Image?  Can I convert the non-BYOL Image to a BYOL SQL Image?  I can blow it away once the other is fixed, but if it not fixed for a while I need to get going...

Output of commands below...

Thanks,

Scott<-

I believe the only part of the the template and parameters JSON files that is important is the Image Reference:

Command Line uses the following imageReference:

                   "imageReference": {
                        "publisher": "microsoftsqlserver",
                        "offer": "sql2019-ws2019-byol",
                        "sku": "standard",
                        "version": "15.0.200609"
                    },

Portal uses the following imageReferences: 

                   "imageReference": {
                        "publisher": "microsoftsqlserver",
                        "offer": "sql2019-ws2019-byol",
                        "sku": "standard",
                      "version": "latest" //Command line didn't like this
                    },

I can query the Image and it finds it:

PS /Users/scooter133/Downloads/template-2> Get-AzVMImage-Location"westus"-PublisherName"microsoftsqlserver"-offer sql2019-ws2019-byol-sku standard -version 15.0.200609

Id               : /Subscriptions/<subscription>/Providers/Microsoft.Compute/Locations/westus/Publishers/microsoftsqlserver/ArtifactTypes/VMImage/Offers/sql2019-ws2019-byol/Skus/standard/Versions/15.0.200609

Location         : westus

PublisherName    : microsoftsqlserver

Offer            : sql2019-ws2019-byol

Skus             : standard

Version          : 15.0.200609

FilterExpression : 

Name             : 15.0.200609

HyperVGeneration : V1

OSDiskImage      : {

                     "operatingSystem": "Windows"

                   }

PurchasePlan     : null

DataDiskImages   : []

Creating the new VM via Command Line. 

New-AzResourceGroupDeployment: 10:11:43 AM - Error: Code=InvalidTemplateDeployment; Message=The template deployment 'ASVR-SQL2019' is not valid according to the validation procedure. The tracking id is '4463012a-8e0d-40a3-ad07-881350632eb8'. See inner errors for details.

New-AzResourceGroupDeployment: 10:11:43 AM - Error: Code=InvalidParameter; Message=The following list of images referenced from the deployment template are not found: Publisher: microsoftsqlserver, Offer: sql2019-ws2019-byol, Sku: standard, Version: 15.0.200609. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/windows/cli-ps-findimage for instructions on finding available images.

New-AzResourceGroupDeployment: The deployment validation failed





Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>