Skip to content

Instantly share code, notes, and snippets.

@audunsolemdal
Created September 25, 2020 13:29
Show Gist options
  • Save audunsolemdal/193a1b2f341920bebce328301c183760 to your computer and use it in GitHub Desktop.
Save audunsolemdal/193a1b2f341920bebce328301c183760 to your computer and use it in GitHub Desktop.
Evidence for KC0302
Get-Date
Connect-AzAccount -TenantId 3aa4a235-b6e2-48d5-9195-7fcf05b459b0
$appreg = Get-AzADApplication -ObjectId 2325bab4-1ebd-44b9-88fd-c299e97522fc
$appreg | Select-Object ApplicationId, AvailableToOtherTenants
$appreg | Select-Object ReplyUrls -ExpandProperty ReplyUrls
az account set --subscription "S105-Centuries-prod"
Get-Date
$api = az webapp auth show --name centuries-prod-api --resource-group centuries-prod-app-rg | ConvertFrom-Json
$api | Select-Object ClientId, allowedAudiences, id | Format-List
$web = az webapp auth show --name centuries-prod-web --resource-group centuries-prod-app-rg | ConvertFrom-Json
$web | Select-Object ClientId, allowedAudiences, id | Format-List
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment