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

Announcements

News and Announcements icon
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,146 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard