Connect Nextcloud with power bi or Azure Data Factory

Hello, good morning

I need to know how I can connect nextcloud to microsoft azure, ADF or power bi, I have been trying to connect with api ocs and Oauth2 but I can’t access the project folder. I need to get several files from several folders from nextcloud to power bi or microsoft azure data factory. I am trying with api ocs but I think api ocs is not active, how can I activate api ocs on my nextcloud server. please tell me anything, it is very very urgent.