Edi Wang

Microsoft MVP for Azure

Posts in August 2025

PowerShell Script to Check Azure App Service SSL Certificate Expiration

When you have a lot of App Service instances running in your Azure subscription, managing their SSL certificate status could be a problem. Azure portal itself does have certain monitoring and advising feature to visualize the certificate status and warn you before a certificate expires. However, in some cases, we prefer this to be done in command line environment. That's why I put together this handy PowerShell script that uses Azure CLI to keep tabs on all your App Service SSL certificates.
Azure PowerShell App Service CLI