Forum Discussion

DMarcolo's avatar
DMarcolo
Copper Contributor
Jul 06, 2020
Solved

Generate Team/Channel link via API

Hi everyone,

I would like some help with the Microsoft API Graph - Teams product. I'm creating a new app in my Azure Directory to be able to interact with the Teams and groups that exists within this directory. I was able to create a group, some users, a team and some channels via API. I was wondering if there's any way to generate or get the channel link from any team/channel related endpoint. I saw that from the "me/joinedTeams" details there's a field named webUrl, but it's always empty for any teams I'm in. 

 

Another thing I was trying to achieve is to get some "pre-authenticated" link for a specific user, with a direct access to a joined team or a team in general. Let me explain this : 

- I'm able to authenticate my app on behalf of a user

- I'm able to refresh and renew authentication via the auth/refresh token for a given user

Now at this point, I can act as a user. But how can I generate/get some sort of deep link or authenticated deep link where anyone ( who possess this link ) can click and via this link, be logged as given/chosen user automatically, causing the load/open of the team (web/app) directly with the selected user on the proper/provided team channel?

 

Thanks

Resources