question

KateGlickman-9046 avatar image
0 Votes"
KateGlickman-9046 asked HungChunYu-3579 commented

Logging for Office 365 when acting as WebDav client

We have integrated Office 365 with our application using the WebDev protocol. The user clicks on a file in our application, the file opens in their locally installed Office 365, and the user's changes are saved back to the file stored in our application.

We have a customer who can save changes back to our application just fine when using Word but can not with Excel or PowerPoint. When we have them turn on our trace logging, we can see that Excel is not making the PUT request when the user clicks the Save button. The preceding LOCK request (and all other HEAD, OPTIONS and GET requests) completed successfully.

Is there any logging in the Office 365 WebDav code that we could turn on that could possibly shed any light on this why the PUT request isn't being made? I have done a lot of searching and have seen references to various registry settings but I haven't gotten anything working and it's not clear if they are relevant in this scenario anyway.

openspecs-officeopenspecs-office-sharepoint
· 16
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The openspec-* tags are dedicated to supporting issues related to open specifications. You can find open specifications here https://docs.microsoft.com/en-us/openspecs/. Since your question does not pertain to one of these specifications, I've removed the openspecs tag and added the office-itpro and office-sharepoint-server-itpro tags. Hopefully this will get your post the proper attention.

Best Regards,
Jeff McCashland

0 Votes 0 ·

This is related to open specifictions. Our server is implemented using this protocol that is linked in the document you reference.
https://docs.microsoft.com/en-us/openspecs/office_protocols/MS-OCPROTO/2d268a23-420b-4339-8c56-9e4f8a924171

MS-Author-Via is set to "DAV"

Please restore the openspec tag

0 Votes 0 ·

HI @KateGlickman-9046

This is Hung-Chun Yu from Microsoft Protocol Support. I will be helping you with your question.


  1. Could you help us obtain the version/build that your customer is using? Make sure that they have applied the latest patch for Office 365.

  2. Could you also help the customer to obtain the fiddler trace. Two different traces, from Word (working version) and from Excel/PowerPoint (not working).

Once you have above information collected, you can email them to the dochelp at microsoft.com, and in the body of email put hung-chun yu, so the email will be redirected to me.

Thank you very much

Hung-Chun Yu
Microsoft Open Specifications Support




0 Votes 0 ·

Hi @KateGlickman-9046

Per our engineer from Product Group, Webdav should behave the same across apps for this basic save scenario. They do need Version info and Fiddler traces that would help them better understanding the issue. If Fidder Log is too big to transmit over email. Drop an email to dochelp at microsoft.com, with Hung-Chun Yu in the body. I can share the case link with you, so you may upload the log directly into the case.

Looking forward to hearing from you soon.

Hung-Chun Yu
Microsoft Open Specifications Support

0 Votes 0 ·

Hi @KateGlickman-9046

Could you also provide us the high-level descriptions of your application? Is it a SharePoint like services where people can upload/share/update their document files onto the platform?
Is possible that you can create a test account for us, where our engineers and myself can access the site to replicate the issues? You can send the access info to dochelp at microsot.com and include Hung-Chun Yu in the body of the email.

Thank you very much.

0 Votes 0 ·

Yes, it is similar to a very simplistic SharePoint.

We can't give you a test account because the application is running on-premise, behind a firewall, at the customer's site.

I am still waiting to see if they can install Fiddler. Many of our users are subject to corporate policies that do not allow them to install software on their machines. They need to open a ticket with their IT department in order to install it, assuming they are able to get permission.

0 Votes 0 ·

Hi @KateGlickman-9046

Is there a dev/staging environment that issue can be repro on? For two folds, one we don't want to access customer files/data by accident. Two, in case we need to tweak the configurations, we don't want to impact the production. Another advantage is that we won't have to worry about getting access/change permission from the Corporation.

Other logging capturing would be fine as well, it doesn't have to be Fiddler. For example, the build in Network Trace from Chrome Developer Tool would work as well.

0 Votes 0 ·
Show more comments
HungChunYu-3579 avatar image
0 Votes"
HungChunYu-3579 answered

@KateGlickman-9046

Thank you very much for the update. Agreed, per https://stackoverflow.com/questions/34138554/webdav-microsoft-excel-2016-not-able-to-save-back-changes, it appeared one of the solutions is to use eTag. If you can share that information with your client that would be awesome.


Question, would you able to add eTag via the integration? Or is that something that your client would have to add from their end?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KateGlickman-9046 avatar image
0 Votes"
KateGlickman-9046 answered HungChunYu-3579 commented

The eTag is already added via our integration. It is based on our own internal version number and not a date.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Cool, thank you for the clarifications. As soon as I obtain the copy of the fiddler trace, I will share that with the product group. Thank you again for your help.

0 Votes 0 ·