PowerShell to list all Azure AD Apps with expiration dates
[Srinivas Varukala](https://social.msdn.microsoft.com/profile/Srinivas Varukala) 1/26/2018 6:33:14 PM
This article is about how to get all Azure AD Applications using PowerShell. Especially the focus is on identifying the Azure AD Apps that are expiring. To begin with, Azure AD Apps keys are of two types:
- Passwords
- These are auto-generated on demand. While doing this we can select either 1 year or 2 years or Never expires (as shown in screenshot below).
- Public Keys
- These are the manual keys created using certificates. The screenshot shows the thumbprints for the certificate that was used as a key.