简体   繁体   中英

New Connector works for Outlook but not Microsoft Teams

I'm trying to build an Office 365 Connector exclusively for use on Microsoft Teams based on this documentation . It seems to work for Outlook groups, but not for Teams.

I've successfully created a Connector on the Connectors Developer Dashboard and configured it to work on Teams (image below), but when I click the "Connect to Office 365" button on my site, it gives me an error "No valid mailbox Found". When I change the settings of the Connector in the dashboard to support Outlook (and also check the Inbox and Group boxes), I no longer receive this error and instead get to choose the connection, but my team is still not on the list. Clearly Teams isn't being considered for the connection.

These settings:

在此输入图像描述

Produce this error:

在此输入图像描述

Is there something special I need to do to configure my team for new Connectors?

Just a checklist of things I've tried:

  1. Sideloading and developer preview are enabled for my team.
  2. The Connector in the Dashboard was made with the same Microsoft account as the one on Teams.
  3. I created an app with the connector defined in the manifest.json and sideloaded it into my team.
  4. URL is https://outlook.office.com/connectors/Connect?state={my-state}&app_id={connector-id-from-dashboard}&callback_url=http://localhost:3000/enable-teams

The "Connect to Office 365" button indeed does not work, as the user first has to add the connector to a team. We've updated our documentation to call this out, along with other Teams-specific instructions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM