Teams Toolkit: Search based Message Extension not returning Adaptive-Card - azure

I kinda have an issue with the search-based Message Extension.
When I debug locally, my app works fine. After deploying the messaging extension on Azure and testing it in the Teams app, I can search for specific queries. The Message Extension gives me the desired results, up to here we are good to go.
The Problem:
After I select one of the delivered search results, the messaging extension does not return the adaptive card. The chat-box in Teams is simply empty.
Is anyone familiar with this issue?

I cannot reproduce this issue. Can you always reproduce this issue? I think you can retry several more times.
Or copy and paste the codes in bot/teamsBot.js here for troubleshooting.

Related

Logging Exceptions to Slack in Microsoft Azure

I have got a python script that checks if a web-page contains information or if it's empty. I want to make an application that runs this script, and tell me, preferably on slack, whether it worked or not. And I want this to happen every hour. I believe I can do this by using Application Insight with Azure, but I have not found an easy way to do this.
I'm entirely new to azure so any help would be appreciated, even simply links to other pages.
Edit 1
Instead of using python I instead want to try and log the exceptions I find in App insight to slack. I find these exceptions by going to app insight, then "Failures" and then "drill into operations"
Failures in App insight
These Exceptions I want to log to Slack

MS Bot Framework application throws error as "Sorry,my code is having an issue" for hosted BOT

I have one BOT application, it works well on localhost when working with the emulator.
But when the same bot is hosted on a server and when trying to chat from WEBCHAT channel with Bot it throws an error.
My BOT application is using 3 different LUIS application the these LUIS apps are not expired.
Amazing thing is that LUIS application picks right intent and shows me right PromptDialog, but on the next line "Sorry, my code is having an issue" this msg appears.
Due to which I am not able to proceed with the further conversation.
It is happening with all the functionality of the BOT.
What can be reason behind this issue?
I'd recommend to do the following:
1) Go to My Bots -> Connect to channels and click on the channel which is having an issue. The error message may shed some light on what is going on
2) Investigate the machine which hosts the application. In case of Azure enabling Diagnostic Logs may help
3) Anyway you need to introduce logging layer for your application, to make sure you'll be able to investigate further issues quickly. There are many solutions you may proceed with like NLog or log4net.
I'd say that point 3 must be a first step anyway, since you are dealing with external thing like botframework and who knows what can be changed in this black box. So logging is drastically important and prevents you or anybody else from guessing what may went wrong

Error when uploading Chrome Extension

Has anyone encountered this error when attempting to upload to the chrome store?
Package is invalid. Details: 'Could not load JavaScript 'scripts/scraper.js' for content script.'
Any direction would be appreciated,
Cheers
You may probably want to first try the suggestions in this SO post. As mentioned in the thread, Google doumentation recommends logging out and back in with the account you wan to use to publish your app or extension. Also, you might need to also accept the terms of service on the Chrome Developer dashboard.
In addition to that, I also found about a similar issue in Google Forum wherein it was mentioned that there has already been a filed bug which you can star for you to receive email updates. This is a bit old issue but, checking the thread, it hasn't been resolved yet.

Setting the record straight on google OpenID Connect for chrome extensions

I have developed a chrome extension and I would like to charge the clients a monthly subscriptions through Google App store.
After doing some research in the developer's documentation on google chrome I have tried numerous variations to make it work. Unfortunately I dont even remember every route I took because I followed outdated and - presumably - updated instructions, and I got errors all the time. Now i'm just so confused and I'm really tired to get started blindly and failing again.
The best thing would be if someone here can just set the record straight once and for all and create a file with clear and detailed instructions along with tested working code that I need to include in my files. I'll will follow those instructions closely, and if I encounter any errors along the way I'll ask it here on the discussion thread so you people can guide me through on how to overcome the errors and make this work.
Lets start from square one and take it one step at a time with your guidance!
Thanks A lot

How to create an account on Google Apps to use Google Apps Extensions Console?

I am asking this question because the information on tutorials is terribly vague for a novice. Concretely, I am trying to put up an extractor to use in Gmail Contextual App. Here is where it gets complicated. To make a Gmail Contextual App, I need to upload my app code as extractor on Google Apps Extensions Console, but I am just unable to access or know where is this page. All it say here is that
Point your browser to http://code.google.com/googleapps/console/a/yourDomainName.
Well I did exactly that, considering a project at code.google.com doesn't have any place to upload an extractor, and pointed to instead
http://code.google.com/googleapps/console/a/GodKnowsWhatTheHeckIsThis
Where GodKnowsWhatTheHeckIsThis is completly arbitrary, I was expecting some magic here that somehow I will be taken to a project that I have not even created.
Well what happened instead is: infinite recursion.
Can you please help me here? I will be terribly grateful.

Resources