Is there any way to change property oauth2AllowIdTokenImplicitFlow in azure AD application via Azure CLI or Azure PowerShell?
If you just need the IdToken checked, you might want to use the property -Oauth2RequirePostResponse
Update cmd:
Connect-AzureAD
Set-AzureADApplication -ObjectId {yourAppId} -Oauth2RequirePostResponse $true
Create cmd:
New-AzureADApplication -DisplayName "MyApp" `
-HomePage "https:www.myapp.com" `
-LogoutUrl "https:www.myapp.com/signout-oidc" `
-ReplyUrls "https:www.myapp.com/signin-oidc" `
-IdentifierUris "https://tenant.onmicrosoft.com/MyApp" `
-Oauth2AllowImplicitFlow $false `
-Oauth2RequirePostResponse $true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With