web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Upload xlsx file from ...
Power Automate
Unanswered

Upload xlsx file from sharepoint do databricks with custom API

(0) ShareShare
ReportReport
Posted on by 4

Hello, I would like to upload xlsx files from SharePoint to Databricks (AWS).
I have files in my sharepoint folder, try to use power automation (like if new file is created upload file to Databricks) and custom connector (where I defined API call: https://docs.databricks.com/api/workspace/files/upload). I am able to to upload file, but I have an issue with (maybe) file coding and I on Databricks a I can not open/read the file. Have i different content. 

 

My steps in power automate:

 

1.Get File Content

 

2. Compose (decodeBase64(outputs('Get_file_Content')?[body]['$content'])

 

3. Upload file to Databricks (API) - Content-Type: application/octet-stream, Body: (outputs(Compose)

both files (on SharePoint and on Databricks, when I open them in Notepad looks similar, but not not exactly same).

 

Is anyone successful with similar task?

 

 

 

Thank you

 

P.

Categories:
I have the same question (0)
  • stampcoin Profile Picture
    5,058 Super User 2025 Season 2 on at
    I don't think you need the compose.
    Try to remove the compose, use application/json in the header.
    content=body('Get_file_content')?['$content']
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard