Service Principals Get the service principal for an application by app ID: az ad sp list --filter "appId eq 'APP-GUID-HERE'" --query "[].objectId" -o tsv