Search code examples
microsoft-teamsoffice365connectors

Microsoft Teams Connector Configuration Save Failure


I'm working on creating a custom connector for Microsoft Teams. I've created one based on the github tutorial repo. Everything is working fine but when I hit the save button nothing happens, seems like saveEvent.notifySuccess() is not working. I'm using React for the config page.

Any help will be appreciated.

Config Page MSTeam implementation: Config Page MSTeam implementation

Express server saveConfig: Express server saveConfig

Screen after saving: Screen after saving

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.3/MicrosoftTeams.schema.json",
    "manifestVersion": "1.3",
    "version": "1.0.0",
    "id": "23772851-b720-4f99-ae35-3531957cb1c7",
    "packageName": "com.demo.test",
    "developer": {
        "name": "Laxman Sharma",
        "websiteUrl": "https://www.google.com",
        "privacyUrl": "https://www.google.com/",
        "termsOfUseUrl": "https://www.google.com/"
    },
    "icons": {
        "color": "color.png",
        "outline": "outline.png"
    },
    "name": {
        "short": "Test",
        "full": ""
    },
    "description": {
        "short": "Test Connector App",
        "full": "This app allows the team tp quickly do something."
    },
    "accentColor": "#40497E",
    "bots": [
        {
            "botId": "5e55cea4-4efc-4eec-9156-c6aa78b1622c",
            "scopes": [
                "personal",
                "team"
            ],
            "supportsFiles": false,
            "isNotificationOnly": true
        }
    ],
    "connectors": [
        {
            "connectorId": "f1014037-dad1-4da2-83af-479708155849",
            "configurationUrl": "https://e48f6f19.ngrok.io/",
            "scopes": [
                "team"
            ]
        }
    ],
    "permissions": [
        "identity",
        "messageTeamMembers"
    ],
    "validDomains": [
        "e48f6f19.ngrok.io"
    ]
}


Solution

  • I had similar issues at the start, as Wajeed already mentioned please double check that:

    • You are only using domains that are within valid domain list in manifest
    • You also need to have the same urls set in Connector Portal
    • Double check you're really using the connector you want to use