Forum Discussion
Robert Bollinger
Sep 13, 2021Brass Contributor
Mailbox Rules, PowerShell and Scripting.
Hey Guys, I am trying to create a powershell script that will create a mailbox rule in each users mailbox, based on an input list. Here is what i have so far: New-InboxRule -Mailbox $S...
pvanberlo
Sep 15, 2021Steel Contributor
Hmm. The error message seems to indicate a connection failure. Not sure what might be causing it, but the syntax should be correct reading the docs.
Robert Bollinger
Sep 15, 2021Iron Contributor
Thanks for the response. Actually it turns out the problem was related to not having full mailbox access rights to the mailboxes in which i am trying to create the rule. I was testing with my 3 test accounts and those worked as expected. However my other test accounts did not.
I did some additional checking and found an article covering the need for full mailbox rights, but only when setting a rule which touches the users mailbox folders.
Thanks for your help.