SOLVED

Styling HTML Message from Graph in Teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1065372%22%20slang%3D%22en-US%22%3EStyling%20HTML%20Message%20from%20Graph%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1065372%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20guidance%20or%20recommended%20CSS%20styles%20that%20can%20be%20used%20when%20posting%20HTML%20messages%20to%20Teams%20via%20the%20Graph%20API%3F%26nbsp%3B%20We%20are%20running%20into%20issues%20trying%20to%20make%20a%20message%20pleasing%20but%20also%20work%20in%20the%20different%20available%20themes%20on%20multiple%20devices.%26nbsp%3B%20We%20found%20a%20color%20scheme%20that%20worked%20for%20light%20and%20dark%20in%20the%20client%2Fbrowser%20version%20but%20it%20is%20not%20being%20respected%20in%20iOS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%2C%3C%2FP%3E%3CP%3EMary%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1065372%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECSS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGraph%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1070829%22%20slang%3D%22en-US%22%3ERe%3A%20Styling%20HTML%20Message%20from%20Graph%20in%20Teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1070829%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F17957%22%20target%3D%22_blank%22%3E%40Mary%20F%20Harvey%3C%2FA%3E%26nbsp%3Bunfortunately%20there%20is%20no%20much%20formatting%20that%20is%20supported%20in%20cards%20but%20this%20is%20something%20which%20is%20being%20worked%20on.%20There%20is%20no%20eta%20that%20can%20be%20provided.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi,

 

Is there any guidance or recommended CSS styles that can be used when posting HTML messages to Teams via the Graph API?  We are running into issues trying to make a message pleasing but also work in the different available themes on multiple devices.  We found a color scheme that worked for light and dark in the client/browser version but it is not being respected in iOS.

 

thanks,

Mary

1 Reply
Best Response confirmed by Mary F Harvey (Contributor)
Solution

@Mary F Harvey unfortunately there is no much formatting that is supported in cards but this is something which is being worked on. There is no eta that can be provided.