Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
Unanswered

Full-width Adaptive Cards on Teams with "msteams: "width": "Full" " no longer working as of Dec. 1, 2022

(2) ShareShare
ReportReport
Posted on by 2

Full-width Adaptive Cards on Teams with "msteams: {"width": "Full"}" no longer working as of Dec. 1, 2022

Hello community,

 

All of my Power Automate Flows end with posting an Adaptive Card to our online feed channel on Teams. I've been using the logic " "msteams": {"width": "Full"}, " for all of them to span the entire message width. It has worked successfully over the past 1.5 months, but this morning I noticed that current (and previous) notifications in our online feed on Teams have reverted back to half-width size.

 

Has there been a change with Adaptive Cards schema layout for full-width? What is the accepted way to go full-width with our Adaptive Cards now?

 

 

Schema example below:

{
 "type": "AdaptiveCard",
 "body": [
 {
 "type": "ColumnSet",
 "columns": [
 {
 "type": "Column",
 "items": [
 {
 "type": "Container",
 "backgroundImage": {
 "url": "https://messagecardplayground.azurewebsites.net/assets/TxP_Background.png"
 },
 "items": [
 {
 "type": "Image",
 "horizontalAlignment": "Center",
 "url": "https://cdn-icons-png.flaticon.com/512/732/732223.png",
 "altText": "Blue Outlook logo",
 "width": "35px",
 "height": "35px",
 "id": "acTerpIcon"
 }
 ],
 "bleed": true
 },
 {
 "type": "Container",
 "spacing": "None",
 "style": "emphasis",
 "items": [
 {
 "type": "TextBlock",
 "size": "ExtraLarge",
 "weight": "Default",
 "color": "Accent",
 "text": "Interpreter request added to calendar",
 "wrap": true,
 "id": "acTerpTitle",
 "fontType": "Default"
 },
 {
 "type": "TextBlock",
 "spacing": "None",
 "text": " ",
 "wrap": true
 },
 {
 "type": "TextBlock",
 "spacing": "None",
 "text": "Requested by: @{outputs('Get_user_profile_(V2)')?['body/displayName']}",
 "wrap": true,
 "fontType": "Default",
 "size": "Default",
 "weight": "Default",
 "color": "Default",
 "id": "acTerpRequestor",
 "separator": true
 },
 {
 "type": "TextBlock",
 "text": "Phone: @{variables('BusinessPhone')}",
 "wrap": true,
 "id": "acTerpContact",
 "fontType": "Default",
 "size": "Default",
 "weight": "Default",
 "color": "Default"
 },
 {
 "type": "TextBlock",
 "text": "Email: @{variables('UserEmail')}",
 "wrap": true,
 "id": "acTerpContact",
 "fontType": "Default",
 "size": "Default",
 "weight": "Default",
 "color": "Default"
 }
 ],
 "bleed": true,
 "height": "stretch"
 }
 ],
 "width": 50,
 "height": "stretch",
 "minHeight": "2px"
 },
 {
 "type": "Column",
 "items": [
 {
 "type": "Image",
 "url": "https://cdn-icons-png.flaticon.com/512/6788/6788510.png",
 "height": "55px",
 "horizontalAlignment": "Center",
 "size": "Stretch"
 },
 {
 "type": "Container",
 "height": "stretch",
 "items": [
 {
 "type": "ColumnSet",
 "columns": [
 {
 "type": "Column",
 "width": 1,
 "items": [
 {
 "type": "FactSet",
 "facts": [
 {
 "title": "MRN",
 "value": "@{outputs('Get_response_details')?['body/r160b3714b7834eef94811ef10066abc4']}"
 },
 {
 "title": "Patient Name",
 "value": "@{outputs('Get_response_details')?['body/reac7b404bda044628a5f7d8126d8a967']}"
 },
 { "title": "Language",
 "value": "@{outputs('Get_response_details')?['body/r49013c88a24746949e36cdef8ca347e6']}"
 },
 {
 "title": "DoB",
 "value": "@{outputs('DOB_Format')}"
 },
 {
 "title": "Location",
 "value": "@{variables('FinalFloor')}"
 },
 {
 "title": "Appt date:",
 "value": "@{formatDateTime(variables('startTime'), 'M/d/yy')}"
 },
 {
 "title": "Appt time:",
 "value": "@{formatDateTime(variables('startTime'), 'hh:mm tt')}"
 }
 ],
 "id": "acTerpKeys"
 }
 ]
 }
 ]
 },
 {
 "type": "ActionSet",
 "actions": [
 {
 "type": "Action.OpenUrl",
 "id": "acTerpViewButton",
 "title": "View Request on Calendar",
 "url": "@{outputs('Create_event_on_OLS_Calendar')?['body/webLink']}"
 }
 ],
 "id": "acTerpButton"
 }
 ]
 }
 ],
 "width": 50
 }
 ],
 "height": "stretch"
 }
 ],
 "msteams": {"width": "Full"},
 "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
 "version": "1.5",
 "fallbackText": "Interpreter request added to calendar. Requested by @{outputs('Get_user_profile_(V2)')?['body/displayName']} ; Email @{variables('UserEmail')}; Patient Name: @{outputs('Get_response_details')?['body/reac7b404bda044628a5f7d8126d8a967']}; MRN @{outputs('Get_response_details')?['body/r160b3714b7834eef94811ef10066abc4']}; DoB: @{outputs('DOB_Format')}; Location: @{variables('FinalFloor')}; Appt date: @{formatDateTime(variables('startTime'), 'M/d/yy')}; Appt time: @{formatDateTime(variables('startTime'), 'hh:mm tt')}; ",
 "speak": "Interpreter request added to Language Services' master calendar."
}

 

Result to Teams channel below:

microsoft ticket.jpg

 

 

 

I can't find anything else about this out there, but again, up until this morning it has been working beautifully and spanning the full width of the Teams message. Thanks for any info you can provide!

  • JR-08041906-0 Profile Picture
    5 on at
    Full-width Adaptive Cards on Teams with "msteams: "width": "Full" " no longer working as of Dec. 1, 2022
    Did you solve your problem?
     
    "msteams": {"width": "Full"} doesn't work for me. It makes a little bigger but it doesn't take the full widht.
  • TheFactorY Profile Picture
    29 on at
    Re: Full-width Adaptive Cards on Teams with "msteams: "width": "Full" " no longer working as of Dec. 1, 2022

    Same here... still looking for any sort of hint... 😞

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard