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 / Get Manager V2 is rais...
Power Automate
Unanswered

Get Manager V2 is raising this error:- "Action 'Get_manager_(V2)_2' failed"

(1) ShareShare
ReportReport
Posted on by 1,811 Super User 2024 Season 1
I have a Get Manager V2 action inside a flow that get called from Power Apps, but it is raising this error:-
 
InvalidTemplate.
Unable to process template language expressions in action 'Get_manager_(V2)_2' inputs at line '0' and column '0': 'The template language expression 'json(decodeBase64(secrets('X-MS-APIM-Tokens')))['$connections']['shared_office365users_1']['connectionId']' cannot be evaluated because property 'shared_office365users_1' doesn't exist, available properties are 'shared_sharepointonline, shared_office365, shared_onedriveforbusiness, shared_office365groups'. Please see https://aka.ms/logicexpressions for usage details.'.
 
 
any advice? thanks
Categories:
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Did you double check that the connection in the flow is working? Try disconnecting it and reconnecting it.
  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
      Yes the connection is Valid, i also created a new connection , but still facing the same issue. :-@ronaldwalcott
     
     
     
    the flow is been called from power apps, using the old template before V2, could this be the issue:-
     
     
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    The old API shows the errors while the new API generally catches the errors and will return null or blank, It doesn't explain why the call is behaving as it is expected to.
    Are all the parameters for the request valid?
    You can try using Microsoft Graph to test the parameters which you are sending.
  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
    @ronaldwalcott now i changed the trigger to be version2, but now i am getting the same error on Get Items from sharepoint:-

     
     
    i am not sure what is going on?
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    It seems to be implying that it cannot connect to your SharePoint site or list.
    Do you have access to the SharePoint list? 
  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
     
    Yes i am the Sharepoint site owner, and i am the owner of the power automate and the owner of the power apps that calls the flow. also the error is not saying about permsions, it is saying it can not find a property:-
    The template language expression 'parameters('$connections')['shared_sharepointonline']['connectionId']' cannot be evaluated because property 'shared_sharepointonline' doesn't exist, available properties are
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    These type of problems are mainly caused by Power apps padding incorrect parameters, the connection not being properly created or a permissions issue,
    How did you verify the SharePoint connection? did you remove the action and recreate it?
  • johnjohnPter Profile Picture
    1,811 Super User 2024 Season 1 on at
     
    I always calls flows from power apps without issues... now i created a new action to get a sharepoint item, and for the same issue:-
     
     
     
    so not sure what is going on?

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard