TrainingContent | Training Content used for developer.microsoft.com/office
kandi X-RAY | TrainingContent Summary
kandi X-RAY | TrainingContent Summary
Training Content used for developer.microsoft.com/office
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TrainingContent
TrainingContent Key Features
TrainingContent Examples and Code Snippets
Community Discussions
Trending Discussions on TrainingContent
QUESTION
Past two days, I have been trying to configure MS Teams connector following this tutorial:
https://docs.microsoft.com/en-us/learn/modules/msteams-webhooks-connectors/7-exercise-o365-connectors
I configured the connector via Connectors Developer Dashboard.
Then I tried both, cloning and reconfiguring this sample:
https://github.com/OfficeDev/TrainingContent/tree/master/Teams/60%20Webhooks%20O365%20Connectors/Demos/03-o365-connector
and also bootstrapping the project via yo teams
, following the tutorial step-by-step.
After building the project and serving it via ngrok, I can sideload the connector into Teams (tried both, desktop app and web), it successfully brings me to configuration page, but never allows me to save the connector settings. I always get this error:
Unable to save “My First Teams Connector” connector configuration. Please try again.
I adapted the code and debugged it to see, that the call to /api/connector/connect
succeeds and saveEvent.notifySuccess()
is called.
Then I noticed, that right after saving the connector via browser, this error appears in the console:
...ANSWER
Answered 2020-Nov-13 at 20:46I filled the valid domains field with xxxxxxxx.ngrok.io
which is the domain of my configuration page.
Be careful, if you update an existing connector, apparently these changes needs time to be taken into account. To be sure, you can create a fresh new connector.
QUESTION
After setting up a connector pretty much as described in the connector tutorial, we're not able to send test requests to the webhook url we received from the connector configuration page.
- The test connector is set up in the Connectors Developer Dashboard. Not published to the app store, as still testing. The message next to the connector name says "Registered. Pending Approval"
- It's sideloaded to Outlook / Microsoft Teams
- It's also uploaded separately as a package into Teams
- It shows up correctly in the channel configuration
- Connector Settings page loads correctly, and settings can be saved
- The getSettings call returns a webhook url correctly
- But, submitting a POST request to the webhook url errors out:
curl -d "test=true" -X POST 'https://outlook.office.com/webhook/09f2b8e5-e684-4e87-8838-75e3a2f9dcbc@00d35244-2e42-4af7-a1ad-d6b557249c2b/58f4ab6b-234c-43ad-82f0-4641e38699e0/c516d999fec5498e9cac06f8d0478f22/79e349e1-47da-487a-90ee-040eccbbfa8b'
Unknown Connector provider 58f4ab6b-234c-43ad-82f0-4641e38699e0
This seems like an issue with testing webhook urls not being usable?
Related thread as another team is having the same issue as well, and github issue with more details.
As a side-note, when adding the connector to the team page, there was a chat notification that the user added the connector to this team. In this message the connector image did not load properly. I can see in the url that it also has the connector id in it.
...ANSWER
Answered 2018-Dec-13 at 08:43This seems to have been an issue within MS Teams, and it looks like it has been fixed by now. I'm able to post messages to the generated webhook without receiving the error message.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TrainingContent
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page