Teams App
10 TopicsMicrosoft Graph - List apps in chat - 404 UnknownError
In Microsoft Graph, I would like to list all Teams apps associated to an onlineMeeting (to its chat actually). According to List apps in chat - Microsoft Graph v1.0 | Microsoft Learn, this is supported with the following request : GET /chats/{chat-id}/installedApps There is a note saying that if the chat is associated with an onlineMeeting instance, then, effectively, the teamsApps installed in the meeting will be listed. That should work. However, I'm getting a 404 with UnknownError as the error.code on my end. The right permission (TeamsAppInstallation.ReadWriteForChat) is granted (Chat.ReadWrite is granted as well). Testing from Graph Explorer from now. Please note that the following is working to get chat messages with the same chat-id : GET /chats/{chat-id}/messages or the following to get chat members : GET /chats/{chat-id}/members I've tried the endpoint POST /chats/{chat-id}/installedApps to add an app to the chat as well but I'm getting the same kind of 404 (documented on Add app to chat - Microsoft Graph v1.0 | Microsoft Learn). Any advice? Thanks187Views0likes4CommentsFirewall whitelist rule/s for Teams custom app bot
I have a custom app that implements a bot in Teams, the bot url points to a server hosted within my local network. All works fine when my firewall is turned off. So my question is - what ip address needs to be whitelisted to allow the teams bot in?185Views0likes2CommentsCreating virtual Azure environment for teams toolkit VS code for teams toolkit.
Hi everyone, I am working on a project to create a teams bot app for my institute. I am using Teams Toolkit for VS code, and I have MS 365 app upload permission allocated. I was trying to create " https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-conversation-sso-quickstart/js" using Teams Toolkit. However, after debugging the app with option of 'Debug in Edge' or 'Debug in Chrome' I faced issue with devtunnel, that the devtunnel is unable to create tunnel service use 'Test Tool' Instead. I communicated same issue with my team and came to know that firewall is blocking any tunneling service in our tenant. Then, my IT Admin suggested to create a Shared Virtualized Environment in Azure in which I should develop and deploy app for testing and production. Now I am quite confused about how to do this, because teams toolkit for VS code is installed on VS code of my local device and it's debugging will happen locally, how I should create Shared Virtualized Environment in Azure for creating, debugging and deploying Teams Bot App. Your answers are highly appreciated, this is very important project for my institute.21Views0likes0CommentsTeams Tabs App - Finding the current team/site
I am currently developing a teams app that will be added to a few different teams. We are using C# / .cshtml / Razor and the app consists of a few RazorComponents which performs different Graph operations on a SharePoint site. Currently we are using a hard-coded siteId pointing to our Team-site used for testing, but now we need to find this siteId dynamically - to access the right site, depending on which team you opened the app through. We found the MicrosoftTeams.GetTeamsContextAsync() which gives us a TeamsContext object - however the Teams field is null. Is there a good way to do this that we just haven't found? Or does anyone know of a not-so-good way that might work? Or am I coming at this from the completely wrong direction?Solved685Views0likes2CommentsAdaptive Card not sending data on iOS Teams app
Hi there, I´m experiencing an issue with an Adaptive Card not sending back any user entered data to the bot through Action.Execute. The action works in the browser, the Teams desktop app and the Teams app on Android. The only one that fails is the Teams app on iOS: Version: 4.4.0 Build: 4.4.77.2022042801/0307 (general) Release Branch: 2022Feb-T2 The card contains an input field defined this way: { "type": "Input.Text", "placeholder": "Kommentar...", "isMultiline": true, "maxLength": 255, "id": "InputComment", "$when": "${$root.IsReply ==false}" } And action buttons defined this way: { "type": "ActionSet", "actions": [ { "type": "Action.Execute", "title": "Genehmigen", "verb": "approve" }, { "type": "Action.Execute", "title": "Ablehnen", "verb": "deny" } ], "$when": "${$root.IsReply == false}" } ] } In the OnInvokeActivityAsync method I'm trying to read the data from turnContext.Activity.Value.action.data.InputComment but that fails when the action was executed on iOS because then the action node doesn't contain the member 'data'. As that doesn't happen on other platforms i suspect a bug in the Teams iOS app. Is there anything I can do to mitigate this?3.4KViews0likes14CommentsTeams App with static tabs for SharePoint Communication Site
Hi All, I am using App Studio in Teams to create a Team App for my SharePoint Communication Site. I found out that there is no navigation/header/footer elements and I found out a solution which is adding ?app=portals in the Content URL. It works fine for me in mobile/desktop/web Teams at first. Recently, the navigation menu in mobile Teams is no response. When you click on the navigation menu ("三") is should expand and collapse like the below pic. And now there is no response when I click the "三". It just only happens on mobile Teams. For web/desktop teams, it is functioning normally. Anyone has faced this situation too? Any solutions for fixing this case?1.3KViews0likes2CommentsSameSite cookie problems in deskop version of Teams
Hi, I have created a Teams app, which contains static tabs (i.e. "personal" tabs). The tab content is hosted in SharePoint and uses MSAL v1.4.14 for authentication. However, I'm seeing the following "sameSite" cookie problems: Because a cookie's SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which will prevents the cookie from being set in a cross-site context in a future version of the browser. This behavior protects user data from accidentally leaking to third parties and cross-site request forgery. Resolve this issue by updating the attributes of the cookie: Specify SameSite=None and Secure if the cookie is intended to be set in cross-site contexts. Note that only cookies sent over HTTPS may use the Secure attribute. Specify SameSite=Strict or SameSite=Lax if the cookie should not be set by cross-site requests This problem only occurs in the Windows desktop version of Teams. I don't see it when I use Teams within a browser. I cannot find any information on how to fix this problem. Is it a bug in the desktop version of Teams and/or the MSAL library? I found the following: https://docs.microsoft.com/en-us/microsoftteams/platform/resources/samesite-cookie-update#samesite-cookie-attribute-2020-release but I am not sure how I can fix my problem. Here are some images of the errors I am seeing: Thanks, George5.9KViews0likes9CommentsIn-meeting-app and tabs app are not able to access mic
I am trying to build a tab and In-meeting-app leveraging web speech API that needs mic access to hear the user, but I think Teams not permitting my app to access the mic. How can get access to the mic inside my In-meeting-app and tabs app?1.6KViews0likes3CommentsForms authentication not working properly in Teams SharePoint App
I've created a simple Teams SharePoint App via AppStudio. At the SharePoint page, which is a Communication site, a couple of stream videos are included and also a Forms form. For a couple of users the forms form cannot load but looks like that: Nothing changes if the users click on "Continue". For some users the same error occurs with the Stream videos too. The forms form is approved for all company users.1.2KViews0likes3Comments