Update V2.0.2 - Improvements & Bug fixes
Based on suggestions by Angry-Bender:
- Increased sleep timer by 5 seconds for the AD sign-in/audit logs.
- Replaced break statements inside loops with throw statements in all scripts.
- Fixed dates to be in a readable format again for the sign-in and audit logs. (Thanks to Calvindd2f for showing how to achieve this)
- Get-GraphAuthType now checks if the required scopes are used and, if not, will attempt to set up a connection with them. This should prevent you to close the browser if already greanted consent each time.
Fixed an issue reported by ReDoneX0 where the get-email was not saving in the correct EML format.
Had to fix a small error and can't update/remove the PowerShell Gallery listing, so I guess I'll just make it version 2.0.2.😓