makmu / outlook-matters

Add-In to forward e-mails from MS Outlook to Mattermost
MIT License
65 stars 13 forks source link

Error: Invalid Team Id in Settings! #66

Open Cornloaf opened 7 years ago

Cornloaf commented 7 years ago

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.

roetherb commented 7 years ago

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

Master-Chief-5FDP commented 7 years ago

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

brad-newman commented 6 years ago

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

casanovg commented 3 years ago

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