Hi Power Automate Community!
I was updating a Flow that I once posted here looking for help.
TL;DR: I wasn't able to use the Outlook connector because I didn't have access to a service account, but now I do. However, when I try to connect the Send an email (V2) connector to the new account it gives me the following error:
InvalidTemplate. Unable to process template language expressions in action 'Send_an_email_(V2)' inputs at line '1' and column '2677': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365_1']['connectionId']' cannot be evaluated because property 'shared_office365_1' doesn't exist, available properties are 'shared_onedriveforbusiness, shared_commondataservice, shared_office365, shared_excelonlinebusiness_1'. Please see https://aka.ms/logicexpressions for usage details.'.
If I change the connection to my account instead of the service account it works again properly. I've seen other similar posts which suggests deleting it and building it again, but it didn't work for me. It just doesn't work with the account that needs to work with.
Hope you can help me and thanks in advance.
Solved! Go to Solution.
Hi @yashag2255,
It is triggered from a Power Apps control. However, if I delete it I am no longer able to see it from Power Apps (Action > Power Automate) as the following image shows:
Looks like you haven't created any flows yet. To get started, select 'Create new flow' below.
Hey @Anonymous
Any chance this flow is being triggered from a PowerApps control or any external such control? If so, I would recommend to delete the flow from that control and add it back again.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @Anonymous
I think this is an issue with permissions. Probably the new permissions to this account haven't propagated yet. Your flow is correct since you can use your account, and all works fine.
Flow sometimes sticks too long with connections, even if they change. Try the following. Export your Flow and re-import it again. Then Flow will be forced to fetch the new connection, and maybe this will solve your issue.
If you're not familiar with import and export, here's how to do it.
https://manueltgomes.com/microsoft/flow-how-to-import-a-flow-template/
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Hi @yashag2255,
It is triggered from a Power Apps control. However, if I delete it I am no longer able to see it from Power Apps (Action > Power Automate) as the following image shows:
Looks like you haven't created any flows yet. To get started, select 'Create new flow' below.
I just solved it by recreating the flow from INSIDE the Power App (Action > Power Automate > Create New). Not quite the approach you would expect to be honest 😞
User | Count |
---|---|
100 | |
37 | |
26 | |
23 | |
16 |
User | Count |
---|---|
132 | |
52 | |
48 | |
36 | |
24 |