Тёмный

Actionable Messages using Adaptive Cards - ultimate guide 

Tomasz Poszytek
Подписаться 4,2 тыс.
Просмотров 21 тыс.
50% 1

Learn how to build, prepare, send and receive Actionable Messages with Adaptive Cards to Outlook clients. Learn how to secure and verify responses from them. This is the ultimate guide!
Building and sending Actionable Messages in details: poszytek.eu/en/microsoft-en/o...
Securing Actionable Messages in details: poszytek.eu/en/microsoft-en/o...

Опубликовано:

 

31 авг 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@TinyMagiq
@TinyMagiq Год назад
Brilliant loved the details. Thank you
@shimaurasheed6922
@shimaurasheed6922 3 года назад
Very well explained, thank you for the guide
@TomaszPoszytek
@TomaszPoszytek 3 года назад
Thank you :)
@joseg4025
@joseg4025 2 года назад
you're the best bro thanks
@dollan1991
@dollan1991 3 года назад
Great guide!
@TomaszPoszytek
@TomaszPoszytek 3 года назад
Thank you! :)
@bmagana70
@bmagana70 3 года назад
Hi Tomas, Thanks for the video. I would like to know how do you link the variable (array) "var Items txt" to the data field in the Adaptive Card. If you can show this part of the code in the adaptive card in a MS Flow sample I would appreciate it. Thanks!
@TomaszPoszytek
@TomaszPoszytek 3 года назад
Hi, I am doing this in a loop. First create the whole structure of Adaptive Card you want to send. The columnSet is a table in the JSON structure. Then you need to contact the JSON structure for single item, populated with data and append it to var_Items_txt - this will build a final json structure. And in the end you need to merge the Adaptive Card's JSON, so part before the ColumnSet, var_Items_txt and part after ColumnSet.
@TheAsterii
@TheAsterii 3 года назад
Hi Tomasz, thanks for sharing the video! I like the idea of putting together an ultimate guide. And I really liked the part about the security considerations. There are 2 things I would like to point out: 1) Did you know we can only register 10 URLs under each provider in the Developer Dashboard? At least this happened to me recently, I was not able to save the provider profile with more than 10 URLs. I wasn´t able to find anything regarding this limitation online. Do you maybe have some further information? 2) It is possible to include an html fallback element in the card´s body. So in case the recipient does not have the correct Outlook version or uses another application all together, this html fallback body will be displayed to the user instead of the actionable message. Of course, this fallback html will not be interactive anymore. However, it lets the user know the intention behind the message. Cheers, Florian
@TomaszPoszytek
@TomaszPoszytek 3 года назад
+Florian .Zimmer thank you! So I didn't know about the limitations and sorry I don't have any more details around it. As for the fallback - you're right. I missed to mention this useful functionality. Thank you for pointing that out!
@jhonatanorabadillo5958
@jhonatanorabadillo5958 2 года назад
Hello Tomasz. Thanks for the explanation in the video tutorial. An inquiry, please. Is there a way we can capture the attributes of the mail that the adaptive card was replied to? That is, when I respond to the card, I can also capture what the subject is, the attached document (if any), the sender's email, among others. Beforehand thank you very much. Greetings,
@TomaszPoszytek
@TomaszPoszytek 2 года назад
The point is you are always sending the card together with a mail. So at the moment of sending you do have all the information you are mentioning. So either store them beforehand in some database and simply add ID of that record to the response from card or add that information as response data.
@Timaerhe
@Timaerhe 3 года назад
FYI: If you didn't change your originator yet, you forgot to hide an originator in the debugger view. Does this work for multiple users? Where the first one to validate updates the status for all recipients? (If this is even possible)
@TomaszPoszytek
@TomaszPoszytek 3 года назад
Thanks for your concerns, but this originator id works only within my tenant 😊 About your second question, I think it should be achievable somehow, but i don't know if for the scenario where flow is sending the message that could be done.
@xDmeEzZ
@xDmeEzZ 2 года назад
Hi, Do you have a video about the autoinvoke action of the actionable messages? I can't make it work
@TomaszPoszytek
@TomaszPoszytek 2 года назад
Sorry, but not.
@surajdevasthali6107
@surajdevasthali6107 Год назад
Hi Tomasz, I'm badly stuck on a flow where I need to post an adaptive card which will fetch details from sharepoint list and post in outlook for approval. Can you please make a video on this?
@TomaszPoszytek
@TomaszPoszytek Год назад
What is the most cumbersome step?
@paultobiloba8998
@paultobiloba8998 2 месяца назад
Hi Tomasz, Please help I have an issue with my http trigger flow. I'm unable to decode the second part of the jw token. The first part at index [0] decodes successfully but the second doesn't. This is the error returned on the flow: Unable to process template language expressions in action 'Decode_Auth_Bearer_Payload' inputs at line '0' and column '0': 'The template language function 'decodeBase64' was invoked with a parameter that is not valid. The value cannot be decoded from base64 representation.'.
@TomaszPoszytek
@TomaszPoszytek 2 месяца назад
Maybe try to split the whole expression into separate compose actions and check what’s being returned by each of them.
@chinmain3078
@chinmain3078 2 года назад
Thank You for the Video. I created dedicated email address for actionable message sending purpose. I register the email address in registration. When I am generating actionable email it is coming expected way, but when I tried to click approve or reject button it says Target URL not allowed. Could you please suggest me
@TomaszPoszytek
@TomaszPoszytek 2 года назад
In AM Developer Dashboard, when you are registering the provider, you need to define URLs which can be called by AM. Check if the one your message is trying to reach is in that list.
@AnonymousBlueCat
@AnonymousBlueCat Год назад
Thanks for the great video! By the way, Does it work correctly on mobile for now? I followed your instruction as same as possible, but it doesn't work on mobile devices(it works on desktop outlook, though).
@TomaszPoszytek
@TomaszPoszytek Год назад
Yes, it should work on mobile version of Outlook too. It does for me :P
@AndyFordyce
@AndyFordyce 3 года назад
Awesome guide. I have managed to get this working, however the image that I have in my my message doesn’t get displayed in Outlook. Any ideas?
@TomaszPoszytek
@TomaszPoszytek 3 года назад
+Andy Fordyce is it hosted somewhere publicly? Is it accessible from the Outlook? Try amdesigner.azurewebsites.net/ and see if it displays during the authoring and in preview. Then you can send yourself a test message.
@AndyFordyce
@AndyFordyce 3 года назад
@@TomaszPoszytek I have used another image and it now works. I’m not sure why the first attempt didn’t work as it was publicly accessible. Thanks again for the guide.
@gayathrimohanraj4961
@gayathrimohanraj4961 3 года назад
Hi, i have created adaptive card with comment box when click approve button, when submit its calling post api when the comment is in single line but its not calling the post api if the comment is mutiline. Can you please suggest me to resolve this?
@TomaszPoszytek
@TomaszPoszytek 3 года назад
Possibly the response JSON is invalid if it's multiline. You can use Actionable Messages Debugger addin for Outlook to see some details, as well try to use fiddler to check what's data is sent when user hits submit. Is it sent to target URL, but displays error, or the target URL is never called?
@gayathrimohanraj4961
@gayathrimohanraj4961 3 года назад
Hi, if there is no space in the comment means no issues, if there is a space its showing 404 error in the email.
@TomaszPoszytek
@TomaszPoszytek 3 года назад
@@gayathrimohanraj4961 you mean new line? Or really the space? If the break, maybe switch the field from multiline to singleline?
@haraldthonig2014
@haraldthonig2014 3 года назад
Hi Tomasz, thanks for this greate video. I created an adaptive card but if I send the action, I get the error "The remote enpoint returned an error (HTTP 400).Please try again later". If I post the action with Postman, it works fine. Have you any idea what the problem can be? Regards Harald
@TomaszPoszytek
@TomaszPoszytek 3 года назад
What action do you use? Where are you sending that card? Where do you send it with Postman?
@TomaszPoszytek
@TomaszPoszytek 3 года назад
And where that error appears? In flow?
@haraldthonig2014
@haraldthonig2014 3 года назад
@@TomaszPoszytek I use an http action in an adaptive card and I send it in flow to Outlook. The error appears in Oulook (Web and Desktop) if I click on the Button in Outlook. The action sends an http request to flow (When a http request received). With Postman I send the http post url, which I copied from the action "When a http request received".
@danielgil9651
@danielgil9651 Год назад
Hi tomasz, sorry I'm new to this and I'm not sure what do I have to put in target url field? Where do I find that url. Thanks in Advance.
@TomaszPoszytek
@TomaszPoszytek Год назад
It's the URL where data from the cars will be sent. In my case this is the URL of HTTP trigger in another cloud flow I built.
@danielgil9651
@danielgil9651 Год назад
@@TomaszPoszytek sorry I didn't get it, if my card is only text and has no buttons ir options to responde so I'm not capturing any data, wich url should I put? Im sending innformatiom from a shareoon list in the card, so do I have to put the Sharepoint list url?
@danielgil9651
@danielgil9651 Год назад
@@TomaszPoszytek pls help?
@danielgil9651
@danielgil9651 Год назад
@@TomaszPoszytek help me please?
@gayathrimohanraj4961
@gayathrimohanraj4961 3 года назад
Hi, i'm using Message card and i tried to send email to multiple users but failed , if sender and receiver same it works. I have added originator id as well still not working. Can you suggest me please?
@TomaszPoszytek
@TomaszPoszytek 3 года назад
You mean the Actionable Messages? Try installing Actionable Messages Debugger in Outlook and check the reason they are not displaying: appsource.microsoft.com/en-us/product/office/WA104381686
@MrJahdenk
@MrJahdenk 2 года назад
Hi Tomasz, I have got the exact same thing. The debuger does not show any errors. I am trying to send the actionable message to email adresses which could be outside MS 365. Therefor I created a provider in the Developer Dashboard with a global scope and got it approved. Now a few weeks later it still does not work. Do you have any sugestions?
Далее
Actionable Messages in Outlook
53:37
Просмотров 3,5 тыс.
Create engaging messages with Adaptive Cards
1:12:06
Просмотров 7 тыс.