How to add domain name to External access in Teams using Graph APi

Dnyaneshwar Surywanshi 41 Reputation points
2020-08-20T12:07:02.517+00:00

I want to add domain name to External access lets your Teams and Skype for Business users communicate with other users that are outside of your organization using Graph APi

Microsoft Teams Microsoft Teams for business Other
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2020-08-20T12:58:53.573+00:00

    This is not yet possible via the Graph API afaik, use the good old Set-CsTenantFederationConfiguration cmdlet.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. JimmyYang-MSFT 58,641 Reputation points Microsoft External Staff
    2020-08-21T06:30:46.703+00:00

    Hi!

    As a supplement, you can determine if users can communicate with people from other domains and if so, which domains they are allowed to communicate with. For more details, you can learn from:

    https://learn.microsoft.com/en-us/powershell/module/skype/set-cstenantfederationconfiguration?view=skype-ps


    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Manuel Hernandez 6 Reputation points
    2022-01-20T15:23:55.993+00:00

    Hello:

    I've seen that with API Graph you can now add external domains

    https://learn.microsoft.com/en-us/graph/api/samlorwsfedexternaldomainfederation-post-domains?view=graph-rest-beta&tabs=http

    However, it seems that you still need to be Global Administrator. Is that correct or it only applies if you using delegated permission?. My intention is to add it as an application in Azure AD so it would be Application Permission.

    Regards

    0 comments No comments

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.