My team has coded auto generating excel reports of business data in c# and openxml. This is fine when opened from a local drive, but when opened from sharepoint it produces the following error
We believe its something to do with with these custom properties:
MSIP_Label_xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_SiteId
,MSIP_Label_xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_Method
,MSIP_Label_xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_ContentBits
,MSIP_Label_xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_Enabled
,MSIP_Label_xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx_Name
These appear to be initialised and populate when saving normal files onto one drive automatically and do not appear in files that are not. We have getting c# to insert them directly. We copied the global identifier('xxxxxxx') from other files on our one drive as it seems to be uniform. Same for the SiteId field content, but the error still persist. Does anyone know how I can resolve this or direct me to a useful avenue of investigation
Adding manually above labels from within excel produced the same error.