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

Community site session details

Session Id : s40JZOGnAiOBnm5af1rhrj
Power Automate - Building Flows
Unanswered

Adding rows into a table of an Excel workbook containing XML mapping

Like (0) ShareShare
ReportReport
Posted on 21 Nov 2023 08:43:04 by

Hi,

Is there a way to insert data into an Excel table of a workbook that contains an XML mapping? We are trying to insert data into a template coming from Business Central (ERP). This template contains an XML mapping containing the information needed for import later on in Business Central.

We have tried the "add a row into a table" action in the Power Automate flow, but there is a Graph API error that mentions "unsupported content". We narrowed this down to the XML mapping.

Furthermore, our tests show that Excel online can't even open files with an XML mapping. We need to open them in Excel desktop version.

Is there a workaround to get data in such an Excel workbook? (We would like to avoid Power Automate Desktop.)

Thanks in advance for your help!

I have the same question (0)
  • Gdarmon Outlook Profile Picture
    372 on 21 Nov 2023 at 09:00:15
    Re: Adding rows into a table of an Excel workbook containing XML mapping

    Hi,

    some possible solutions that you can try:

    Use the Excel connector instead of the Excel Online connector: Some users have suggested that using the Excel connector instead of the Excel Online connector can resolve the issue of adding rows into a table with XML mapping 1. You can try to use the Excel connector and see if that works for you.
    Use the Excel REST API instead of the Graph API: Some users have suggested that using the Excel REST API instead of the Graph API can resolve the issue of unsupported content 2. You can try to use the Excel REST API and see if that works for you. You can find more information about the Excel REST API here.
    Use the Parse JSON action to convert the XML mapping to JSON: Some users have suggested that using the Parse JSON action to convert the XML mapping to JSON can resolve the issue of unsupported content 3. You can try to use the Parse JSON action and see if that works for you. You can find more information about the Parse JSON action 
    Gill

  • SimonClaeys Profile Picture
    on 21 Nov 2023 at 09:11:06
    Re: Adding rows into a table of an Excel workbook containing XML mapping

    Dear @DarmonGill,

    There is only an Excel Online connector in Power Automate. We want to avoid using Power Automate Desktop, So this solution will not work.

    The Graph API is embedded in the Excel Online connector. We can't choose other APIs here. This solution will not work either.

    Converting the XML mapping to JSON is completely unrelated to what we are trying to do.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard