Is there a way to retrieve the Client Secret from Azure AD Application as a plain text by using PowerShell?
I tried with the below commands, but it is returning only the type of the secret, not the actual value.
$objectID = "00000-00000-00000-00000"
$keyID = "00000-00000-00000-00000"
$secret = Get-AzADAppCredential -ObjectId $objectID | Where-Object {$_.KeyId -eq $keyID}
$secret
