there is an edge case when both systemassigned and userassigned are active.
This will result in a non-hit as 'systemassigned,userassigned' does not equal 'systemassigned'
Bug fixes for Automation Account extraction. Added Service Principal Client ID and Secret extraction for Function Apps with integrated authentication providers.
Storage Account now only lists public list-able files, container names, and containers with "Blob" permissions. Makes the function friendly for dumping storage account info with the "Reader" role.
This update unifies the behavior for Owner/Contributor identification, especially in the case of nested groups. Previously, the groups were checked one level down. Now, groups underneath Owner/Contributor are recursively reviewed with their contents ultimately appended onto the CSV. The results are de-duplicated while recursing, and this should also take care of any potential circular groups (but that hasn't been tested).
This does change the output files. Previously, the script created a new CSV for each nested Contributor group. Now there is a single InheritedContributors.csv, matching InheritedOwners.csv.
Fix - Error handline for resetting access policies on Key Vaults with networking restrictions.
Fix - Correct certificate name (actual versus hardcoded 'AzureRunAsCertificate') should now be requested in Automation Account connection certificate exports.
Removed Mimi references to help avoid triggering EDR. Corrected a logic issue on the psm1 file. Changed verb in the new REST function to match approved PS verbs.