makmu / outlook-matters

Add-In to forward e-mails from MS Outlook to Mattermost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Invalid Team Id in Settings!

Cornloaf opened this issue · comments

I have one team in my Mattermost organization. The install went fine once I moved the files to my desktop to run the .vsto file. I have put in the correct URL : https://name.domain.com/ and my login information. When I try to refresh the channels, it asks for my password and then gives me this error. There are no errors showing up in the Mattermost log.

I am running Outlook 2016 on Windows 10.

Oddly, this mattermost integration wants your team shortname rather than the ID.

BTW the team name presented in App might be different than Team name in DB... which was my case.

@roetherb / @Master-Chief-5FDP - where can one find the "team shortname"? thanks!

@roetherb / @Master-Chief-5FDP - where can one find the "team shortname"? thanks!

In my case, it only works with the Team table "Name" field (lowercase), "hta" in this case:

[netbackup@hta-cloud ~]$ mysql -u root -p
Enter password:

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 6117
Server version: 10.3.27-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> use mattermost;

Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed

MariaDB [mattermost]> select Id, Name, DisplayName from Teams;

+----------------------------+------+-------------+
| Id                         | Name | DisplayName |
+----------------------------+------+-------------+
| atanac1nj7yjxd68wawxeamwga | hta  | HTA         |
+----------------------------+------+-------------+
1 row in set (0.001 sec)

MariaDB [mattermost]>