Link to home
Start Free TrialLog in
Avatar of o0JoeCool0o
o0JoeCool0oFlag for Canada

asked on

Exchange AutoAccept agent

Microsoft has released an Exchange 2003 AutoAccept Agent for Exchange Server 2003 so that u can set up resource users liek a board droom and make it auto accept the meeting requests. WOOHOO! I said to my self with a gleeful cry of happiness. So I followed the instructiosn to the letter. as can be found here

http://www.microsoft.com/technet/prodtechnol/exchange/guides/AutoAcceptAgent/d06b88d7-6fa2-4eab-b49f-4a9e159cefec.mspx

So anyhoo I get to the point where you have to register  a mailboxx using cscript RegisterMailbox /m:user@domain.com

every time I run this on ANY mailbox I get the following error

New Event Binding created:
Event: OnSave
Sink: AutoAccept.EventSink
FullBindingUrl: file://.backofficestorage/domain.com/mbx/boardroom/Inbox/OnSaveForAutoAccceptAgent
Error Commiting transaction : -805306273

Error Adding store Event for file://.backofficestorage/domain.com/mbx/boardroom/Inbox/OnSaveForAutoAccceptAgent

So this tells me its some kind of permissions problem I am guessing, I isntalled the Auto Accept agent as a system service and it says that I should have no problems with permisions if thats done, Ive also tried using a Domain admin account under identity in component services.  I even tried using the switch to specify a username in the command line, I have been at this for 6 hours straight and cannot figure this out!!! please HELP!
Avatar of yomanex
yomanex

run this with /DEBUG to get a batter look at the error and post back
Avatar of o0JoeCool0o

ASKER

Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

searching <GC://Domain.com>;
(&(objectClass=user)(mail=boardroom@Domain.com));
<GC://Domain.com>;(&(objectClass=user)(mail=boardroom@domain.com));distinguishedName,mail;subtree
1 records found
ADS Path before escaping: CN=Board Room,OU=IT Department,OU=Users By Department,DC=domain,DC=com
ADS Path after escaping: DC=com/DC=domain/OU=Users By Department/OU=IT Department/CN=Board Room
Registering boardroom@domain.com with Auto Accept Agent.
Mailbox ADsPath = LDAP://DC=com/DC=domain/OU=Users By Department/OU=IT Department/CN=Board Room Trustee = DOMAIN\Morpheus AddAccess = True
Here are the existing ACEs in the mailbox's DACL:
Trustee, AccessMask, ACEType, ACEFlags, Flags, ObjectType, InheritedObjectType
NT AUTHORITY\SELF, 131075, 0, 2, 0, ,
DOMAIN\EXCHANGE$, 983041, 0, 18, 0, ,
DOMAIN\Exchange Domain Servers, 1, 1, 18, 0, ,
DOMAIN\Domain Admins, 1, 1, 18, 0, ,
DOMAIN\Enterprise Admins, 1, 1, 18, 0, ,
DOMAIN\morpheus, 1, 1, 18, 0, ,
Everyone, 131072, 0, 18, 0, ,
NT AUTHORITY\ANONYMOUS LOGON, 131072, 0, 18, 0, ,
DOMAIN\Exchange Domain Servers, 1, 0, 18, 0, ,
DOMAIN\Exchange Domain Servers, 983040, 0, 18, 0, ,
DOMAIN\morpheus, 983041, 0, 18, 0, ,
DOMAIN\Enterprise Admins, 983041, 0, 18, 0, ,
DOMAIN\Domain Admins, 983041, 0, 18, 0, ,
AddAce called with trustee =DOMAIN\Morpheus AccessMask=3 and AceType = 0
Added ACE successfully.
Done modifying the mailboxsecurity descriptor
Binding to root folder file://./backofficestorage/DOMAIN.com/mbx/boardroom
New Event Binding created:
Event: OnSave
Sink:  AutoAccept.EventSink
FullBindingUrl: file://./backofficestorage/DOMAIN.com/mbx/boardroom/Inbox/OnSaveForAutoAcceptAgent

Error Commiting Transaction : -805306273

