Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Invalid template error – Power Automate Flow - Check team availability #380

Open
SaveeshS-stack opened this issue Dec 20, 2022 · 0 comments
Labels
bug Something isn't working 🔍 needs triage Issued needs triaging

Comments

@SaveeshS-stack
Copy link

Description

We are getting the below error in the action – Send Http Request to SharePoint.

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

Steps to reproduce

  1. Reconnect the SharePoint connectin in the Check Team Avialblilty flow
  2. Reauthenticate using - Azure AD Authentication
    3.Connection Succeeded , but on the Check Availablity Request in the app , getting the error

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

Expected results

Connection Should succeeded and should be able to create the Team

Actual Results

Error -

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

Solution component

Power Automate Flows

Operating system (environment)

Windows

Additional Info

No response

@SaveeshS-stack SaveeshS-stack added bug Something isn't working 🔍 needs triage Issued needs triaging labels Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🔍 needs triage Issued needs triaging
Projects
None yet
Development

No branches or pull requests

1 participant