question

MaheshSurkar-1685 avatar image
0 Votes"
MaheshSurkar-1685 asked MaheshSurkar-1685 commented

Recently created exchange calendar subfolder permission in mailbox does not update properly (intermittent occurrence).

Recently created exchange calendar subfolder permission in mailbox does not update properly (intermittent occurrence).

Steps :

  1. Create the subfolder in the mailbox using EWS Soap API.

  2. Update the permission in the subfolder using EWS Soap API..

  3. For Anonymous and Default user the permission is set to 'None' but for other user permissions are not getting updated/added though EWS API responding with the 'Success' response code

  4. Check the recently created folder permissions in outlook.


This behavior is observed intermittently.

office-exchange-server-devoffice-online-server-exchange
· 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.

Hi @MaheshSurkar-1685
Tag "office-online-server-exchange" focuses on general issues about integrating Office Online Server with Exchange Server, based on your description, your issue is more related to EWS Soap API, to get to the right place, I will modify the tag.
Thanks for your understanding.

1 Vote 1 ·

1 Answer

GlenScales-6756 avatar image
0 Votes"
GlenScales-6756 answered MaheshSurkar-1685 commented

Can you show some of the code your using, in EWS you basically replace the whole DACL in the UpdateFolder request if your getting the current DACL first and just trying to append the entries then that probably you issue. Also how are you testing it ? if Outlook is in Cache mode it can take time for the updates to be shown so you should use something like the EWSEditor https://github.com/dseph/EwsEditor/releases to validate the DACL. You can also enable audit on the Folder itself so you can see when ACL changes are happening and what is making the change in the case some expected process is causing this issue to happen.

· 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.

  1. Using UpdateFolder request, I am trying to replace/add entire permission set (and not trying to get set first and then append the additional entries).

  2. In my application, EWS gsoap library is used for implementing the functionality and trying to create more than one subfolder in calendar folder and set the permissions for them. For newly created subfolders, some of them are reflecting the permissions properly where as some are not reflecting the permission changes. This behavior is intermittent and observed some time is works properly (so I doubt expected process is causing this issue to happen)

  3. On testing part, I have also checked the permission for the folder in EwsEditor, where also observed the same behavior as in outlook. so can conclude that permissions are not updated properly.

0 Votes 0 ·