我需要通过未分配电子邮件的服务帐户进入共享收件箱,但无法找到共享收件箱。请注意,服务帐户可以访问共享收件箱。
是否可以在没有现有电子邮件帐户的情况下访问Office 365共享收件箱?
ExchangeService service = new ExchangeService();
service.Credentials = new WebCredentials("user@domain.com", "password");
//Individual User Email works
service.AutodiscoverUrl("user@email.com", RedirectionUrlValidationCallback);
//Shared Inbox - Doesn't Work
service.AutodiscoverUrl("sharedinbox@email.com",RedirectionUrlValidationCallback);
//The authenticating account is a service account without an email.