web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Full-width Adaptive Ca...
Power Automate
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!

Categories:
I have the same question (1)
  • TheFactorY Profile Picture
    29 on at

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

  • JR-08041906-0 Profile Picture
    5 on at
    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard