Passing current user security token to ExchangeService Thanks Amit. I am getting this error with DefaultCredentials. Erorr: "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."
Feb 14
comment
Passing current user security token to ExchangeService Thanks for your reply. To use impersonation, I will require to enable impersonation property for serviceAccount user. Will it not create any security risk in whole organization? Any developer with serviceAccount/Password can access others mail-box without their consent.