cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

property 'shared_slack' doesn't exist

Summary: After many attempts I successfully followed this Microsoft template to make the HelpDesk app. I wanted to integrate the Slack, post message action in my flow. I got it to work before but that was before I had to recreate the HelpDesk app but now I can't seem to get the Slack integration to work correctly.
 
My environment: Like the article outlined I created a Sharepoint (SP) site and list and gave the proper editing permissions to those in my Office 365 domain. My user is a domain admin. Powerapps has the following data connections: SP, Office365 User, Office 365 Outlook, and Slack. The powerapp should connect to the flow in the same exact way as outlined ni the article and the flow has the exact same setup aside from one extra step (Slack post message). A picture of where Slack fits in the flow is at the bottom of this post. I don't know how to get the data the error is pulling from. I think it's json but if someone could explain or post a link to an explanation of how to get error data from flow and powerapps that would be really helpful to me. 
 
Error
InvalidTemplate. Unable to process template language expressions in action 'Post_message' inputs at line '1' and column '2472': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_slack']['connectionId']' cannot be evaluated because property 'shared_slack' doesn't exist, available properties are 'shared_sharepointonline, shared_office365'. Please see https://aka.ms/logicexpressions for usage details.'.
 
Steps I've taken: I've checked out this article and export/reimporting the flow didn't fix the problem. I've tried posting to different channels, private and public, using only text verses dynamic content from 
 
Picture of Slack inside Flow
8 REPLIES 8
Community Support
Community Support

Hi @Anonymous,

 

Please take a try to create a new flow to see if the issue still exists.

 

Best regards,

Alice

Anonymous
Not applicable

@v-yuazh-msft,

 

I've recreated the flow before but I recreated it again just in case. It gives the following error on the Slack, post message action:

 


InvalidTemplate. Unable to process template language expressions in action 'Post_message' inputs at line '1' and column '2472': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_slack']['connectionId']' cannot be evaluated because property 'shared_slack' doesn't exist, available properties are 'shared_sharepointonline, shared_office365'. Please see https://aka.ms/logicexpressions for usage details.'.
 
Anonymous
Not applicable

I've recreated it and it still happens no matter what I try. 

Anonymous
Not applicable

Is the a way I can grab code for you to read? Is this impossible to find out or get more data on?

Anonymous
Not applicable

Can someone please help?

Anonymous
Not applicable

@v-yuazh-msft

 

Can you give me some more information or point me to someone who can help? Should I be reposting this in another thread or forum?

Anonymous
Not applicable

New link since my organization reSlack-in-flow.PNG

Hi @Anonymous , you can resolve this issue? 

 

If not check this post in community 

Pieter Veenstra show how do a tick to resolve this


Did I answer your question? Mark my post as a solution!

Gustavo Moraes, o astronauta brasileiro do Flow!


Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (52,286)