I'm probably late to party, but you need to add your Managed Identity's AppId as the "username". That is what the driver will use to contact Entra ID and authenticate to Azure SQL.