| title | PowerShell samples in Application Management |
|---|---|
| description | These PowerShell samples are used for apps you manage in your Microsoft Entra tenant. You can use these sample scripts to find expiration information about secrets and certificates. |
| ms.topic | sample |
| ms.date | 01/23/2025 |
| ms.reviewer | mifarca |
| ms.custom | enterprise-apps, no-azure-ad-ps-ref |
The following table includes links to PowerShell script examples for Microsoft Entra Application Management.
These samples require the Microsoft Graph PowerShell SDK module.
| Link | Description |
|---|---|
| Application Management scripts | |
| Export secrets and certs (app registrations) | Export secrets and certificates for app registrations in Microsoft Entra tenant. |
| Export secrets and certs (enterprise apps) | Export secrets and certificates for enterprise apps in Microsoft Entra tenant. |
| Export expiring secrets and certs (app registrations) | Export app registrations with expiring secrets and certificates and their Owners in Microsoft Entra tenant. |
| Export expiring secrets and certs (enterprise apps) | Export enterprise apps with expiring secrets and certificates and their Owners in Microsoft Entra tenant. |
| Export secrets and certs expiring beyond required date | Export App Registrations with secrets and certificates expiring beyond the required date in Microsoft Entra tenant. This scenario uses the noninteractive Client_Credentials Oauth flow. |