Hello, I made a PowerApps Form to create or midify items in a Sharepoint List. I placed a button on this Form which triggers a Power Automate Flow (Send_an_email_(V2)). This flow should send e-mails and strat Approvals.
When I test the flow manually feeding the required inputs instead of PowerAPps form it runs without problem. Great. But when I use button on the Form in the SharePoint list it comes bcak with the following problem:
* Send_an_email_(V2) action:
"Unable to process template language expressions in action 'Send_an_email_(V2)' inputs at line '0' and column '0': 'The template language expression 'json(decodeBase64(secrets('X-MS-APIM-Tokens')))['$connections']['shared_office365']['connectionId']' cannot be evaluated because property 'shared_office365' doesn't exist, available properties are 'shared_sharepointonline, shared_sendmail'. Please see https://aka.ms/logicexpressions for usage details.'."
* Approval:
"InvalidTemplate. Unable to process template language expressions in action 'Start_and_wait_for_an_approval' inputs at line '0' and column '0': 'The template language expression 'json(decodeBase64(secrets('X-MS-APIM-Tokens')))['$connections']['shared_approvals']['connectionId']' cannot be evaluated because property 'shared_approvals' doesn't exist, available properties are 'shared_sharepointonline, shared_sendmail'. Please see https://aka.ms/logicexpressions for usage details.'."
I use my comany account. These actions working well eg when I made approval flow for a document library.
I've already removed and readd the connection, but it not helped on me
What do I miss here?
Thanks