Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Exchange scripting agent runs before AD is synchronized

$
0
0

LS,
I have enabled the Exchange 2010 scripting agent.
I updated the scripting agent to execute when a new-mailbox command is given to disable  the POP for the new mailbox.
When I create a new mailbox the scripts is running (oncomplete) but says no object found.(so it doesn't see the mailbox enabled user (user was already in AD).
In our environment we only have 3 domain controllers and all are in one AD site.

Is it possible to say the scripting agent to wait couple ofminutes before running ?

The error I get:
The cmdlet extensionagent with the index 5 has thrown an exception in OnComplete. The Exception is: Microsoft.exchange.provisioning.provisioningexception. Scriptingagent exception thrown while invoking sciptlet for OnComplete API. The operation cound't be performed  because object  'objectname' couldn't be found .  After tja a message that ms.exchange.provisionin.provisioninglayer.oncomplete (task task, Boolean succeede.)

 

Viewing all articles
Browse latest Browse all 4521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>