Questions tagged [microsoft-teams-js]

Microsoft Client SDK for building app for Microsoft hosts

106 questions
4
votes
2 answers

Isomorphic-fetch not found on Azure Deployment for MS Teams Bot using graph API

We are creating an application on Microsoft Bot Framework for Microsoft Teams. This app uses isomorphic fetch to make graph API calls for handling user call-related API. After importing the isomorphic fetch in the app in the required file callApi.ts…
4
votes
1 answer

Adding custom domain to tabs and make it work as multi-tenant

Objective: Make the Tab multi-tenant. Scenario: There is a bot and we added a static tab as a feature. Add a feature was available in the Teams toolkit version 4.x.x. The tab is working fine after deploying to the organization. As the next step in…
3
votes
0 answers

Install URL State

I have an app that connects with several platforms: Teams, Slack, Google etc. I want to allow my users to add connections to their existing accounts: for example, if they are Slack only, allow them to connect teams into their same account on my…
michaeldever
  • 359
  • 4
  • 14
2
votes
0 answers

"ReferenceError: self is not defined" when using sinon.stub()

I would like to mock the initialize() in my test. When using the following code in typescript, it returns "ReferenceError: self is not defined". Any advice to solve this? import "mocha"; import React from "react"; import * as sinon from…
1
vote
0 answers

No access to Azure using a 365 Developer Sandbox subscription ?? (building MS Teams Bot)

First time looking at building a MS Teams app. I have a 365 Developer Sandbox and have deployed a MS Teams Bot App successfully into the sandbox - hosted locally. Im now looking to add 3rd party oAuth, and the docs point me to the Bot Services page…
Matt Bryson
  • 2,286
  • 2
  • 22
  • 42
1
vote
0 answers

M365 app can't get access token when switching tabs

I have a Teams App which isn't working in M365 web app (office.com / apps). The app has 2 tabs, with the same code as below except one is TabA the other TabB. In Teams web app if I switch between TabA & TabB I get an access token. In M365 when I…
Ian
  • 161
  • 6
1
vote
0 answers

Teams Tab app SSO error message resourceDisabled

I am working on a Teams tab application where I would like to use the built in SSO to get the user's email, name and token. I used the VS Code Teams toolkit to generate an application with SSO. I rewrote the app and just copied the part with the…
1
vote
0 answers

Microsoft Teams intermittent issue responding to a task module task/fetch in Node.js, from a Teams meeting chat adaptive card submit

We have an intermittent issue responding to a Microsoft Teams task module task/fetch in Node.js, from a Teams meeting chat adaptive card submit. In other words: when a button press ('submit') is sent from an adaptive card to the Node.js server, from…
1
vote
0 answers

Not able to navigate to tab app in dev environment in Microsoft Teams

I am working on a Microsoft teams tab app. The app has 2 tabs. The app is installed in a team. For testing i have deployed it on Edge browser using the "Preview your Teams app" action in VS Code, using the Teams Toolkit extension. What i am trying…
1
vote
1 answer

Custom activity feed notifications sent from daemon(nodejs app), not getting the data assigned to subEntityId in teams mobile client

I'm using activityFeedNotification graph api to send push notification to the users of our teams tab app from backend using nodejs. The notification is sending successfully in both teams desktop and mobile client but we're not getting the data…
1
vote
0 answers

Notification badge counter for custom web app in Microsoft Teams

I am working on a custom webApp for Microsoft Teams, I would like to manipulate the badge notification for my App. I need to add a counter like teams does for new messages or another symbol to indicate different actions in my app. Is there a way to…
1
vote
3 answers

How can I parse the JSON response from Microsoft Graph Api List Chat into the textbox

This is the code what I have tried. Based on my limited knowledge it cannot display JSON response of Microsoft.Graph API, it just appears the message box with the content of Microsoft.Graph.User. How can I parse the JsonResponse into the…
Johnny
  • 57
  • 7
0
votes
0 answers

How to deploy a Power app (canvas app) to Teams App store and make it available for all Teams users?

Hello I am an intern and brand new to Microsoft developer environments. I want to make a Microsoft Power App (canvas app) be made available on the Teams App Store and available for any Teams app user. However tutorials I've been able to find so far…
0
votes
0 answers

Microsoft Teams JS SDK initialization timed out when try to implement custom tab in Teams

We are facing an issue in the Microsoft Teams JS SDK "@microsoft/teams-js": "2.9.1" When I am running inside the team environment, I am getting this error Error: SDK initialization timed out. When I am running the app in Chrome, I am getting this…
0
votes
0 answers

authenticate.authenticate is not working in desktop app in custom tab integration

During integration of OAUTH2, authenticate.authenticate popup is not loaded with login page from google/hubspot/zoho etc. in Desktop App. We have attempted with Task Module also, results are same. With authenticate.authenticate() we could able to…
1
2 3 4 5 6 7