Home

Refresh cards not working in teams?

%3CLINGO-SUB%20id%3D%22lingo-sub-93282%22%20slang%3D%22en-US%22%3ERefresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-93282%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20trying%20to%20use%20the%20refresh%20cards%20functionality%20described%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foutlook%2Factionable-messages%2Fcard-reference%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foutlook%2Factionable-messages%2Fcard-reference%3C%2FA%3E%2C%20but%20as%20soon%20as%20I%20add%20the%20header%20%22CARD-UPDATE-IN-BODY%3A%20true%22%2C%20I%20get%20the%20following%20error%20from%20Teams%3A%20%22%3CSPAN%3EThere%20was%20a%20problem%20submitting%20your%20changes.%20Try%20again%20in%20a%20minute.%22.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EIs%20this%20feature%20not%20implemented%20yet%20or%20am%20I%20doing%20something%20wrong%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-93282%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBot%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-270235%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-270235%22%20slang%3D%22en-US%22%3EHi%20Wajeed%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20was%20able%20to%20get%20it%20to%20work%2C%20thank%20you%20so%20much!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269231%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269231%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F225691%22%20target%3D%22_blank%22%3E%40Phuong%20Nguyen%3C%2FA%3E%2C%26nbsp%3Bmost%20recent%20question%20was%20about%20updating%20existing%20connector%20card%20by%20posting%20new%20payload%20on%20the%20same%20webhook%20Url%2C%20which%20is%20not%20supported.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20your%20case%20update%20would%20happen%20on%20Post%20Action%20button%26nbsp%3Bwhich%26nbsp%3Bis%20possible%20and%20here%20is%20working%20sample%20for%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-sample-connector-csharp%2Fblob%2Fmaster%2FTeamsToDoAppConnector%2FControllers%2FTaskController.cs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ERefresh%20implementation%20in%20connector%20card%3C%2FA%3E.%20Note%20that%20if%26nbsp%3Byour%20code%20takes%20more%20than%205%20seconds%20to%20respond%20back%20then%20it%20shows%26nbsp%3B%3CSPAN%3E%22There%20was%20a%20problem%20submitting%20your%20changes.%20Try%20again%20in%20a%20minute.%22.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EPlease%20have%20a%20look%20at%20sample%20and%20let%20us%20know%20if%20it%20works.%20Here%20are%20various%20channels%20to%20reach%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ffeedback%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EMicrosoft%20Teams%20Developer%20Support%20team%3C%2FA%3E.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269083%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269083%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20There%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20you%20stated%20that%20refreshing%20cards%20might%20not%20be%20support%20for%20connectors%20but%20I%20just%20wanted%20to%20make%20sure%20I%20understand%20you%20correctly.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20web%20service%20(ServiceNow)%20sends%20a%20POST%20HTTP%20request%20to%20the%20incoming%20web%20hook%20address%20(obtained%20by%20adding%20the%20%22Incoming%20Webhook%22%20Connector%22)%2C%20this%20creates%20a%20card%20in%20MS%20Teams.%20In%20this%20Message%20card%2C%20there%20is%20a%20text%20input%20field%20that%20the%20user%20can%20add%20a%20comment%2C%20this%20will%20trigger%20an%20HttpPOST%20back%20to%20my%20ServiceNow%20endpoint%20which%20responses%20with%20a%26nbsp%3B%20CARD-UPDATE-IN-BODY%3A%20true%20in%20the%20header.%20However%2C%20I%20am%20getting%20the%20same%20error%20the%20OG%20post%20have%20%22There%20was%20a%20problem%20submitting%20your%20changes.%20Try%20again%20in%20a%20minute.%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20in%20short%2C%20this%20is%20not%20possible%20at%20the%20moment%3F%20I%20try%20to%20avoid%20creating%20a%20bot%20because%20it%20involves%20building%20the%20bot%20to%20response%20to%20actions%20and%20deploy%20the%20bot%20to%20Azure%20portal.%20If%20I%20understand%20correctly%2C%20I%20need%20to%20program%20the%20bot%20to%20actually%20act%20upon%20this%20Message%20Card%20when%20it%20received%20from%20my%20ServiceNow%20endpoint%3F%20Is%20there%20a%20way%20for%20me%20to%20just%20use%20the%20bot%20as%20a%20middle%20man%20to%20create%20the%20card%20when%20it%20receives%20the%20HttpPost%20from%20my%20ServiceNow%20endpoint%2C%20then%20when%20user%20perform%20action%20to%20that%20card%2C%20that%20get%20sent%20back%20to%20my%20endpoint%20and%20response%20with%20the%20CARD-UPDATE-IN-BODY%3A%20true%20and%20then%20the%20bot%20refreshes%20the%20card%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217581%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217581%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you!%20%26nbsp%3BI%20will%20read%20up%20on%20these%20links.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217363%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217363%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20not%26nbsp%3Bsupported%26nbsp%3Busing%20connector.%20Why%20don't%20you%20send%20connector%20card%20using%20bot%20and%20try%20updating%20the%20card%3F%3C%2FP%3E%0A%3CP%3EDocs%20on%20how%20to%20send%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fconcepts%2Fcards%2Fcards-reference%23office-365-connector-card%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EO365%20connector%20card%20using%20Bot%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EDocs%20on%20how%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fconcepts%2Fbots%2Fbot-conversations%2Fbots-conversations%23updating-messages%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Eupdate%20bot%20message%3C%2FA%3E.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-217305%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-217305%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20interested%20in%20the%20card%20refresh%20feature%2C%20but%20I'm%20wanting%20to%20refresh%20the%20card%20by%20continuing%20to%20make%20a%20POST%20to%20the%20connector's%20web%20hook%20URL.%20%26nbsp%3BThe%20idea%20would%20be%20for%20each%20stage%2C%20I%20would%20amend%20the%20sections%20with%20a%20new%20activityTitle%20and%20update%20the%20previous%20activitySubtitle%20with%20the%20status.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20possible%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFor%20example.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPayload%201%3C%2FP%3E%3CPRE%3E%7B%3CBR%20%2F%3E%20%22%40type%22%3A%20%22MessageCard%22%2C%3CBR%20%2F%3E%20%22%40context%22%3A%20%22http%3A%2F%2Fschema.org%2Fextensions%22%2C%3CBR%20%2F%3E%20%22correlationId%22%3A%20%22189458FD-E92F-4184-B229-2841A21C4474%22%2C%3CBR%20%2F%3E%20%22themeColor%22%3A%20%22ffa319%22%2C%3CBR%20%2F%3E%20%22title%22%3A%20%22puppetry%20%C2%BB%20corpsite%20%C2%BB%20master%22%2C%3CBR%20%2F%3E%20%22text%22%3A%20%22%5BBuild%20%2310%5D(https%3A%2F%2Fpejenkins.me.com%2Fjob%2Fpuppetry%2Fjob%2Fcorpsite%2Fjob%2Fmaster%2F10%2Fconsole)%22%2C%3CBR%20%2F%3E%20%22potentialAction%22%3A%20%5B%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%22%40type%22%3A%20%22ActionCard%22%2C%3CBR%20%2F%3E%20%22name%22%3A%20%22View%20Build%22%2C%3CBR%20%2F%3E%20%22actions%22%3A%20%5B%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%22%40type%22%3A%20%22OpenUri%22%2C%3CBR%20%2F%3E%20%22name%22%3A%20%22View%20Build%22%2C%3CBR%20%2F%3E%20%22targets%22%3A%20%5B%3CBR%20%2F%3E%20%7B%20%22os%22%3A%20%22default%22%2C%20%22uri%22%3A%20%22https%3A%2F%2Fpejenkins.me.com%2Fjob%2Fpuppetry%2Fjob%2Fcorpsite%2Fjob%2Fmaster%2F10%2Fconsole%22%20%7D%3CBR%20%2F%3E%20%5D%3CBR%20%2F%3E%20%7D%3CBR%20%2F%3E%20%5D%3CBR%20%2F%3E%20%7D%3CBR%20%2F%3E%20%5D%2C%3CBR%20%2F%3E%20%22sections%22%3A%20%5B%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%22startGroup%22%3A%20true%2C%3CBR%20%2F%3E%20%22activityTitle%22%3A%20%22Stage%20Checkout%20Repo%22%2C%3CBR%20%2F%3E%20%22activitySubtitle%22%3A%20%22Running%22%2C%3CBR%20%2F%3E%20%22activityImage%22%3A%20%22https%3A%2F%2Fstatic.vmguru.com%2Fwordpress%2Fwp-content%2Fuploads%2F2018%2F04%2Fas_code.png%22%2C%3CBR%20%2F%3E%20%22markdown%22%3A%20true%3CBR%20%2F%3E%20%7D%3CBR%20%2F%3E%20%5D%3CBR%20%2F%3E%7D%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EResulting%20Card%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20897px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F37956iE0BDB927B2940856%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22screen01.png%22%20title%3D%22screen01.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPayload%202%3C%2FP%3E%3CPRE%3E%7B%3CBR%20%2F%3E%20%22%40type%22%3A%20%22MessageCard%22%2C%3CBR%20%2F%3E%20%22%40context%22%3A%20%22http%3A%2F%2Fschema.org%2Fextensions%22%2C%3CBR%20%2F%3E%20%22correlationId%22%3A%20%22189458FD-E92F-4184-B229-2841A21C4474%22%2C%3CBR%20%2F%3E%20%22themeColor%22%3A%20%22ffa319%22%2C%3CBR%20%2F%3E%20%22title%22%3A%20%22puppetry%20%C2%BB%20corpsite%20%C2%BB%20master%22%2C%3CBR%20%2F%3E%20%22text%22%3A%20%22%5BBuild%20%2310%5D(https%3A%2F%2Fpejenkins.me.com%2Fjob%2Fpuppetry%2Fjob%2Fcorpsite%2Fjob%2Fmaster%2F10%2Fconsole)%22%2C%3CBR%20%2F%3E%20%22potentialAction%22%3A%20%5B%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%22%40type%22%3A%20%22ActionCard%22%2C%3CBR%20%2F%3E%20%22name%22%3A%20%22View%20Build%22%2C%3CBR%20%2F%3E%20%22actions%22%3A%20%5B%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%22%40type%22%3A%20%22OpenUri%22%2C%3CBR%20%2F%3E%20%22name%22%3A%20%22View%20Build%22%2C%3CBR%20%2F%3E%20%22targets%22%3A%20%5B%3CBR%20%2F%3E%20%7B%20%22os%22%3A%20%22default%22%2C%20%22uri%22%3A%20%22https%3A%2F%2Fpejenkins.me.com%2Fjob%2Fpuppetry%2Fjob%2Fcorpsite%2Fjob%2Fmaster%2F10%2Fconsole%22%20%7D%3CBR%20%2F%3E%20%5D%3CBR%20%2F%3E%20%7D%3CBR%20%2F%3E%20%5D%3CBR%20%2F%3E%20%7D%3CBR%20%2F%3E%20%5D%2C%3CBR%20%2F%3E%20%22sections%22%3A%20%5B%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%22startGroup%22%3A%20true%2C%3CBR%20%2F%3E%20%22activityTitle%22%3A%20%22Stage%20Checkout%20Repo%22%2C%3CBR%20%2F%3E%20%22activitySubtitle%22%3A%20%22Complete%22%2C%3CBR%20%2F%3E%20%22activityImage%22%3A%20%22https%3A%2F%2Fstatic.vmguru.com%2Fwordpress%2Fwp-content%2Fuploads%2F2018%2F04%2Fas_code.png%22%2C%3CBR%20%2F%3E%20%22markdown%22%3A%20true%3CBR%20%2F%3E%20%7D%2C%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%22startGroup%22%3A%20true%2C%3CBR%20%2F%3E%20%22activityTitle%22%3A%20%22Stage%20Lint%20Test%22%2C%3CBR%20%2F%3E%20%22activitySubtitle%22%3A%20%22Running%22%2C%3CBR%20%2F%3E%20%22activityImage%22%3A%20%22https%3A%2F%2Fstatic.vmguru.com%2Fwordpress%2Fwp-content%2Fuploads%2F2018%2F04%2Fas_code.png%22%2C%3CBR%20%2F%3E%20%22markdown%22%3A%20true%3CBR%20%2F%3E%20%7D%3CBR%20%2F%3E%20%5D%3CBR%20%2F%3E%7D%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EResulting%20Card%20(but%20updated%2C%20not%20a%20newly%20posted%20card)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20898px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F37957i0A32624F592A7FB5%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22screen02.png%22%20title%3D%22screen02.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-205112%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205112%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20original%20post%20is%20about%20refreshing%20of%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foutlook%2Factionable-messages%2Fmessage-card-reference%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EO365%20Connector%20cards%3C%2FA%3E%26nbsp%3Bwhich%20is%20sent%20via%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foutlook%2Factionable-messages%2Fmessage-card-reference%23refresh-cards%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EConnector%3C%2FA%3E.%26nbsp%3BYou%20on%20the%20other%20hand%20trying%20to%20refresh%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fconcepts%2Fcards%2Fcards-reference%23office-365-connector-card%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EO365%20Connector%20card%3C%2FA%3E%20sent%20via%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fconcepts%2Fbots%2Fbot-conversations%2Fbots-conversations%23updating-messages%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EBot%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-205018%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205018%22%20slang%3D%22en-US%22%3E%3CP%3EYes%20I%20found%20and%20used%20that%20example%2C%20without%20success.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EI%20asked%20on%20Stackoverflow%20and%20someone%20replied%20with%20this%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3ETeams%20doesn't%20support%20updating%20the%20original%20card%20by%20responding%20to%20the%20invoke%20message.%20Instead%2C%20you%20need%20to%20explicitly%20update%20the%20message%20by%20calling%20the%20Bot%20Framework%20API%20(see%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fconcepts%2Fbots%2Fbot-conversations%2Fbots-conversations%23updating-messages%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fconcepts%2Fbots%2Fbot-conversations%2Fbots-conversations%23updating-messages%3C%2FA%3E).%3C%2FP%3E%3CP%3EThe%20incoming%20invoke%20message%20has%20the%20information%20you%20need%20to%20update%20the%20original%20message%3A%3C%2FP%3E%3CP%3E%3CSERVICEURL%3E%2Fv3%2Fconversations%2F%3CCONVERSATIONID%3E%2Factivities%2F%3CACTIVITYID%3E%3C%2FACTIVITYID%3E%3C%2FCONVERSATIONID%3E%3C%2FSERVICEURL%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSERVICEURL%3E%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EserviceUrl%3C%2FSERVICEURL%3E%3C%2FLI%3E%3CLI%3E%3CCONVERSATIONID%3E%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Econversation.id%3C%2FCONVERSATIONID%3E%3C%2FLI%3E%3CLI%3E%3CACTIVITYID%3E%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EreplyToId%3C%2FACTIVITYID%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E(The%20details%20of%20how%20to%20update%20a%20message%20depends%20on%20exactly%20which%20SDK%20you're%20using%2C%20but%20in%20the%20end%20you'll%20need%20those%203%20items%20to%20refer%20to%20the%20message.)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3Eend%20quote%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20still%20have%20to%20try%20it%2C%20but%20it%20looks%20promising%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20the%20link%20to%20the%20StackOverflow%20question%20and%20answer%20for%20posterity%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F50891733%2Fwhy-are-my-chatbot-refresh-cards-in-teams-not-refreshing%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F50891733%2Fwhy-are-my-chatbot-refresh-cards-in-teams-not-refreshing%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-205011%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-205011%22%20slang%3D%22en-US%22%3E%3CP%3EAre%20you%20doing%20it%20the%20same%20way%20as%20in%20this%20example%3F%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fjasonjoh%2Fsimple-survey%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fjasonjoh%2Fsimple-survey%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-204954%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-204954%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20implemented%20refresh%20cards%2C%20and%20they%20are%20not%20working%20for%20my%20scenario.%20Here%20is%20an%20invoke%20message%20body%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22name%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22actionableMessage%2FexecuteAction%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22type%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22invoke%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%2F*%20Snip%20a%20whole%20lot%20of%20context%20ids%20and%20account%20details%20*%2F%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22replyToId%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22...%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22value%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22body%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22%7B%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3Efields1%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3E1%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3E%2C%20%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3Efield2%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3ESome%20Value%3C%2FSPAN%3E%3CSPAN%3E%5C%22%3C%2FSPAN%3E%3CSPAN%3E%7D%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22actionId%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22MyInvoke%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20I%20respond%20with%20this%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3EOutbound%20message%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22title%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%22Updated%20Tournament%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22text%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%22You%20performed%20a%20change%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22summary%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%22Made%20a%20change%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22themeColor%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3E%22%23E67A9E%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22sections%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3Enull%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%22potentialAction%22%3C%2FSPAN%3E%3CSPAN%3E%3A%3C%2FSPAN%3E%3CSPAN%3Enull%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EHttp%20headers%3A%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3ECARD-UPDATE-IN-BODY%3A%20%3C%2FSPAN%3E%3CSPAN%3Etrue%3C%2FSPAN%3E%3CSPAN%3E%3B%20Content-Type%3A%20application%2Fjson%3B%20charset%3Dutf%3C%2FSPAN%3E%3CSPAN%3E-8%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20my%20card%20doesn't%20update.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20traced%20the%20message%20that%20reaches%20my%20browser%20with%20Fiddler%2C%20and%20it%20no%20longer%20has%20my%20header%20or%20message%20in%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20am%20I%20missing%20here%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-133519%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-133519%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20similar%20issue%20with%20headers%20in%20general.%20When%20attempting%20to%20pass%20header%20values%20for%20a%20post%20request%20to%20another%20services%20API%2C%20the%20headers%20are%20not%20embedded%20in%20the%20call.%20Attached%26nbsp%3Bis%20an%20example%20of%20the%20request%20when%20initiated%20from%20the%20Teams%20interface.%20There%20is%20a%20header%20value%20in%20the%20list%20of%20objects%20when%20I%20send%20the%20json%20file.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F25024i2E301B197C0AEF8E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22teams.png%22%20title%3D%22teams.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-115343%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-115343%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20issue%20has%20been%20fixed.%26nbsp%3BPlease%20give%20a%20try%20at%20your%20end%20and%20let%20us%20know%20if%20you%20need%20any%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-108686%22%20slang%3D%22en-US%22%3ERe%3A%20Refresh%20cards%20not%20working%20in%20teams%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-108686%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20feature%20is%20implemented.%20Adding%26nbsp%3B%3CSPAN%3ECARD-UPDATE-IN-BODY%3CEM%3E%26nbsp%3B%3C%2FEM%3Ein%20header%20should%20refresh%20the%20card.%3C%2FSPAN%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20have%20raised%20a%20bug%20to%20track%20this%20issue.%20We%20will%20update%20you%20on%20this.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Deleted
Not applicable

