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 :
Power Platform Community / Forums / Power Automate / Error while creating a...
Power Automate
Unanswered

Error while creating a new Excel file in Sharepoint/OneDrive with Flow

(0) ShareShare
ReportReport
Posted on by

Hi Everyone, 

 

I want to build a Flow for creating a Timesheet with Data from a Sharepoint List (filled from PowerApps).

So after I initialize my variables, I want to create a new Excel file on Sharepoint or in OneDrive (the same Error occurs) that I use later to fill it with filtered Data from my SP List.

 

But in my Flow the following Errors occurs and I dont know what it mean. 

 

InvalidTemplate. Vorlagensprachausdrücke in den Eingaben der Aktion "Dateiinhalt_abrufen" in Zeile "1" und Spalte "2039" können nicht verarbeitet werden: Der Vorlagensprachausdruck "json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline']['connectionId']" kann nicht ausgewertet werden, weil die Eigenschaft "shared_sharepointonline" nicht vorhanden ist. Verfügbare Eigenschaften: shared_flowpush. Details zur Syntax finden Sie unter https://aka.ms/logicexpressions..

 

 

InvalidTemplate. Can not process template language expressions in the inputs of action "Get File_Content" in row "1" and column "2039": The template language expression "json (decodeBase64 (triggerOutputs (). Headers ['X-MS-APIM-Tokens'])) [ '$ connections'] ['shared_sharepointonline'] ['connectionId'] "can not be evaluated because the shared_sharepointonline property does not exist. Available properties: shared_flowpush. For syntax details, see https://aka.ms/logicexpressions ..

 

So can everyone help me?

 

I have also try it with the copied links from SP-Online and OneDriveforBusiness.

 

Kind regards and thanks

create Excel OneDrive.PNGcreate Excel Sharepoint.PNG

 

Error Message Datei erstellen.PNGError Message Datei erstellen_SP.PNG

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at
    Re: Error while creating a new Excel file in Sharepoint/OneDrive with Flow

    Hi @Anonymous 

     

    The reason behind this might be that you created the sharepoint actions after adding the flow to the powerapps. You should go to the powerapps and remove the flow from the control (for example if it is on a button remove the flow from there) and then re register the flow over there for this to work. 

     

    Please try this out and let us know if you continue to face the issue. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on at
    Re: Error while creating a new Excel file in Sharepoint/OneDrive with Flow

    @yashag2255  it works... what a stupid error 😕

     

    thanks a lot.

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard