The SQL IaaS Agent extension on Linux is only available in lightweight mode, which supports only changing the license type and edition of SQL Server. Use the Azure CLI or Azure PowerShell to register your SQL Server VM with the extension in lightweight mode for limited functionality.
If the answer provided has helped, please "Accept Answer" and click on Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.