Azure Active Directory PowerShell examples for Application Management

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 uses the non interactive Client_Credentials Oauth flow.