Hi Ben Tsui •,
Welcome to Microsoft Q&A forum.
As I understand, you are getting Azure Powershell error The 'parameters.properties.sqlServerLicenseType' segment in the url is invalid while registering Windows SQL Server VM with SQL IaaS Agent extension.
Please review the syntax to make sure the url framed is valid in Powershell like Licensetype.
Awaiting your reply, thanks.