Hi.
I've got familiar with this your module last year and all tests made - were successfull.
Now, i've got another task, where Export-GCECalendar would be very helpful, but i'm facing a problem..
Environment: WindowsServer2016 / Powershell version 5.1
Installed Module: MSGraph-ExportCalendar 1.4.2.0
If i run "Export-GCECalendar -MailboxName -StartTime (Get-Date).AddDays(-7) -EndTime (Get-Date) | select Starttime,subject", there is appearing MFA prompt for selecting user for connecting to EXO, where i process sign-in with my admin account with providing the SMS-code and in result - i can see info from target room's Calendar about events.. Good.
But if i try to run the same for any other room, there is same MFA prompt appearing.. And if session is alive - it's enough to just select my admin account in order to see results..
I'd love to collect events' statistics from multiple rooms by placing the CMD into ForEach ($room in $rooms) {Export-GCECalendar ...},
but this is not possible due to MFA prompt described above appearing on each cycle-run.
Could you kindly suggest some workaround for overriding this?