question

Sree20212021 avatar image
0 Votes"
Sree20212021 asked Sree20212021 commented

custom scripting

Need custom scripting for
1) add multiple mailboxes from excel file in eDiscovery hold exchange locations

2) is there any limit to add mailboxes in 1 eDiscovery hold

office-exchange-server-mailflowoffice-exchange-server-connectivity
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JustinMicheal-7973
I am writing here to confirm with you any update about this thread now?
If the suggestion below helps, please be free to accept it as an answer for helping more people.

0 Votes 0 ·

Query 1: I want You to run the below script in your test tenant only for the exchange mailboxes (removing SPO and public folder locations) | Use a script to add users to a hold in a Core eDiscovery case - Microsoft 365 Compliance | Microsoft Docs
Query 2: PowerShell command to pull exchange locations added per hold

0 Votes 0 ·

Based on my searching, this script may be useful to you. For more detailed information, you could open a service request to check with Office 365 teams.
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


0 Votes 0 ·

1 Answer

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered Sree20212021 commented

@JustinMicheal-7973

1) The -SourceMailboxes in Set-MailboxSearch command doesn't support the "add" action:
142692-qa-kyle-10-04-23.png

You need to set the value directly: Set-MailboxSearch holdName -SourceMailboxes user1,user2,user3,user4

Here is a example for parameter which supported ”add“ action: -EmailAddresses

2) There doesn't exist limitation about it, you could contain all mailboxes in one hold.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Ok, thanks for your sharing.

1 Vote 1 ·