Skip to content

Instantly share code, notes, and snippets.

@rayterrill
Created October 30, 2019 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rayterrill/a83c79e487b684454b12a1d6a76af258 to your computer and use it in GitHub Desktop.
Save rayterrill/a83c79e487b684454b12a1d6a76af258 to your computer and use it in GitHub Desktop.
$apps = Get-AzureADApplication -All $true
foreach ($a in $apps) {
try {
$appProxy = Get-AzureADApplicationProxyApplication -ObjectID $a.ObjectID
Write-Host "App Proxy config found for $($a.DisplayName): $($appProxy.ExternalURL) using $($appProxy.externalAuthenticationType)."
} catch {
#no app proxy config found for the app
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment