MIA-MailItemsAccessed-
MIA-MailItemsAccessed- copied to clipboard
Basic Auth is depreciated
Can this be updated to support Modern Auth / OAuth
I made it work (for my tenant) by: Change $Session = ... (lines 51, 130, 302) to read: $Session = Connect-ExchangeOnline -UserPrincipalName [email protected]
Comment / delete: Import-PSSession $Session (lines 52, 131, 303) Comment / delete: Remove-PSSession -ID $Session.ID (lines 125, 297, 336) DON'T LOSE THE CURLY BRACES on lines 125, 297, 336