microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: 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.

GitHub | 805728578 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    office 365 Exchange error?

    GitHub | 6 months ago | 805728578
    microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException: 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.

    Root Cause Analysis

    1. microsoft.exchange.webservices.data.core.exception.service.remote.ServiceResponseException

      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.

      at microsoft.exchange.webservices.data.core.response.ServiceResponse.internalThrowIfNecessary()
    2. microsoft.exchange.webservices
      ExchangeService.findAppointments
      1. microsoft.exchange.webservices.data.core.response.ServiceResponse.internalThrowIfNecessary(ServiceResponse.java:278)
      2. microsoft.exchange.webservices.data.core.response.ServiceResponse.throwIfNecessary(ServiceResponse.java:267)
      3. microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:165)
      4. microsoft.exchange.webservices.data.core.ExchangeService.findItems(ExchangeService.java:985)
      5. microsoft.exchange.webservices.data.core.ExchangeService.findAppointments(ExchangeService.java:1264)
      6. microsoft.exchange.webservices.data.core.ExchangeService.findAppointments(ExchangeService.java:1285)
      6 frames