Microsoft Client SDK for building app for Microsoft hosts
Questions tagged [microsoft-teams-js]
106 questions
0
votes
0 answers
Teams Bot with Java SDK response to onTeamsMessagingExtensionSubmitAction with FileConsentCard from Embedded Web View
I'm calling microsoftTeams.tasks.submitTask() with some data from my Embedded Web View Task module like this:
var fsObj = {};
fsObj.name = "give me a file";
microsoftTeams.tasks.submitTask(fsObj);
This then arrives at my bot with the…

lfdevjmp
- 3
- 4
0
votes
1 answer
Not able to get geolocation IP from Teams Desktop App
I am trying to pull geolocation details using a custom application from within Teams.
Things work fine when I am logging to teams in browser but same thing dosen't work in Desktop application.
Any suggestion what is going wrong, below is the code…

user2017240
- 11
- 2
0
votes
0 answers
Node.js-Incorrect conversation creation parameters error in creating channel and teamsApp conversation
I am trying to create channel conversation using CloudAdapter.createConversationAsync() method. But getting error Incorrect conversation creation parameters. I am passing the following parameters.
const conversationParameters = {
…

shakya-abhi
- 1
- 1
0
votes
0 answers
Browser compatibility issue for tabs experience in MS Teams Client
We have tabs experience in our Teams app using Oauth SSO (authentication.authenticate() method of the TeamsJS SDK).
We have several customers using Azure AD as the OAuth IdP who are getting the following error after authentication with Teams desktop…

AdricoM
- 579
- 4
- 11
0
votes
1 answer
Why is my Microsoft Teams custom app staying in the login popup window?
I'm currently deploying my (React) web app in a Microsoft Teams custom app. More specifically, I'm trying to use Azure AD SSO to log my users. I'm using the @microsoft/teams-js package to generate a login popup window, which works just fine. But…

FE-P
- 69
- 8
0
votes
0 answers
Microsoft Teams SDK initialisation times out when personal tab is refreshed multiple times
we are using teams sdk ("@microsoft/teams-js": "2.4.2") in our project to render our website as a personal app in Microsoft Teams.
Whenever our app loads, we initialise the library using --> app.initialize()
and we set a local storage item after the…

Sanjana Gudla
- 3
- 5
0
votes
1 answer
Teams app development using toolkit vs power apps
Im looking at creating a teams app, however struggling to find the best route (or any valuable comparison). There seems to be a couple of options, Power apps and teams tool kit for visual studio.
Is there a definitive difference apart from power…

Simon
- 1,412
- 4
- 20
- 48
0
votes
0 answers
@microsoft/teams-js Mail Capability
I have a question, what is the value passed in the itemId?
interface OpenMailItemParams {
itemId: string;
}
I am trying to implement
but I…

Ashish Gautam
- 57
- 1
- 6
0
votes
1 answer
How Do You Complete Teams Notification Following OAuth Login
I have a Teams app that was working for quite some time. It was on the shelf for a while and I'm in the process of bringing it back now. However, I now get an error after redirecting to do an OAuth login. In my page that is invoked following…

Steve Peschka
- 1,015
- 11
- 25
0
votes
0 answers
Is there any way to get the domain of the user inside your Microsoft Teams app?
I'm currently trying to deploy a web app in a Microsoft Teams app (to be used in the personal scope). Currently, every client has a different URL to access its domain specific instance of the web app. Is there any way, in the Teams context probably,…

FE-P
- 69
- 8
0
votes
1 answer
Are Microsoft Teams store third party apps developed like Teams custom apps?
I'm planning on deploying my (React) web app in a Microsoft Teams app. While it's clear that you can do that for custom apps used in your domain, I don't find any information about doing this for a third party app that would be available for…

FE-P
- 69
- 8
0
votes
0 answers
Does getAuthToken work behind private endpoints?
Does microsoftTeams.authentication.getAuthToken() in the @microsoft/teams-jsnode package work when the app service is behind a private endpoint in Azure?

CrackerBarrelKid55
- 579
- 4
- 17
0
votes
0 answers
Authentication is not working for our application running in MS Teams on iOS devices
We open authentication popup via @microsoft/teams-js authentication.authenticate, so it doesn’t run in the iframe. This correctly opens a popup on all platforms where user is able to authenticate with credentials or by using one of the Identity…

ivan
- 1
- 1
0
votes
1 answer
How to send a message to a specified teams group
for (const target of await bot.notification.installations()) {
if (target.type === NotificationTargetType.Group) {
// How can I get the group I want to send messages ?
await target.sendAdaptiveCard(...);
}
}
I can get all the groups…
0
votes
2 answers
Ms Teams navigating to personal tab using deeplink
I have encountered an issue while trying to create a deep link for my Microsoft Teams tab. My tab opens a web app built with Angular, which consists of a homepage and multiple internal pages. Specifically, I am having trouble creating a link that…

Vinny P.
- 21
- 9