Can't see items in subfolder when connecting with windows auth to a different mailbox


I'm running EWSEditor as a user without a mailbox and connecting via windows authentication to a mailbox that the user has Full Access to. I can add the mailbox to the tree view and see items and folders beneath Inbox BUT if I try to look into an Inbox subfolder I get an error "When making a request as an account that does not have a mailbox, you must specify the mailbox primary SMTP address for any distinguished folder Ids.".

Is this an error with the way EWSEditor is trying to access the mailbox or a fundamental limitation of EWS/Exchange?

I'll supplement this with screenshots & logs. Just wanted to get the issue out there in case you have a ready answer.




Dseph wrote Oct 20, 2016 at 9:51 PM

To use delegate access you need to use an account tied to a mailbox to start with. If you right click on the starting mail box smpt address and select Add Root folder then you can pick a folder and enter the smtp address of the delegate mailbox. You could also try a raw EWS SOAP POST using the EWS POST window.

RoryPS wrote Oct 24, 2016 at 4:37 PM

No, you can grant delegate access to a mailbox for a windows login that doesn't have a mailbox itself. But in my experience this only works for accessing well-known folders; for accessing deeper folders you possibly need to have a mailbox. Which makes EWS frustrating when trying to use a 'service' account since they normally wouldn't have their own mailboxes - e.g. say i have a windows service that's trying to monitor 3 mailboxes. IT don't want to give the service account its own mailbox but also would prefer I use windows auth to access the mailbox so we don't have passwords stored somewhere.