Microsoft provides an excellent example of how to create a report of Azure App Registrations with expiring secrets and certificates (see: Export app registrations with expiring secrets and certificates). This script uses Microsoft's Graph PowerShell SDK module which is installed as follows:
Install-Module PowerShellGet
In Microsoft's sample the following PowerShell snippet is included in two separate locations in the code:
Obviously, that code could be more simply written as:
I logged into Github.com, edited Microsoft's example, and created a pull request. Withing 24 Hours it was approved and my change as adopted meaning the online documentation was updated to include my change:
No comments :
Post a Comment