{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/1165","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1165/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1165/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1165/events","html_url":"https://github.com/Azure/azure-powershell/issues/1165","id":113198983,"number":1165,"title":"Request: Add ability to get existing Azure AD Application","user":{"login":"damienpontifex","id":1321276,"avatar_url":"https://avatars.githubusercontent.com/u/1321276?v=3","gravatar_id":"","url":"https://api.github.com/users/damienpontifex","html_url":"https://github.com/damienpontifex","followers_url":"https://api.github.com/users/damienpontifex/followers","following_url":"https://api.github.com/users/damienpontifex/following{/other_user}","gists_url":"https://api.github.com/users/damienpontifex/gists{/gist_id}","starred_url":"https://api.github.com/users/damienpontifex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienpontifex/subscriptions","organizations_url":"https://api.github.com/users/damienpontifex/orgs","repos_url":"https://api.github.com/users/damienpontifex/repos","events_url":"https://api.github.com/users/damienpontifex/events{/privacy}","received_events_url":"https://api.github.com/users/damienpontifex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-powershell/labels/ResourceAuthorization","name":"ResourceAuthorization","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-25T01:37:38Z","updated_at":"2016-01-15T14:49:53Z","closed_at":null,"body":"There are commands for new & remove AD Applications, but it would be great to be able to get an existing application. i.e. `Get-AzureRmADApplication`\r\n\r\nSpecifically to get the client id for configuring app settings when deploying web applications.\n<!---@tfsbridge:{\"tfsId\":5011621}-->"},"comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments/171980066","html_url":"https://github.com/Azure/azure-powershell/issues/1165#issuecomment-171980066","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1165","id":171980066,"user":{"login":"rdhardwick","id":3130709,"avatar_url":"https://avatars.githubusercontent.com/u/3130709?v=3","gravatar_id":"","url":"https://api.github.com/users/rdhardwick","html_url":"https://github.com/rdhardwick","followers_url":"https://api.github.com/users/rdhardwick/followers","following_url":"https://api.github.com/users/rdhardwick/following{/other_user}","gists_url":"https://api.github.com/users/rdhardwick/gists{/gist_id}","starred_url":"https://api.github.com/users/rdhardwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdhardwick/subscriptions","organizations_url":"https://api.github.com/users/rdhardwick/orgs","repos_url":"https://api.github.com/users/rdhardwick/repos","events_url":"https://api.github.com/users/rdhardwick/events{/privacy}","received_events_url":"https://api.github.com/users/rdhardwick/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T14:49:53Z","updated_at":"2016-01-15T14:49:53Z","body":"Get-AzureRmADServicePrincipal or Get-MsolServicePrincipal are both options for listing applications and getting their Client IDs. However, I cannot find a way to get the expiration dates for the client secrets... The closest thing I found was Get-MsolServicePrincipalCredential, but it does not return all the keys as I would expect. How can we track when a key is going to expire?"}}