none
CreateItem - The specified object was not found in the store RRS feed

  • Question

  • I get this when trying to create an item after gaining delegate access. Any ideas what might be the issue? This is my process

    1. Call the EWS connection operation using user1 email

    2. Call the EWS delegate operation adding user2 permissions to user1 delegate

    3. Call the EWS createItem operation using the user2 email address inside the SavedItemFolderId element

    I have a generic email account which im using for the testing. It has access to all the mailbox resources i require. When i test it and use my own personal email address as the principle it works fine (the generic account is the delagate for my account).

    However when i try the generic account with another mailbox belonging to one of my colleagues i get the message in the thread title

     

    <CreateItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" SendMeetingInvitations="SendToAllAndSaveCopy">
    	<SavedItemFolderId>
    		<DistinguishedFolderId xmlns="http://schemas.microsoft.com/exchange/services/2006/types" Id="calendar">
    			<Mailbox>
    				<EmailAddress>user1@mylocation.com</EmailAddress>
    				<MailboxType>Mailbox</MailboxType>
    			</Mailbox>
    		</DistinguishedFolderId>
    	</SavedItemFolderId>
    	<Items>
    		<CalendarItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
    		<Subject>Find A Room</Subject>
    		<Body BodyType="Text">Using Delegate</Body>
    		<ReminderIsSet>true</ReminderIsSet>
    		<ReminderMinutesBeforeStart>15</ReminderMinutesBeforeStart>
    		<Start>2011-10-22T12:30:00</Start>
    		<End>2011-10-22T13:00:00</End>
    		<IsAllDayEvent>false</IsAllDayEvent>
    		<LegacyFreeBusyStatus>Busy</LegacyFreeBusyStatus>
    		<Location>room1@mylocation.com</Location>
    		<RequiredAttendees>
    			<Attendee>
    				<Mailbox>
    					<EmailAddress>user3@mylocation.com</EmailAddress>
    				</Mailbox>
    			</Attendee>
    		</RequiredAttendees>
    		<OptionalAttendees>
    			<Attendee>
    				<Mailbox>
    					<EmailAddress>user2@mylocation.com</EmailAddress>
    				</Mailbox>
    			</Attendee>
    		</OptionalAttendees>
    		<Resources>
    			<Attendee>
    			..........


     

    Any suggestions?


    • Edited by colinduggan Wednesday, October 19, 2011 9:42 AM
    Tuesday, October 18, 2011 7:17 PM