We have a "Create Shared Mailbox" function which uses a custom command in PS. I've amended my PS script to created Shared Mailboxes to be inline with the V3 of Exchange Module. The script will run successfully once and fulfull it's duty, however when trying to run a second time Adaxes throws an error stating that the user account can't be found on the exchange server. The account is still created in AD but doesn't go any further than that. Is this an Adaxes issue or a PS issue?
Here's the script
And here's the error after using the the function once.