Closed htzhang2 closed 2 years ago
@htzhang2 , thanks for contacting us. First, please ensure you have permission to access service principal or its application on Portal. Second, there are 2 id to AzureAD object. One is application(client) id and another one is directory object id. In Azure PowerShell AzAd cmdlets, object id usually refers to directory object id. Please use correct id according to parameter you are using.
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!
Description
Get-AzADServicePrincipal command shows nothing:
Get-AzADSpCredential -ObjectId [id]
[Expected] Client secret for the spn [Actual] Nothing
Script or Debug output
Environment data
Module versions
Error output