I have a powerapp that launches a flow, passing some variables into flow parameters.
One of those vairables is an email address used to fetch a users O365 profile in the flow.
Another is an ID used to fetch a SharePoint list item.
When I run the flow from PowerApps, the list item is collected, but I then get the following flow error on the O365 Get user profile portion:
Unable to process template language expressions in action 'Get_user_profile' inputs at line '1' and column '2065': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365users']['connectionId']' cannot be evaluated because property 'shared_office365users' doesn't exist, available properties are 'shared_sharepointonline, shared_office365'. Please see https://aka.ms/logicexpressions for usage details.'.
PowerApps flow launch:
UpdateContext({VisitReference: SharePointListItemID});
UpdateContext({SendAccessEmailTo: "myemail@home.com"});
UpdateContext({VisitorListEmailBody: "Hello World"});
'FlowName'.Run(VisitReference, SendAccessEmailTo, VisitorListEmailBody);
When I run the flow from flow and simply type the values for the variables, it works fine....
@Admin: https://flow.microsoft.com/manage/environments/Default-7369e6ec-faa6-42fa-bc0e-4f332da5b1db/flows/0ac8c403-b7df-4d47-b342-bd43124c5106