Forum Discussion

Avishek_Nand's avatar
Avishek_Nand
Copper Contributor
Jun 10, 2024

Disable "Share to Outlook" options in Microsoft teams for tenant

Hello Everyone,

 

I am looking for assistance in disabling the "Share to Outlook" option across our tenant, either through the Teams admin center or via PowerShell. Despite my efforts to search for a solution, I haven't been able to find the correct approach.

 

If anyone could provide guidance or share a method to accomplish this, it would be greatly appreciated.

Thank you in advance for your help!

2 Replies

  • LeonPavesic's avatar
    LeonPavesic
    Silver Contributor

    Hi Avishek_Nand,

    To disable the this option across your tenant in Microsoft Teams, you can use PowerShell. Here’s a brief outline of the steps:

    1. Open PowerShell as an administrator.
    2. Connect to the Teams PowerShell module by running:

     

    Connect-MicrosoftTeams

     

    • Execute the following cmdlet to disable the "Share to Outlook" add-in:

     

    Set-TeamsAppSetupPolicy -Identity Global -ShareToOutlookEnabled $false​

     

    • This command will apply the policy at the global (tenant-wide) level. If you need to target specific users or groups, you can replace Global with the appropriate identity.

    Share to Teams - Microsoft Teams | Microsoft Learn


    Please click Mark as Best Response & Like if my post helped you to solve your issue.
    This will help others to find the correct solution easily. It also closes the item.


    If the post was useful in other ways, please consider giving it Like.


    Kindest regards,


    Leon Pavesic
    (LinkedIn)
    (Twitter)

    • Avishek_Nand's avatar
      Avishek_Nand
      Copper Contributor

      LeonPavesic ,

       

      Thanks for the reply. I have tried out the approach. I do not see any settings called ShareToOutlookEnabled under the TeamsAppSetupPolicy. Please see the attached 

       

       

Resources