whitelist a domain for Teams online in a federated environment.

Gurudas 951 Reputation points
2022-04-26T07:50:25.777+00:00

Hello Team,

Please let me know how to whitelist a domain in a federated environment and verify the same in the MS-Teams online in Office 365 via GUI and powershell with screenshots.

My domain : contoso.com
External Domain: asdf.com

Need to have Teams chat between users belonging to these two domains.

Thank you in advance :)

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

Accepted answer
  1. Yuki Sun-MSFT 41,376 Reputation points Moderator
    2022-04-27T02:22:52.12+00:00

    Hi @GurudasSatardekar,

    Need to have Teams chat between users belonging to these two domains.

    You can configure the External Access in your organization by adding the particular domain into the Allow list via Teams Admin Center:

    1. In the Teams admin center, go to Users > External access.
    2. Under Choose which domains your users have access to, choose Allow only specific external domains.
    3. Select Allow domains.
    4. In the Domain box, type the domain that you want to allow and then click Done.
    5. Click Save:
      196745-1.jpg

    If you would like to make the change via powershell, you can connect to Teams Powershell and then run the command

    $list = New-Object Collections.Generic.List[String]  
    $list.add("asdf.com")  
    Set-CsTenantFederationConfiguration -AllowedDomainsAsAList $list  
    

    More information about managing External access in Teams, hopefully you can find the document below helpful:
    Manage external access in Microsoft Teams


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Gurudas 951 Reputation points
    2023-01-24T08:48:24.6133333+00:00

    I do appreciate @isabel and @Yuki for thier quick response. It has resolved my query. Cheers! Have a great day ahead.

    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.