I am trying to use the refresh cards functionality described here: https://docs.microsoft.com/en-us/outlook/actionable-messages/card-reference, but as soon as I add the header "CARD-UPDATE-IN-BODY: true", I get the following error from Teams: "There was a problem submitting your changes. Try again in a minute.".

 

Is this feature not implemented yet or am I doing something wrong?

13 Replies
Highlighted

 

This feature is implemented. Adding CARD-UPDATE-IN-BODY in header should refresh the card. 

We have raised a bug to track this issue. We will update you on this.

 

Highlighted

This issue has been fixed. Please give a try at your end and let us know if you need any help.

Highlighted

I have a similar issue with headers in general. When attempting to pass header values for a post request to another services API, the headers are not embedded in the call. Attached is an example of the request when initiated from the Teams interface. There is a header value in the list of objects when I send the json file. 

 

teams.png

 

Highlighted

I have implemented refresh cards, and they are not working for my scenario. Here is an invoke message body:

{
"name": "actionableMessage/executeAction",
"type": "invoke",
/* Snip a whole lot of context ids and account details */
"replyToId": "...",
"value": {
"body": "{\"fields1\":\"1\", \"field2\":\"Some Value\"}",
"actionId": "MyInvoke"
}
}

 

And I respond with this:

Outbound message:
{
"title":"Updated Tournament",
"text":"You performed a change",
"summary":"Made a change",
"themeColor":"#E67A9E",
"sections":null,
"potentialAction":null
}
Http headers:
CARD-UPDATE-IN-BODY: true; Content-Type: application/json; charset=utf-8

 

However my card doesn't update.

 

I traced the message that reaches my browser with Fiddler, and it no longer has my header or message in it.

 

What am I missing here?

Highlighted

Are you doing it the same way as in this example? https://github.com/jasonjoh/simple-survey

 

Highlighted

Yes I found and used that example, without success.

 

I asked on Stackoverflow and someone replied with this:

Teams doesn't support updating the original card by responding to the invoke message. Instead, you need to explicitly update the message by calling the Bot Framework API (see https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/bots/bot-conversations/bots-conver...).

The incoming invoke message has the information you need to update the original message:

<serviceurl>/v3/conversations/<conversationid>/activities/<activityid>

  • <serviceurl>: serviceUrl
  • <conversationid>: conversation.id
  • <activityid>: replyToId

(The details of how to update a message depends on exactly which SDK you're using, but in the end you'll need those 3 items to refer to the message.)

 

end quote

 

I still have to try it, but it looks promising

 

Here is the link to the StackOverflow question and answer for posterity: https://stackoverflow.com/questions/50891733/why-are-my-chatbot-refresh-cards-in-teams-not-refreshin...

Highlighted

The original post is about refreshing of O365 Connector cards which is sent via Connector. You on the other hand trying to refresh O365 Connector card sent via Bot

Highlighted

I'm interested in the card refresh feature, but I'm wanting to refresh the card by continuing to make a POST to the connector's web hook URL.  The idea would be for each stage, I would amend the sections with a new activityTitle and update the previous activitySubtitle with the status.

 

Is this possible?

 

For example.

 

Payload 1

{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"correlationId": "189458FD-E92F-4184-B229-2841A21C4474",
"themeColor": "ffa319",
"title": "puppetry » corpsite » master",
"text": "[Build #10](https://pejenkins.me.com/job/puppetry/job/corpsite/job/master/10/console)",
"potentialAction": [
{
"@type": "ActionCard",
"name": "View Build",
"actions": [
{
"@type": "OpenUri",
"name": "View Build",
"targets": [
{ "os": "default", "uri": "https://pejenkins.me.com/job/puppetry/job/corpsite/job/master/10/console" }
]
}
]
}
],
"sections": [
{
"startGroup": true,
"activityTitle": "Stage Checkout Repo",
"activitySubtitle": "Running",
"activityImage": "https://static.vmguru.com/wordpress/wp-content/uploads/2018/04/as_code.png",
"markdown": true
}
]
}

 

Resulting Card

screen01.png

 

Payload 2

{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"correlationId": "189458FD-E92F-4184-B229-2841A21C4474",
"themeColor": "ffa319",
"title": "puppetry » corpsite » master",
"text": "[Build #10](https://pejenkins.me.com/job/puppetry/job/corpsite/job/master/10/console)",
"potentialAction": [
{
"@type": "ActionCard",
"name": "View Build",
"actions": [
{
"@type": "OpenUri",
"name": "View Build",
"targets": [
{ "os": "default", "uri": "https://pejenkins.me.com/job/puppetry/job/corpsite/job/master/10/console" }
]
}
]
}
],
"sections": [
{
"startGroup": true,
"activityTitle": "Stage Checkout Repo",
"activitySubtitle": "Complete",
"activityImage": "https://static.vmguru.com/wordpress/wp-content/uploads/2018/04/as_code.png",
"markdown": true
},
{
"startGroup": true,
"activityTitle": "Stage Lint Test",
"activitySubtitle": "Running",
"activityImage": "https://static.vmguru.com/wordpress/wp-content/uploads/2018/04/as_code.png",
"markdown": true
}
]
}

 

