What version of SQL Server do you have? To log on to SQL Server with AAD, you must be running SQL 2022. It is not supported by older versions. If you have SQL 2022, you need to first enable it for Azure Arc, and then you can activate AAD authentication through the portal.
See further the Docs article Azure Active Directory authentication for SQL Server.