Posted 12 February 2025, 5:18 am EST
Hi,
The development team has investigated and confirmed that DsExcel currently does not support retaining sensitivity labels. However, they have provided a workaround:
According to How to - Republishing scenario, you can use the Microsoft Information Protection SDK to preserve sensitivity labels. A sample implementation is available in the “Add logic to edit and republish a protected file” section. When using DsExcel, replace the comment block “Your own application code to edit the decrypted file belongs here” with the relevant DsExcel code.
Unfortunately, we could not provide a sample project directly, as the sensitivity feature is not enabled at our organizational level. Could you please test it on your end and let us know if it meets your requirements?
Best Regards,
Kartik