microsoft-teams

How to rewrite a Adaptive Card Submit Action for MSTeams also working in Web Chat?

对着背影说爱祢 提交于 2021-01-07 02:40:00
问题 Hi i'm using adaptive Cards and want to generate a Submit Action which works in MS Teams as well as in Webchat. In Emulator this works fine. After i'm clicking the Button its like the user would type in "Test" in the chat. "actions": [ { "type": "Action.Submit", "title": "Test", "data": "Test" } This doesnt work in MS Teams. How to bring this to work? 回答1: My blog post explains that if you want to use a string submit action you will need to do it differently in Web Chat and Teams: https:/

New MicrosoftTeams.authentication.getAuthToken is not a MS Graph Bearer: token?

↘锁芯ラ 提交于 2021-01-05 12:27:06
问题 In the Single Sign-On for Teams I have the call microsoftTeams.authentication.getAuthToken(authTokenRequest); working; that is, it successfully returns a token resolving to my Azure Active Directory (AAD) successfully. All good. Surprisingly easy. JWT returns with correct audience and scopes (as I have set in my tenant's AAD) However what I get back when I decode the JWT this seems to just be an Authentication Token, not an Access Token. Looking at the sample at Task Meow/teams.auth.service

New MicrosoftTeams.authentication.getAuthToken is not a MS Graph Bearer: token?

拟墨画扇 提交于 2021-01-05 12:24:41
问题 In the Single Sign-On for Teams I have the call microsoftTeams.authentication.getAuthToken(authTokenRequest); working; that is, it successfully returns a token resolving to my Azure Active Directory (AAD) successfully. All good. Surprisingly easy. JWT returns with correct audience and scopes (as I have set in my tenant's AAD) However what I get back when I decode the JWT this seems to just be an Authentication Token, not an Access Token. Looking at the sample at Task Meow/teams.auth.service

Validating a Microsoft Graph JWT Token

十年热恋 提交于 2021-01-01 13:34:29
问题 I'm by no means an expert on MSAL/JWT/Graph authentication, but I'm hoping someone can explain this issue more clearly to me, or help me understand if there's a workaround or better approach. Essentially, there are certain scenarios where I might end up with a Microsoft Graph JWT token. Two examples I can think of easily are using the Microsoft Graph Toolkit or using Tabs SSO in Microsoft Teams. In both cases, I can get relevant identity information for the user from the JWT token I would

Validating a Microsoft Graph JWT Token

被刻印的时光 ゝ 提交于 2021-01-01 13:30:25
问题 I'm by no means an expert on MSAL/JWT/Graph authentication, but I'm hoping someone can explain this issue more clearly to me, or help me understand if there's a workaround or better approach. Essentially, there are certain scenarios where I might end up with a Microsoft Graph JWT token. Two examples I can think of easily are using the Microsoft Graph Toolkit or using Tabs SSO in Microsoft Teams. In both cases, I can get relevant identity information for the user from the JWT token I would

Validating a Microsoft Graph JWT Token

爷,独闯天下 提交于 2021-01-01 13:29:54
问题 I'm by no means an expert on MSAL/JWT/Graph authentication, but I'm hoping someone can explain this issue more clearly to me, or help me understand if there's a workaround or better approach. Essentially, there are certain scenarios where I might end up with a Microsoft Graph JWT token. Two examples I can think of easily are using the Microsoft Graph Toolkit or using Tabs SSO in Microsoft Teams. In both cases, I can get relevant identity information for the user from the JWT token I would

Teams Task Module SSO issue

北慕城南 提交于 2021-01-01 08:14:38
问题 Teams SSO is working fine in Teams Tab and task module of Messaging extension but getting below error in Teams Bot task module while fetching client token ExtensionTabService: getAuthTokenForApp: Failed with error - Definition not found Using below code to open task module in teams bot with help of hero card - https://teams.microsoft.com/l/task/${appId}?url=${modalUrl}&height=${height}&width=${width}&title=${title}` The same code is also working in the Teams Bot task module in Android Mobile

Microsoft flow adaptive card to mention teams user in teams

久未见 提交于 2020-12-30 08:35:21
问题 I'm creating a Microsoft flow to mention a user within an Adaptive card posted by the Flow bot within teams. This is the action I'm trying to use This is a simplified version of my JSON to do this { "type": "AdaptiveCard", "body": [ { "type": "Container", "items": [ { "type": "TextBlock", "size": "Medium", "weight": "Bolder", "color": "Attention", "text": "Hey!" }, { "type": "ColumnSet", "columns": [ { "type": "Column", "items": [ { "type": "TextBlock", "text": "<at>steve@example.com</at>", }

Refresh Teams Bot icon + name

拥有回忆 提交于 2020-12-16 03:46:41
问题 I updated the name + icon of my Bot Framework Bot. In Teams I don't see a way to get it updated.. I remember having to remove some cache folders in program files manually but wonder whether there's an easier way (+ bot in Teams from Web has little to do with my local cach and also that one doesnt refresh). How do I refresh my bot name + icon in Teams deskop + web? 回答1: Unfortunately, MS Teams does not provide an easy way to 'refresh' a bot icon, but it is doable. The first thing is to realize

Refresh Teams Bot icon + name

蹲街弑〆低调 提交于 2020-12-16 03:43:13
问题 I updated the name + icon of my Bot Framework Bot. In Teams I don't see a way to get it updated.. I remember having to remove some cache folders in program files manually but wonder whether there's an easier way (+ bot in Teams from Web has little to do with my local cach and also that one doesnt refresh). How do I refresh my bot name + icon in Teams deskop + web? 回答1: Unfortunately, MS Teams does not provide an easy way to 'refresh' a bot icon, but it is doable. The first thing is to realize