Az Sql update does not support changing the --license-type, meanwhile the PowerShell equivalent of the same statement (Set-AzSqlDatabase (https://docs.microsoft.com/en-us/powershell/module/az.sql/set-azsqldatabase?view=azps-7.0.0), does support this behavior, and the setting of 'License Type' can be changed within the portal.
Azure CLI should support this as well. I have checked using the Azure Shell; PowerShell allows for the changes to be made, Portal allows the change to be made, AZ CLI errors with an unrecognized arguments error.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Az Sql update does not support changing the --license-type, meanwhile the PowerShell equivalent of the same statement (Set-AzSqlDatabase (https://docs.microsoft.com/en-us/powershell/module/az.sql/set-azsqldatabase?view=azps-7.0.0), does support this behavior, and the setting of 'License Type' can be changed within the portal.
Azure CLI should support this as well. I have checked using the Azure Shell; PowerShell allows for the changes to be made, Portal allows the change to be made, AZ CLI errors with an unrecognized arguments error.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.