Unable to save an MS Teams connector

Rebecca 6 Reputation points
2022-07-20T00:25:02.79+00:00

99.9% of the time when I click the save button when adding my connector to a channel I get an error of type HttpAntiForgeryException when the MS Teams client calls the https://outlook.office.com/connectors/ConnectToO365Inline/Manage/UpdateAsync endpoint.

Has anyone else experienced this error?

222484-screen-shot-2022-07-20-at-121136-pm.png

222493-screen-shot-2022-07-20-at-121225-pm.png

The code is not exactly complex.

222430-screen-shot-2022-07-20-at-121915-pm.png

222447-screen-shot-2022-07-20-at-121903-pm.png

Any assistance would be greatly appreciated

Microsoft 365 and Office | Development | Office JavaScript API
Microsoft Teams | Development
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.