Hi Team,
We have similar script being used to get the details of all app certificates and their key expiry before their actual end dates. So that we can have it renewed. I noticed that it also gathers Managed Identities along. As managed identity certs/keys are auto-renewed. we would like to exclude them.
Request you to let us know when we filter out using ($_.Type-ne <What should be managed identity type>) here.
I hope to have to the right team look into it and share the details. I was not getting it for Managed Idenity in Azure.