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 / Invalid Template - 'sh...
Power Automate
Answered

Invalid Template - 'shared_connection' doesn't exist

(0) ShareShare
ReportReport
Posted on by 19

I need some guidance on the "InvalidTemplate...cannot be evaluated because the property [shared connector] doesn't exist" issue. 

 

Here's the current error message:

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

 

It appears the 'onedriveforbusiness' connector disappeared.  The other connector 'shared_sql' is still available.

 

I began to receive this message after modifying the filename in the OneDrive 'Get File content' action.  I have also received a similar error if I attempt to utilize the 'Populate a Word template' action in place of the 'get file content' action.

 

I have tried the following:  

  • delete and re-add the actions
  • Tried different actions ('OneDrive get file content' and 'populate a word template')
  • Deleting and re-adding the OneDrive for Business and Populate a Word Template data connections

Here's my flow.  Everything works as expected until the 'get file content' action.

Capture1.JPG

Any insight would be appreciated.  

 

(p.s.  I have not re-built the entire flow from scratch)

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at

    Hi @Bubba ,

     

    This is due to the addition of a new connector (OneDrive for Business) in the exist Flow, so a similar error may occur.

    You could try to solve this problem using the following methods:

    • Export the Flow to a .zip file, and then re-import it as a new Flow. After configuring the connection, Flow will work normally. If you don't find Export option, do this in MS Flow portal.
    • Another way is to reconfigure such a Flow so that the problem can be solved.

    Please take a try and let me know if issue still exists.

     

    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

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
David_MA Profile Picture

David_MA 265 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

#3
trice602 Profile Picture

trice602 202 Super User 2025 Season 2

Last 30 days Overall leaderboard