Unable to Post Message to Channel using Incoming Webhook

Copper Contributor

Hi,

 

Our use-case is to send messages to one of the channels of Microsoft Teams and in order to do so we are using pymsteams python library/package. From the example mentioned on it's documentation, we require webhook url.

 

To go ahead and test, I have setup account on Microsoft Teams and currently it has got two channels - General (default created) and Notifications Testing (user created) under BigLittle Innovations team. Then I followed this (add-incoming-webhook) link to add incoming webhook but I wasn't able to find Connectors option under drop-down. However, I do find Get link to channel option from where I get url of the channel and used in the code to try out posting a message to respective channel. But the code was failing raising following exception:

 

 

TeamsWebhookException: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

 

 

 

Please let me know the way to proceed further. Your help is very much appreciated.

 

Thanks.

 

Regards,

Avadoot Nachankar

4 Replies

@Trinetra-MSFT 

 

How to add/get incoming webhook url for a given Channel belonging to a free account? 

I have followed this link; but I was unable to find Connectors option under More Options for a given channel.

@Trinetra-MSFT 

 

Checkout following link to setup incoming webhook:
https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-u...

 

This is what I would like to bring to your notice that I can't see Connectors option in first place... so that I can add a custom incoming webhook; and then try sending messages using it!

 

Please I would request you to create a free account and then go through the documentation link that you have shared with me.

 

If not possible for you, then please get me someone who really can understand my problem and help accordingly!

 

Thank you.

 

Regards,

Avadoot Nachankar

 

@mnavadoot , Do you have permission enabled for connector creation in channel Settings => Member permissions => Allow members to create, update, and remove connectors: could you please look at :https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming...

Guest account don't support that please look at https://support.microsoft.com/en-us/office/team-owner-member-and-guest-capabilities-in-teams-d03fdf5...