Forum Discussion
Getting "Unable to reach app. Please try again." while searching content from custom app in teams
Nikitha-MSFT
yes in tab and also in chat.
aniketkadwane1600 Message Extension requires a bot to process the request. You can check the documentation here https://docs.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/how-to/create-messaging-extension. You will be able to add search commands and actions commands.
- SdAggApr 05, 2023Copper Contributor
Nikitha-MSFT Hi Nikita, I have integrated a custom team app which is develop in .Net and deploy on Azure web apps and In Teams side messaging changes I provide the Microsoft App ID and Configuration URL of my Azure web app. It was working fine but when I create new Azure web app and deploy same code Microsoft App ID was not there, so I create Azure bot with enable channel for teams and provide Messaging endpoint into that bot and it's Microsoft App ID I have given in appsettings.json which is on my new Azure web app. Now on team side I have update my bot id with Microsoft App ID and add command in my Messaging extension section. it's showing me Unable to reach app. Please try again. Can you please help me on this.
- aniketkadwane1600Aug 25, 2020Copper ContributorYes it is workings and got the solution. Thank you for guidance
- alexisconiaAug 20, 2020MVP
aniketkadwane1600 I'm not sure to understand what you want to do. Based on your image, it seems that our application is working now. What do you mean by "should I use the same code with API changes and handle response for custom application". Thanks
- aniketkadwane1600Aug 18, 2020Copper Contributor
Nikitha-MSFT - I have implemented sample code for Messaging extension Search. Now I want to know for my custom application should I use the same code with API changes and handle response for custom application ?
Below is the api and image of result which I get in search:
var obj = JObject.Parse(await (new HttpClient()).GetStringAsync($"https://azuresearch-usnc.nuget.org/query?q=id:{text}&prerelease=true")); - aniketkadwane1600Aug 14, 2020Copper ContributorThank you for your response.
- Nikitha-MSFTAug 14, 2020Iron Contributor
aniketkadwane1600 - yes you need to implement the message extension search, Since teams search does not handle the tab items in your app.
- aniketkadwane1600Aug 14, 2020Copper Contributor
Nikitha-MSFT - For only search in Teams search box we need to implement messaging extension?
Please see attached image. - Nikitha-MSFTAug 13, 2020Iron Contributor
aniketkadwane1600 - Teams does not handle the tab search iteams you need to implement it in your code. Could you please try to implement bot and message extension. Could you please check this sample to implement the message extension search.
- aniketkadwane1600Aug 13, 2020Copper Contributor
alexisconia - Are sure about that ? Have you implemented in some application?
Because I do have already an angular application. should I add the code from Microsoft Document in My application or need to create separate one ?
Can you provide me any working example with proper steps I have tried above one which provided in link but need Bot registration and not able to run that Node.js project after installing dependency and gulp.
It will be helpful if you can provide proper example with proper steps.
Thank you.