cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

Re: property 'shared_slack' doesn't exist

Hi @Anonymous,

 

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

 

Best regards,

Alice

Highlighted
Anonymous
Not applicable

Re: property 'shared_slack' doesn't exist

@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.'.
 
Highlighted
Anonymous
Not applicable

Re: property 'shared_slack' doesn't exist

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

Highlighted
Anonymous
Not applicable

Re: property 'shared_slack' doesn't exist

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

Highlighted
Anonymous
Not applicable

Re: property 'shared_slack' doesn't exist

Can someone please help?

Highlighted
Anonymous
Not applicable

Re: property 'shared_slack' doesn't exist

@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?

Highlighted
Anonymous
Not applicable

Re: property 'shared_slack' doesn't exist

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

Highlighted
Memorable Member
Memorable Member

Re: property 'shared_slack' doesn't exist

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,389)