Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 19436

Accessing a Resource Calendarvia EWS and C# (no assigned mailbox)

$
0
0

Our Exchange Admins (Exchange 2010 SP1) have setup a shared resource calendar. There is no mailbox assigned to this resource calendar.  I want to be able to read the meetings using EWS and C#.

Snippet:

        ExchangeService esvc=newExchangeService(ExchangeVersion.Exchange2010);
        esvc
.Credentials=newWebCredentials(username, password,"ourplace.org");
        esvc
.Url=newUri("https://OWA.OURPLACE.ORG/EWS/Exchange.asmx");

       
FolderId shareFolderId=newFolderId(WellKnownFolderName.Calendar,"Shared Calendar Name");
       
CalendarFolder.Bind(esvc, shareFolderId);

The CalendarFolder.Bind throws the error:  "The SMTP address has no mailbox associated with it."

How can I read the items on a Share Resource Calendar that has no associated mailbox... or is it even possible?

Thanks !!


Viewing all articles
Browse latest Browse all 19436

Trending Articles