# 1.9.2.573: Setting up Teams notification

**URL:** <https://www.finalbuilder.com/forums/t/1-9-2-573-setting-up-teams-notification/7013>\
**Category:** Bugs\
**Created:** [March 31, 2021, 8:37am UTC](https://www.finalbuilder.com/forums/t/1-9-2-573-setting-up-teams-notification/7013 "2021-03-31T08:37:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpollack](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jpollack/32/184_2.png) [@jpollack](https://www.finalbuilder.com/forums/u/jpollack)\
**Post date:** [March 31, 2021, 8:38am UTC](https://www.finalbuilder.com/forums/t/1-9-2-573-setting-up-teams-notification/7013/1 "2021-03-31T08:38:00Z")

</div>

Was wondering if Continue CI could notify build result to a Teams channel. Happily discovered Notifications: Publishers at the Administrator’s control panel:

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/e/ee56abfd1083ca187fb7de33ca84e0692311629e.png)

Filled in the Microsoft Teams’ webhook URL and selected Message card as the message format. Clicked the ‘Validate’ button and it show me the green light. Saved to close the pop-on window.

Got a notification that the validation was successful.

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/f/f42d9e3dc2ecc613dd0cc209e1563f7f33927158.png)

Great! I thought. Although the message metrics were all zeros:

 ![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/3/3159e639d45bfbec6493e8eddc58c81f6d0e0695.png)

Went to the latest build details and clicked the double arrow: ‘Queue a build immediately’. The build started. Went to the Teams channel to see if there were a notification. Nothing! Wait till the end of the build but still no notification about the successful build.

At the Continua Event Log noticed an error event from PlugIn Manager:

> The following error occurred while retrieving the plugin with name ‘Teams’: Exception: ResourceNotFoundException
> 
> Message: The plugin with name ‘Teams’ does not exist.
> 
> Stack Trace: at Continua.API.PlugIns.PlugInManager`1.GetPlugInDescription(String name, Boolean getValueOptions) at Continua.API.PlugIns.PlugInManager`1.CreatePlugInInstance(String plugInName, IDictionary`2 plugInProperties, MultiSelectArrayFormat multiSelectArrayFormat, Boolean throwValidationExceptions)

Checked the ‘\*C:\Program Files\ContinuaCI\Server\ServerExtensions\*’ directory and there is a file called ‘_Continua.Notifications.Teams.dll_’, version 1.9.2.573

Any idea is this a misconfiguration or a bug?

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [April 1, 2021, 3:52am UTC](https://www.finalbuilder.com/forums/t/1-9-2-573-setting-up-teams-notification/7013/2 "2021-04-01T03:52:43Z")

</div>

Hi @jpollack,

Did you set up any [subscriptions](https://wiki.finalbuilder.com/display/continua/Subscriptions)?

As you received the “successful validation” message then the publisher appears to be set up correctly, however the publisher won’t send any notifications on its own without a subscription.

The error message that you are seeing is a red herring. Continua CI is unable to find the Teams user preferences plugin and this is because Teams publisher doesn’t have one. It is continuing without issue after this error but it should not be logging the message at all. We will fix this for the next version.

---

<div class="post-metadata">

**Author:** ![jpollack](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jpollack/32/184_2.png) [@jpollack](https://www.finalbuilder.com/forums/u/jpollack)\
**Post date:** [April 1, 2021, 11:12am UTC](https://www.finalbuilder.com/forums/t/1-9-2-573-setting-up-teams-notification/7013/3 "2021-04-01T11:12:00Z")

</div>

That is it - missing subscription. Now it sends notifications to the Teams channel. Thanks!

![image](https://www.finalbuilder.com/forums/uploads/default/original/2X/4/4a6ab54c8f4287d9c236c943025df23d71a7a08c.png)  
How can I correct the link of the Teams card buttons? Currently it opens at the localhost without a port number. Checked the notification templates and they are using {BuildUrl}, {ConfigurationUrl} and {ProjectUrl} all those have incorrect values.

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [April 1, 2021, 1:05pm UTC](https://www.finalbuilder.com/forums/t/1-9-2-573-setting-up-teams-notification/7013/4 "2021-04-01T13:05:06Z")

</div>

Hi @jpollack,

There’s a [server property](https://wiki.finalbuilder.com/x/BYDp) called HostUrl. Set this to the external URL of the CCI website.

---

<div class="post-metadata">

**Author:** ![jpollack](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jpollack/32/184_2.png) [@jpollack](https://www.finalbuilder.com/forums/u/jpollack)\
**Post date:** [April 1, 2021, 2:10pm UTC](https://www.finalbuilder.com/forums/t/1-9-2-573-setting-up-teams-notification/7013/5 "2021-04-01T14:10:08Z")

</div>

Excellent! Thank you and Happy Easter!
