MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
281 stars 502 forks source link

Still no adaptive cards #1671

Closed ganlbarone closed 4 years ago

ganlbarone commented 4 years ago

Question 1: For now it looks like only legacy cards are still supported over webhooks? So no adaptive still right? Question 2: Is there any way to add in headers into the http post so that you could do something like basic auth? I have never seen an example of that, and that would make that much more usable of an example if it was included.

thanks much.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ghost commented 4 years ago

Hi ganlbarone! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out. Best regards, Teams Platform

Subhasish-msft commented 4 years ago

@ganlbarone ,

  1. Connector are designed with limited functionality so it supports only message card for now. You can add a feature suggestion here

  2. Currently there is no easy option available. If you go through the Connector documentation, you’ll see that the ‘sub’ parameter contains the Azure AD object ID of the user who took the action. You could make use of it to validate if it is from a valid user or not by calling graph API.

ganlbarone commented 4 years ago

On question 2:

I was more so hoping to attach a button to an external system. Like for example ServiceNow. Close ticket or update ticket button would send a put request or post depending. But in order for that to work the cards really need to support basic auth. I think adaptive cards do no?


Louis Barone Engineer II, Enterprise Client Support Technology Support Services

[cid:image001.png@01D62E8B.B9BBC1F0]

Office: 212.715.2055 lbarone@gannett.commailto:lbarone@gannett.com

Help Desk: 1-855-876-HELP support@gannett.commailto:support@gannett.com

gannett.comhttp://www.gannett.com/

Self-service password reset https://pwreset.gannett.comhttps://pwreset.gannett.com/

From: Subhasish notifications@github.com Sent: Wednesday, May 20, 2020 9:14 AM To: MicrosoftDocs/msteams-docs msteams-docs@noreply.github.com Cc: Barone, Lou lbarone@gannett.com; Mention mention@noreply.github.com Subject: Re: [MicrosoftDocs/msteams-docs] Still no adaptive cards (#1671)

@ganlbaronehttps://github.com/ganlbarone ,

  1. Connector are designed with limited functionality so it supports only message card for now. You can add a feature suggestion herehttps://aka.ms/microsoftteamsplatformsuggestions
  2. Currently there is no easy option available. If you go through the Connector documentationhttps://docs.microsoft.com/en-us/outlook/actionable-messages/security-requirements#verifying-that-requests-come-from-microsoft, you’ll see that the ‘sub’ parameter contains the Azure AD object ID of the user who took the action. You could make use of it to validate if it is from a valid user or not by calling graph API.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/msteams-docs/issues/1671#issuecomment-631465702, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHPHERGXXAWREGOUJLDH5BLRSPJSJANCNFSM4NFHZRCA.

Subhasish-msft commented 4 years ago

Yes, Adaptive card has the feature. But that is currently not supported for webhooks.

ganlbarone commented 4 years ago

Any comment perhaps on the last part of this, taken from the below link. I read that last part as we can expect this to come to webhooks. I have been waiting for this feature for like 2 years so slightly frustrated that we still cant really utilize them. Hopefully from the below though that this is going to change sometime in the near future.

https://techcommunity.microsoft.com/t5/microsoft-teams-blog/what-s-new-in-microsoft-teams-build-edition-2020/ba-p/1394224

More powerful Adaptive Cards for Teams

Adaptive Cards with incoming webhooks are another highly requested Teams features. Full support for Adaptive Cards, including support for bot framework cards (hero, profile, lists, and more) will be available in preview coming soon.


Louis Barone Engineer II, Enterprise Client Support Technology Support Services

[cid:image001.png@01D62E8D.361A0670]

Office: 212.715.2055 lbarone@gannett.commailto:lbarone@gannett.com

Help Desk: 1-855-876-HELP support@gannett.commailto:support@gannett.com

gannett.comhttp://www.gannett.com/

Self-service password reset https://pwreset.gannett.comhttps://pwreset.gannett.com/

From: Subhasish notifications@github.com Sent: Wednesday, May 20, 2020 9:56 AM To: MicrosoftDocs/msteams-docs msteams-docs@noreply.github.com Cc: Barone, Lou lbarone@gannett.com; Mention mention@noreply.github.com Subject: Re: [MicrosoftDocs/msteams-docs] Still no adaptive cards (#1671)

Yes, Adaptive card has the feature. But that is currently not supported for webhooks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/msteams-docs/issues/1671#issuecomment-631489478, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHPHERDIVCCBBXALGUV7MRLRSPOQDANCNFSM4NFHZRCA.

Subhasish-msft commented 4 years ago

@ganlbarone , Apology for the previous comment, Adaptive card support in Incoming webhook is currently being developed and in testing phase. It will be available in developer preview mode by CY20Q3.

ganlbarone commented 4 years ago

Awesome. I didn’t think id ever see the day but this is good. Thanks much.


Louis Barone Engineer II, Enterprise Client Support Technology Support Services

[cid:image001.png@01D62F4D.308D9260]

Office: 212.715.2055 lbarone@gannett.commailto:lbarone@gannett.com

Help Desk: 1-855-876-HELP support@gannett.commailto:support@gannett.com

gannett.comhttp://www.gannett.com/

Self-service password reset https://pwreset.gannett.comhttps://pwreset.gannett.com/

From: Subhasish notifications@github.com Sent: Thursday, May 21, 2020 8:47 AM To: MicrosoftDocs/msteams-docs msteams-docs@noreply.github.com Cc: Barone, Lou lbarone@gannett.com; Mention mention@noreply.github.com Subject: Re: [MicrosoftDocs/msteams-docs] Still no adaptive cards (#1671)

@ganlbaronehttps://github.com/ganlbarone , Apology for the previous comment, Adaptive card support in Incoming webhook is currently being developed and in testing phase. It will be available in developer preview mode by CY20Q3.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/msteams-docs/issues/1671#issuecomment-632066159, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHPHERC6INS6MMO4IDRB4TTRSUPC3ANCNFSM4NFHZRCA.