This is standard SQL Server stuff, but it applies to the managed Azure SQL as well as SQL VMs.
It’s useful because lots of SQL databases are getting migrated to the cloud and authentication is often a difficult problem.
Here’s some documentation which will help if you’re not used to SQL Server:
That should let you connect, but your new login will need to be granted permission to use the UDF.
Need more? Here’s the solution.