When working with an Azure SQL Database, you may find the need to determine who is currently connected. This could be for auditing purposes, for populating a ‘Created By’ column, or simply for troubleshooting a permissions issue. If your users authenticate using Microsoft Entra ID (formerly Azure Active Directory), the identity in question is usually…





