Is there any way to get the domain of the user inside your Microsoft Teams app?

Cov_Pr 0 Reputation points
2023-03-22T12:56:42.7+00:00

Hi everyone,

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, to get the domain (name, id...) of the user to redirect him to the proper URL ? Right now, I only see a teamId. But I doubt it can help me here.

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,186 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.