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 / creating a file in sha...
Power Automate
Answered

creating a file in sharepoint library after converting it using "populate a microsoft word template" is not working

(0) ShareShare
ReportReport
Posted on by 121

Hi Team,

 

I am trying to upload the document  to sharepoint document library after converting the file template using "populate a microsoft word template"

 

Flow issueFlow issue

 

Unable to process template language expressions in action 'Create_file' inputs at line '1' and column '2635': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline']['connectionId']' cannot be evaluated because property 'shared_sharepointonline' doesn't exist, available properties are 'shared_wordonlinebusiness'. Please see https://aka.ms/logicexpressions for usage details.'.

 

Quick help will be really helpful .

 

Thanks

Gautmish

 

 

 

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    The error message suggests that its not seeing your SharePoint connection in the Flow.  I've had this happen before in some Flows while editing and had to repove the action, re-add it and point it at a new connection.

  • gautmish Profile Picture
    121 on at

    Hi @Pstork1 

     

    Got the same issue after adding the new connection also. Is it due to I dont have premium license for  "Word Online" ??

     

    Thanks

    Gautmish

  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    I wouldn't think that would lead to the error you are getting, but you definitely need a Premium license to build and run that Flow.

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @gautmish 

     

    To add to @Pstork1 's suggestion, are you using PowerApps to trigger the flow? Based on the error message that you share I am guessig that you are triggering it from powerapps. If so, 

     

    This is a known issue with powerapps + flow. So I believe that you might have added some actions to the flow after connecting it to a control on the Canvas App. 

     

    Now all you have to do is go to the canvas app and remove the flow from that control and then add it back to that control (makes sense?) This should resolve your 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!

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @gautmish ,

     

    Please try doing the following and see if the issue can be resolved:

    • Export the Flow as a .zip file and re-import as a new Flow. After the connection is configured, check whether the Flow is successfully executed.
    • Another alternative is to click Save as to create a copy of Flow, and then see if the copy is working.

     

    Best Regards,

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard