1

I used powershell's AzureRm module to retrieve a list of keys for an Azure AD application using the command "Get-AzureRmADAppCredential" but the object returned only contains the StartDate, EndDate, KeyId and Type which I understand matches up with the application manifest. However, when you go to settings -> Keys from the Azure web portal there is also a "Description" field. I want to know if there is a way to get this description field as well.

Any help is greatly appreciated :)

Navog
  • 23
  • 2

1 Answers1

1

The PowerShell commands is using the Azure AD Graph REST actually, however this field is not public in Azure AD Graph. Please check the metadata about PasswordCredential:

enter image description here

And this field also doesn't exposed from Microsoft Graph-PasswordCredential. So I am afraid, you are not able to get the description field at present. You may submit the feedback about the Graph API from this site if you have this requirements.

Fei Xue
  • 14,369
  • 1
  • 19
  • 27
  • Thanks for the answer. Since it is not available in any of the APIs. I'm going to try a bit of a hacky solution and try to use the same request that the Azure Web portal is using, as that response does contain the description field. – Navog Oct 11 '17 at 03:11