Hi @johndoe-9621 ,
We do have a Powershell script sample for exporting all app registration secrets and certificates expiring beyond a required period:
We also have a script for exporting all app registrations with expiring secrets and certificates. You can use it to export secrets expiring in the next X days and/or already expired.
There are also some unofficial custom ones that others have shared online, but I have not tested these and cannot personally vouch for them.
Let me know if this helps and is what you are looking for!
If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions.