Skip to content

Instantly share code, notes, and snippets.

@JsAndDotNet
Created April 8, 2022 09:31
Show Gist options
  • Save JsAndDotNet/b18c9e5d3511c5271cac4b66f393096b to your computer and use it in GitHub Desktop.
Save JsAndDotNet/b18c9e5d3511c5271cac4b66f393096b to your computer and use it in GitHub Desktop.
Get Service Principle ObjectID from Azure
$webAppObjectId = (Get-AzADServicePrincipal -DisplayName $webAppName).Id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment