When I am posting an adaptive card in a team's message and channel message using- "post adaptive card and wait for a response".
it's showing as below-
and it got stuck.
but when I am using same Jason on "postcard in a chat or channel" it shows perfectly.
i am using this URL to create the Jason Designer | Adaptive Cards
sharing the jason here-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
{
"type": "AdaptiveCard",
"body": [
{
"type": "TextBlock",
"size": "Medium",
"weight": "Bolder",
"text": "Clearance Request for"
},
{
"type": "TextBlock",
"text": "New TextBlock",
"wrap": true
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Removed",
"value": "Choice 1"
}
],
"placeholder": "select option",
"label": "AD & Microsoft 365 Access"
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Access Removed",
"value": "Access Blocked"
}
],
"placeholder": "Select the options",
"label": "Own Cloud (Report)",
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Access Removed",
"value": "Partially Remove"
}
],
"placeholder": "Select the option",
"label": "System",
"isRequired": true
},
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "VPN Access Blocked",
"value": "VPN Access Removed"
}
],
"placeholder": "Select the Option",
"label": "VPN Access",
"isRequired": true
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.5",
"actions": [
{
"type": "Action.Submit",
"title": "Submit"
}
]
}
/////////////////////////////////////////////////////////////////////////////
only the 1.3 version is working correctly. This one is only allowed for this kind of adaptive card.
for version 1.3 showing bellow error-
ERROR
The request failed. Error code: 'InvalidBotAdaptiveCard'. Error Message: 'Microsoft.Azure.ProcessSimple.Data.Entities.Exceptions.ProcessSimpleDataException: The specified Teams flowbot adaptive card request is missing or invalid. The tracking Id is '{0}'. ---> AdaptiveCards.AdaptiveSerializationException: Required property 'id' not found on 'Input.Text'
at AdaptiveCards.AdaptiveTypedElementConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at AdaptiveCards.IgnoreEmptyItemsConverter`1.<>c__DisplayClass1_0.<ReadJson>b__1(JObject obj)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Populate(JsonReader reader, Object target)
at AdaptiveCards.AdaptiveTypedElementConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at AdaptiveCards.AdaptiveCardConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at AdaptiveCards.AdaptiveCard.FromJson(String json)
at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions)
--- End of inner exception stack trace ---
at Microsoft.Azure.ProcessSimple.Data.Components.AdaptiveCards.AdaptiveCardBuilder.DeserializeAdaptiveCard(String serializedAdaptiveCard, RequestIdentity requestor, CultureInfo cultureInfo, BotAdaptiveCardAtMentions atMentions)
at Microsoft.Azure.ProcessSimple.Web.Common.Validation.BotAdaptiveCard(String card, RequestIdentity senderRequestIdentity)'.
tried different adaptive card versions but other versions showing different error
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.