19

I'm currently working with an Outlook Web Add-in with Office.js. In this project, we require sending mail merge emails to handle Distribution Lists and Groups. We use the ExpandDL call and our soap request looks like:

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soap:Header>
    <RequestServerVersion xmlns="http://schemas.microsoft.com/exchange/services/2006/types" Version="Exchange2013" soap:mustUnderstand="0" />
  </soap:Header>
  <soap:Body>
    <m:ExpandDL>
      <m:Mailbox>
        <t:EmailAddress>exampledl@example.com</t:EmailAddress>
      </m:Mailbox>
    </m:ExpandDL>
  </soap:Body>
</soap:Envelope>

Our outlook web add-in was working until the recent version of outlook on mac 16.23 (190309). I tested the same thing with an older version older version (16.16) and it worked fine; it returns with the appropriate results for the ExpandDL call.

I traced the code to the file outlook-mac-16.00.js (included from including the office.js library in our web add-in) and ran into this error:

The operation failed.

What's strange is that it was in the middle of formulating the error response but when we add breakpoints to the error and success callbacks, it never hits. The async soap call never returns to execute any callbacks. We had to step into the library to find the above message.

Update: [4/15/2019]

I updated my stable version to 16.23.1 (190326) and we not get another error for the expandDL call:

message: "Internal protocol error: '-2147467259'." name: "AccessRestricted"

The above was extracted from createAsyncResult on line 10914 from outlook-mac-16.00.js when debugging on my current stable version.

Update: [4/18/2019]

I updated to the latest stable version 16.24 (19041401) and this now returns status as "succeeded" but the value of the async result is null. To be sure, I tried the Office.context.mailbox.makeEwsRequestAsync call manually to double check, and the results were the same (null value and "succeeded" status).

I can provide any details on the issue if needed.

Jack
  • 441
  • 3
  • 13
  • Can you be more specific on the version? for me ExpandDL EWS request works on Outlook for Mac 16.23 (190309). Just to rule out permissions issues, is your manifest still requesting ReadWriteMailbox permission? By any chance is this a delegate mailbox scenario? – SureshGowtham S Mar 15 '19 at 06:13
  • @SureshGowthamS: The version is Outlook for Mac version is the same as your. We are indeed requesting for ReadWriteMailbox permission but it's not a delegate mailbox scenario. We're using the `makeEwsRequestAsync` to make the appropriate ExpandDL call here. – Jack Mar 15 '19 at 14:37
  • 1
    I am also experiencing this behavior. – Joe Essey Mar 19 '19 at 16:41
  • Any update on this? – regulation_d Mar 19 '19 at 16:42
  • 1
    Seeing this issue as well – Julio Gudiño Mar 19 '19 at 17:18
  • I am also seeing this behavior. – RHH Mar 19 '19 at 17:46
  • We cannot reproduce the issue. Please share details about the Mac OS version and if possible share your manifest, we will install and try to reproduce the issue. – Outlook Add-ins Team - MSFT Mar 23 '19 at 03:57
  • Can you upgrade to the latest [insider builds](https://support.office.com/en-us/article/outlook-for-mac-release-notes-for-insider-fast-builds-d6347358-5613-433e-a49e-a9a0e8e0462a) and check if the issue is fixed? – Outlook Add-ins Team - MSFT Mar 23 '19 at 04:02
  • @Mac_Outlook_Extensibility: The insider build fixed the issue for me. If you still want to reproduce the issue let me know, and I will update my post with the manifest. – Jack Mar 25 '19 at 17:35
  • @Mac_Outlook_Extensibility Do you have an ETA on when the latest insider build will be released for everybody? – Jack Mar 26 '19 at 17:55
  • @Mac_Outlook_Extensibility: Is there a support place where I can ask about the release date for the next Outlook for Mac Slow build? We're looking to plan around the release of the version with the fix. – Jack Apr 08 '19 at 17:52
  • @Jack the latest production build (16.24) should have the fix. The latest Insider Slow build should have it as well. – Outlook Add-ins Team - MSFT Apr 17 '19 at 06:15
  • @Mac_Outlook_Extensibility: As stated in my update above, we've now updated to the latest prod build (16.24) and tested it. It's now giving a `succeeded` status with `null` value in the async results. I also tested the `makeEwsRequestAsync` call manually and it returns the same thing. – Jack Apr 18 '19 at 16:57
  • @Jack we're able to reproduce the succeeded-null issue, and we're working on a fix. We'll update this thread once we do. – Outlook Add-ins Team - MSFT Apr 24 '19 at 07:44
  • Hey @Mac_Outlook_Extensibility, any updates on this issue? – Jack May 09 '19 at 13:11
  • @Jack We are still working on this on priority. We're having trouble reproducing this on our dev builds, which is causing the delay. We'll update here as soon as we have a fix. – Outlook Add-ins Team - MSFT May 10 '19 at 16:06
  • @Mac_Outlook_Extensibility: Is there anything I can provide to help facilitate the fix? You mentioned that you were able to reproduce the succeeded-null issue, but having trouble doing so in your dev builds. Let me know and I can update the post with any info that would potentially be of help. – Jack May 21 '19 at 18:25
  • Hey @Mac_Outlook_Extensibility, can we have an update and ETA on when the next release will be with the fix? – Jack Jun 06 '19 at 14:59
  • @Jack This issue has been fixed and should be available in the next worldwide build. It is already available on the InsiderFast builds if you've signed up for the Insider builds. – Outlook Add-ins Team - MSFT Jun 07 '19 at 17:27

0 Answers0