I have a databricks notebook with some code (Python) to upload a file from dbfs to a SharePoint location. The notebook runs correctly when executed stand-alone, and the file is uploaded, but when I try to schedule it using ADF or a Databricks job, the command for the SharePoint upload gets skipped.
Other commands are executed okay. I'm using O365 REST Python client for the Sharepoint upload. I'm not sure if my choice of library is causing this to happen.
Has anyone faced something similar?