Onedrive input and output tools need to be authenticated the moment you open a scripts containing those said tools so I couldn't use them in scheduling. As for Client/Secret/Tenant authentication, my request is still pending approval (it's been almost 1 month) and according to the it team, they have no idea who approves it. so I utilized the ayx output data tool and entered the onedrive folder directory into the blank space.