Changed az ad commands for appId, clientId & clientOid
Following commands are failing with az cli v 2.27:
az ad sp show --id $tfPrincipalName --query appId -o tsv
az ad sp show --id $principalName --query appId -o tsv
az ad sp show --id $principalName --query objectId -o tsv