Comments on: Script For Generating Mailbox Test Data Over A Period Of Time https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/ Expert Digital Insights Mon, 06 May 2024 09:40:19 +0000 hourly 1 By: marcus https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/#comment-153064 Mon, 06 May 2024 09:40:19 +0000 http://blogs.perficient.com/microsoft/?p=28214#comment-153064 Is this script still available? I could really use some test data in the tenant

]]>
By: Russell https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/#comment-5002 Tue, 22 May 2018 11:24:25 +0000 http://blogs.perficient.com/microsoft/?p=28214#comment-5002 Having the same issue as Pav Bahia:
Save : Exception calling “Save” with “1” argument(s): “Value cannot be null.

]]>
By: Stan https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/#comment-4749 Thu, 15 Jun 2017 19:54:53 +0000 http://blogs.perficient.com/microsoft/?p=28214#comment-4749 Having the same issue as Pav Bahia:
Save : Exception calling “Save” with “1” argument(s): “Value cannot be null.
Parameter name: parentFolderId”
At C:\Scripts\Populate-TestMailboxByDate.ps1:120 char:22
+ $Message.Save <<<< ($Inbox.Id)
I have manually specified EwsUri, ApiPath, configured impersonation on my account that I use to run the script, tried to enter credentials both in domain\username and without domain\, tried to use EWS 2.2, then 1.2, changed my version to Exchange2010_SP2 that I use. Nothing helped. Please advise.

]]>
By: Pav Bahia https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/#comment-4748 Fri, 27 Jan 2017 17:02:33 +0000 http://blogs.perficient.com/microsoft/?p=28214#comment-4748 Hi Guys
Any idea wht in getting the follwing error.. my setup all looks fine so not sure why the api im calling is giving me the error
Exception calling “Save” with “1” argument(s): “Value cannot be null.
Parameter name: parentFolderId”
At D:\Exch\Populate-data\Populate-TestMailbox.ps1:121 char:9
+ $Message.Save($Inbox.Id)
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ArgumentNullException

]]>
By: turbomcp https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/#comment-4746 Mon, 12 Oct 2015 17:34:03 +0000 http://blogs.perficient.com/microsoft/?p=28214#comment-4746 worked:)
needed to login using domain\user for onprem
and set autod false and web services url

]]>
By: turbomcp https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/#comment-4745 Mon, 12 Oct 2015 17:25:03 +0000 http://blogs.perficient.com/microsoft/?p=28214#comment-4745 Thanks joe
tried it and got some traction and got this:
Exception calling “Bind” with “2” argument(s): “The SMTP address has no mailbox associated with it.”
At C:\Users\administrator.TEST\Downloads\Populate-TestMailboxByDate.ps1:101 char:1

]]>
By: Joe Palarchio https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/#comment-4744 Mon, 12 Oct 2015 17:01:30 +0000 http://blogs.perficient.com/microsoft/?p=28214#comment-4744 In reply to Turbomcp.

Turbomcp-
You should be able to use an earlier version as I don’t believe there are any dependencies on 2013 (https://msdn.microsoft.com/en-us/library/office/dn741586(v=exchg.150).aspx).
Try the switch “-Version Exchange2010_SP2”.
Thanks for the feedback!
Joe

]]>
By: Turbomcp https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/#comment-4743 Mon, 12 Oct 2015 16:55:51 +0000 http://blogs.perficient.com/microsoft/?p=28214#comment-4743 quick question:
I have hybrid of 2013 2010 and when I run it against cloud users ,works noprob
when I try onprem I get this:
Exception calling “Bind” with “2” argument(s): “Exchange Server doesn’t support the requested version.”
At C:\Users\administrator.TEST\Downloads\Populate-TestMailboxByDate.ps1:101 char:1
all the url’s point to 2013 server(autodiscover, web services…)
any ideas on what I can change to make it work?
amazing script btw:)

]]>
By: turbomcp https://blogs.perficient.com/2015/10/12/script-for-generating-mailbox-test-data-over-a-period-of-time/#comment-4742 Mon, 12 Oct 2015 15:28:14 +0000 http://blogs.perficient.com/microsoft/?p=28214#comment-4742 awesome

]]>