Mailbox ADsPath = LDAP://DC=com/DC=DOMAIN/OU=Users By Department/OU=IT Department/CN=Board Room Trustee = DOMAIN\Morpheus AddAccess = False
Here are the existing ACEs in the mailbox's DACL:
Trustee, AccessMask, ACEType, ACEFlags, Flags, ObjectType, InheritedObjectType
NT AUTHORITY\SELF, 131075, 0, 2, 0, ,
DOMAIN\morpheus, 3, 0, 2, 0, ,
DOMAIN\EXCHANGE$, 983041, 0, 18, 0, ,
DOMAIN\Exchange Domain Servers, 1, 1, 18, 0, ,
DOMAIN\Domain Admins, 1, 1, 18, 0, ,
DOMAIN\Enterprise Admins, 1, 1, 18, 0, ,
DOMAIN\morpheus, 1, 1, 18, 0, ,
Everyone, 131072, 0, 18, 0, ,
NT AUTHORITY\ANONYMOUS LOGON, 131072, 0, 18, 0, ,
DOMAIN\Exchange Domain Servers, 1, 0, 18, 0, ,
DOMAIN\Exchange Domain Servers, 983040, 0, 18, 0, ,
DOMAIN\morpheus, 983041, 0, 18, 0, ,
DOMAIN\Enterprise Admins, 983041, 0, 18, 0, ,
DOMAIN\Domain Admins, 983041, 0, 18, 0, ,
RemoveAce called with trustee =DOMAIN\Morpheus AccessMask=3 and AceType = 0
Removed Ace Successfully.
Done modifying the mailboxsecurity descriptor
Error adding store event for file://./backofficestorage/DOMAIN.com/mbx/boardroom/Inbox/OnSaveForAutoAcceptAgent
Members of Administrative groups (Domain Admins, Enterprise
Admins, etc.) are by default denied access to all mailboxes.  
If the "trusted" account is an account that has been delegated control, then it too does not have a Send as recive as
primision give your /m user dalegate control and remove the diny on the send as recive as primision
I am not sure where to find that send as recieve as in exchagne 2003 however I have checked the permissions on the adminsitrator account im logged in with for the resource user "BoardRoom" and on exchange advanced tab I clicked  
Mailbox rights, now it says the OWNER is the account im logged in as and the account has full permissions on the mailbox, one interesting thing is there is a check mark in both Allow and Deny for FUll mailbox Access in permissions for the admin account under advanced it will nto let me remove the deny right, but I dont think that is what is causing this issue.
Still Lost with this I really need to get this working please help!
It's likely that the mailbox still has a rule set up to forward to a delegate and the request is being forwarded before the agent can get to it. Check the Delegates tab under Tools->Options in Outlook to see if the "Send meeting requests...only to my delegates..." checkbox is checked. If so, uncheck it.

Make sure that you are running the system service under the local system account.
eatme in that  delegates box ther is on ly the administrator account and the checkbox is unchecked and greyed out. under permissions they are all set to none. It cant be forwarding to a delegate before the agent can check it because the mailbox isnt even registered yet at this point. first we have to succesfully register the mailbox and that is the issue I have tried creating new mailboxes and registering and i get the same error each time.
The Agent is installed as a local system service. So there should not be an issue with permissions that I know of.
ASKER CERTIFIED SOLUTION
Avatar of Rodlab
Rodlab

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
omg if its that easy how coem theres an autoaccept agent? I thought the point was because you could not do this in exchange?
or does there have to be a machine logged in as that mailbox in order for that to work? Because i do not have an extra machine to run a mailbox on
You do not need to have a machine logged on to the account. Just create the profile in YOUR outlook, follow the steps, then forget it!!!

Works so well. I have lots of resources working like this (board rooms, training rooms etc).

No idea why MS brought out their version when it was already there.

Jason
I will try this and post back, WHY is there an autoaccept agent then? this doesnt make sense *scratches head
We are talking Microsoft remember :-)

I would be interested to know if it works on 2k3.

Jason
I added the accounts as a resource and if I invite them in the appointment the request just goes into the boardroom acocunts inbox it doesnt get accepted
The boardroom HAS to be invited as a RESOURCE or this method will not work. Inviting them as a required attendee does not work.
Exactly - the resource is the important part. The boardroom is not a person.

Jason
Ahhh thats why peopel want to use the autoaccept agent so that they dont have to do that and also if any incoming mail comes to that mailbox the autoaccept agent deletes it automatically, where as now I will have to go and check on the resource boxes periodically to make sure theres no mail in the inboxes.
I still wish i could get the autoaccept agent working. but if thats not possible I will have to use the resource method. I am going to hold out a bit to see if anyone has a solution for the error im recieving, if not then the 1500 points are yours Jason
Thanks - glad it works. Let me know how you get on with the autoaccept.

Cheers
Jason
Many thanks, good luck.

Jason
you still gotta post in those 2 threads so i can give you the other 1000 points
will do right now.....

Thank you.