Forum Discussion
Mahmoud_Badran
May 10, 2019Former Employee
60 minutes timeout on MFA Session
Below is the script for a non-ending MFA session, that renews it self ; once you connect to ExO with this script it will stay open.
first Use Internet Explorer to download and install this module h...
kkrteek
Jan 14, 2021Copper Contributor
I have tried to run the below script
Get-Mailbox -resultsize unlimited -RecipientTypeDetails "UserMailbox" | Get-MailboxFolderPermission | Where-Object {$_.user -like "default"} | where-object {$_.Accessrights -notlike "none"} |Select-object -property Identity,FolderName,User,AccessRights
the above is ran against 1 Lakh mailboxes ,but the session is getting terminated half way and am getting the below error
Processing data for a remote command failed with the following error message: Access is denied. For more information,
see the about_Remote_Troubleshooting Help topic.
Steps i followed:
1.Open Exo module,
2.Ran the script
3.Then connected to Exchange Online using Connect-Exopssession
Am i doing anything wrong?