bseltz-cohesity / scripts

Cohesity REST API examples in PowerShell and Python
Apache License 2.0
102 stars 41 forks source link

M365 large scale #79

Closed burnziii closed 2 years ago

burnziii commented 2 years ago

When using script to protect mailboxes at this wiki page it is mentioned that each protection group should contain max 5000 objects (https://github.com/bseltz-cohesity/scripts/wiki/Protecting-O365-Objects).

Is the flag "-allMailboxes" choosing only 5000 or do I have to put a list with 5000 and at the next run there will be the next 5000 objects added automatically while choosing "-allMailboxes"?

bseltz-cohesity commented 2 years ago

Correct, the -allMailboxes switch will add mailboxes to a protection group until the number of mailboxes in that job is equal to -maxMailboxesPerJob which is by default 5000. If you have more mailboxes than that you can run the script again with a different protection group name, and add the next group of up to 5000 mailboxes, and so on.

burnziii commented 2 years ago

Great, thank you very much for your quick response. Would be great if these "limits" for m365 scaling would be mentioned in the offical documentation.