When installing the Azure Stack Microsoft SQL resource provider, this needs to be done from a computer where Azure Stack and Azure PowerShell has been installed. If you have installed any versions of the AzureRM or Azure Stack PowerShell modules other than 1.2.9 or 1.2.10, you will need to remove them. This includes versions 1.3 or higher.
Now we need to download the resource provider. The download location for the Microsoft SQL resource provider is https://aka.ms/azurestacksqlrp.
After you have downloaded the file, you will need to log on as the AzureStackAdmin account and extract it on the deployment VM.