Resulting Card (but updated, not a newly posted card)

screen02.png

 

Highlighted

This is not supported using connector. Why don't you send connector card using bot and try updating the card?

Docs on how to send O365 connector card using Bot.

Docs on how to update bot message.

Highlighted

Thank you!  I will read up on these links.

Highlighted

Hi There,

 

I know you stated that refreshing cards might not be support for connectors but I just wanted to make sure I understand you correctly.

 

My web service (ServiceNow) sends a POST HTTP request to the incoming web hook address (obtained by adding the "Incoming Webhook" Connector"), this creates a card in MS Teams. In this Message card, there is a text input field that the user can add a comment, this will trigger an HttpPOST back to my ServiceNow endpoint which responses with a  CARD-UPDATE-IN-BODY: true in the header. However, I am getting the same error the OG post have "There was a problem submitting your changes. Try again in a minute."

 

So in short, this is not possible at the moment? I try to avoid creating a bot because it involves building the bot to response to actions and deploy the bot to Azure portal. If I understand correctly, I need to program the bot to actually act upon this Message Card when it received from my ServiceNow endpoint? Is there a way for me to just use the bot as a middle man to create the card when it receives the HttpPost from my ServiceNow endpoint, then when user perform action to that card, that get sent back to my endpoint and response with the CARD-UPDATE-IN-BODY: true and then the bot refreshes the card?

 

Thanks!

Highlighted

Hi @Phuong Nguyen, most recent question was about updating existing connector card by posting new payload on the same webhook Url, which is not supported. 

 

In your case update would happen on Post Action button which is possible and here is working sample for Refresh implementation in connector card. Note that if your code takes more than 5 seconds to respond back then it shows "There was a problem submitting your changes. Try again in a minute.".

 

Please have a look at sample and let us know if it works. Here are various channels to reach Microsoft Teams Developer Support team.

Highlighted
Hi Wajeed,

I was able to get it to work, thank you so much!