Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save georgeOsdDev/1a11d0716ad9184484e6e9c9c1b55e93 to your computer and use it in GitHub Desktop.
Save georgeOsdDev/1a11d0716ad9184484e6e9c9c1b55e93 to your computer and use it in GitHub Desktop.
App Service Certificate Expiration time check by Azure Resource Graph
// https://learn.microsoft.com/en-us/azure/governance/resource-graph/overview
resources
| where type == "microsoft.certificateregistration/certificateorders"
| where subscriptionId == "<SubscriptionId>"
| project id, resourceGroup, name, properties["distinguishedName"] ,properties["provisioningState"], properties["expirationTime"],properties["autoRenew"],properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment