Skip to content

Instantly share code, notes, and snippets.

@ukcoderj
Created April 8, 2022 09:31
Show Gist options
  • Save ukcoderj/b18c9e5d3511c5271cac4b66f393096b to your computer and use it in GitHub Desktop.
Save ukcoderj/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