Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

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

(1) ShareShare
ReportReport
Posted on by 1,542 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
  • johnjohnPter Profile Picture
    1,542 Super User 2024 Season 1 on at
    Get Manager V2 is raising this error:- "Action 'Get_manager_(V2)_2' failed"
     
    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?
  • ronaldwalcott Profile Picture
    3,497 on at
    Get Manager V2 is raising this error:- "Action 'Get_manager_(V2)_2' failed"
    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,542 Super User 2024 Season 1 on at
    Get Manager V2 is raising this error:- "Action 'Get_manager_(V2)_2' failed"
     
    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,497 on at
    Get Manager V2 is raising this error:- "Action 'Get_manager_(V2)_2' failed"
    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,542 Super User 2024 Season 1 on at
    Get Manager V2 is raising this error:- "Action 'Get_manager_(V2)_2' failed"
    @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,497 on at
    Get Manager V2 is raising this error:- "Action 'Get_manager_(V2)_2' failed"
    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,542 Super User 2024 Season 1 on at
    Get Manager V2 is raising this error:- "Action 'Get_manager_(V2)_2' failed"
      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,497 on at
    Get Manager V2 is raising this error:- "Action 'Get_manager_(V2)_2' failed"
    Did you double check that the connection in the flow is working? Try disconnecting it and reconnecting it.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,631 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,964 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow