microsoft-teams-apps-requestateam
microsoft-teams-apps-requestateam copied to clipboard
Getting Invalid template error – Power Automate Flow - Check team availability
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
- Reconnect the SharePoint connectin in the Check Team Avialblilty flow
- 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