Office365-REST-Python-Client icon indicating copy to clipboard operation
Office365-REST-Python-Client copied to clipboard

Sharepoint Excel Automation from Python : File fails to replace/upload when the Excel sheet is open in editing mode/desktop mode

Open ghost opened this issue 1 year ago • 1 comments

Hi All,

I have done sharepoint excel automation from Jupyter notebook (web based). It has access to company's database, it fetches latest data, reads sharepoint excel, appends the dataframe into excel and uploads the excel back to sharepoint.

However, when uploading, it fails whenever the excel is opened in editing/desktop mode, and works if its viewing mode.

Is there any setting in Azure app or sharepoint or may be python code that forces upload even if user is using?

Please guide. Thanks

ghost avatar Dec 16 '24 18:12 ghost

:(

ghost avatar Jan 09 '25 15:01 ghost