macOS Excel v16.85 truncates string size to 126 characters for custom property values
In the latest release of Excel M365 for macOS (v16.85) we are experiencing an issue where when we use the Excel Javascript API via an add-in application to retrieve custom property values, where each custom property is truncated to 126 characters. We have been able to reproduce on multiple machines using the same version of Excel (v16.85). Lower versions of Excel don't experience this issue and it seems to be isolated to macOS only (tested on Intel and M chips). We can't reproduce this on the latest version of Excel in Windows version 2404 Build 16.0.17531.20152.
The custom properties are fetched by calling:
context.workbook.properties.custom
For the implementation, we are using the same solution that's shown in the example here. Based on the documentation, the value should be limited to 255 characters outside of Excel on the web (see documentation here or screenshot below).