Set up an Azure Active Directory Service Principal and Azure Key Vault using PowerShell
This is Part: PS2 (PowerShell) of a 4-part blog series:
This blog in the series provides the step-by-step instructions to configure Azure Active Directory using PowerShell.
To grant SQL Server access permissions to your Azure Key Vault (AKV), you will need a Service Principal account in Azure Active Directory (AAD).
Step 0 – Prerequisite: The Azure Active Directory PowerShell Module must be installed before these commands will work.
<# Step 0: Install Azure AD PowerShell module if it is not already installed #>