Paste messaging endpoint in Teams Toolkit - botframework

I'm trying to make my first Teams App and having a hard time following this tutorial. One issue is I can't paste anything into the bot endpoint address field. Cmd+V does nothing, and right-click doesn't work either. Is there a way around this? It's really annoying having to paste the long alphanumeric string from ngrok, especially since it changes every time. I'm using VS Code 1.55.1 with Teams Toolkit extension 1.2.2.

This is an issue with VS code itself and waiting for a fix from them. As a workaround use App Studio in Teams where you can copy/paste.

#Elliott B, In Bot endpoint address field right-Click action won't work,but ctrl+v is working absolutely fine.

Related

Microsoft Teams | Expand Tab using JS

Hi my organisation has been creating an app on microsoft teams that allows users to view glpi website inside of a teams tab. The app in itself is just a shortcut to make it easier for the users to navigate through teams.
We need to use an html file with java script in it so that the app redirects to the website in a tab as microsoft teams doesn't allow us to show external website inside of a teams app.
My question is the following : Is it possible that when as a user i click the app button and the redirection to the website tab happens, that this tab automatically expands so that it take all the space inside the teams client. I want it to trigger the "expand the tab" option. (I accept whatever solution you may find because i haven't been able to find something relevant)
This was my first post i thank you for you time and effort and for reading me, have a nice one.
(I tried my best to review this before posting but i'm not sure that i haven't made any mistakes).
I have tried a bunch of useless edits...
There doesn't seem to be any graph API available for pin an App.
We have app related graph API available for add app to team and install app to user.
Ref Doc: https://learn.microsoft.com/en-us/graph/api/team-post-installedapps?view=graph-rest-1.0&tabs=http
https://learn.microsoft.com/en-us/graph/api/userteamwork-post-installedapps?view=graph-rest-1.0&tabs=http
To redirecting your Tab in application you can use deeplink to Tab of an application.
Reference Document: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-application?tabs=teamsjs-v2#generate-a-deep-link-to-your-tab

Bot Icon Not Updating

I've updated the icon for my bot in the Azure portal about 35 hours ago, but it's still showing the old one for new messages sent from the bot. Surely it should have changed by now? Is there any issue with this currently?
It's correct in the Azure portal in the "Test in Web Chat", but Teams is still showing the old icon, even for new messages.
Update:
It's been a few days now, and the image finally changed, but now it's totally corrupted. Is there a way to see what's wrong with my PNG? Is there an issue with the bot framework/Teams of some sort? See images below:
Error:
Original Icon (I don't know if SO changes the file in any way, but presumably not)
Update: I've now modified my bot in the Azure portal to use the exact same icon as another bot which is working fine, and it's still broken, so I'm thinking there is an issue with the bot framework/Teams in some way at the moment.
What I've encountered from experience is that when updating the bot's info in "Bot App Registration" such as icon and display name.
You can either wait a couple days and see if it fixes itself.
I've consistently been able to get it to update sooner by logging in and out of Teams as well as closing it.
I have a feeling that it's related to the cache since Teams is built with Electron. Some other post mentioned this and there's no "official" surefire way to do this. Playing with the manifest also does not seem to affect it to update sooner.
TL;DR
Log in and out of Teams, close it. If using web version, clear the cache. Log back in.
Good luck!
Try reinstalling the application on Teams, sometimes it takes time.

App runs inside Teams, but not on localhost

I've been trying to figure this out for a while and docs are unclear. I have used the MS Teams Toolkit for VSCode to generate the project. My ngrok tunnels are up and I can run my tabs and bot inside the Teams Client after adding the Development.zip file.
I have simple tabs, but now I need to call APIs, debug stuff, log info and actually see it, etc.
I've put a simple console.log() in my code to test it out...
The terminal for the tabs, launching react, gives me this:
but when I go to localhost:3000/search (search is my tab name), I get this...
I did go back to the client, opened the DevTools, looked at the console... no console.log
I've also tried to add a certificate as mentionned in the docs, but when I go to https//localhost:3000 the Certificate options they mentionned arent visible.
You'd think an extension by Microsoft for Microsoft would work out of the box and be well documented... Oh man. I need to be able to debug this, interact with the bot, etc. just as you'd do with a standard React app...
Any tips? Thank you!
Use the Web Client instead. Easy access to your console from there and opens just fine.

How to develop Microsoft Teams app for "App Bar and home screen"

I would like to create an application for Microsoft Teams but I don't understand what capability I have to exploit.
I would like the application to be called up from the application bar and opened to full screen.
The same behavior that occurs for the "App Studio" application.
I need to bring something that is not accessible, either by chat or tea; the app should manage a flow in a personal window.
I looked at the manifest definition document but found nothing.
https://learn.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema
I would like to replicate the application behavior like AppStudio or Microsoft Planner, to name a few.
For example App Studio
A possible alternative, could be to insert a button in the chats and open a popup with the configuration page.
I saw this behavior for the AzureDevOps extension.
Unfortunately this also seems to be a capability not available.
Azure DevOps
Do you have any idea how to do it?
Thanks a lot
Correct solution is static tab for personal use.
Complete answer

Programmatically create tabs in MSTeams

I am trying to discover if it is possible using Powershell, Graph API or similar to create a Microsoft Teams tab (say with Pllanner or OneNote app associated with it) for every channel in a Team without needing to manually create it for every channel in a Team ?
Not yet. It's definitely on the roadmap, but we don't have a date to share publicly.
Looks like there is a beta API endpoint to add a tab to channel but it is not yet documented.
Configure the built in tab types
This is the way to do it and it is GA and not a beta endpoint anymore . Also use Graph explorer to try and test things out. Enjoy!

Resources