Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Script Times Out When Running Against 5000 Users #54

Open
smokinghound opened this issue Apr 11, 2019 · 2 comments
Open

Script Times Out When Running Against 5000 Users #54

smokinghound opened this issue Apr 11, 2019 · 2 comments

Comments

@smokinghound
Copy link

This times out constantly, I have increased the IdleTimeout property. But still this runs for a few minutes and then I get :
Starting a command on the remote server failed with the following error message : Access is denied. For more
information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OperationStopped: (outlook.office365.com:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : JobFailure
+ PSComputerName : outlook.office365.com

This makes the script almost impossible to use. We don't have that many mailboxes - others have far more, so how do other people manage to run this script? Any help happily received, thanks

@uscanasian
Copy link

@smokinghound I Modified the script so it run on a bigger organization.. it's ugly but it works...DumpDelegatesandForwardingRules_LargeOrg.ps1

It creates a folder on your desktop called Reports\DumpDelegatesandForwardingRules and thats where the data is stored until it goes into the _Completed folder under Reports\DumpDelegatesandForwardingRules with timestamp.

Also, when you get disconnected you will need to close the console and connect to the 365 again then rerun it again and it should continue where you left off.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@uscanasian @smokinghound and others