Friday 24 November 2017

Connect to Outlook option greyed out

Issue : Connect to Outlook option greyed out



Checklist to resolve the issue:

      1. Connect to outlook feature is available only to these type of lists:  Calendar, Tasks, Project Tasks,         Contacts, Document Library and Discussion Boards.
 
2.       Make sure that "SharePoint Stssync Handler" is enabled in browser add-ons. (IE >> Tools >> Manage Add-ons)
 
3.       Check the client-integration option of web application settings
4.       This feature works only when you have 32-bit version of office installed in your client machine!
5.       The "Web Client" Service must be running in services console of the client machine!
6.       Try adding your SharePoint site to "Trusted sites zone", Also uncheck "Enhanced Protected Mode" for the zone.
7.       Logged user must have at least "Read" permissions to SharePoint.
8.       Prior to Service pack 1:  If your SharePoint site has Minimal Download Strategy feature enabled, Refresh the current page. You'll get connect to outlook button enabled! Disabling MDS feature is not a good idea.
9.        If you have Service pack 2: then you can disable the Minimal Download Strategy and refresh the page. You’ll get connect to outlook button enabled.

Steps to disable the MDS feature on a site collection:
·         Go to Site settings
·          Click on manage site features under Site actions.
·         Click on Deactivate button which will be next to Minimal download strategy feature
·         Then confirm disable minimal download strategy by clicking on deactivate this feature.


PowerShell to disable the MDS for entire web Application.

$webApp = Get-SPWebApplication -Identity http://C-Sharp.com
$sites =$webApp | Get-SPSite -limit all

foreach ($site in $sites)
{
$webs = $site | Get-SPweb -limit all
foreach ($web in $webs)
{
$url = $web.URL
Disable-SPFeature -Identity  "87294c72-f260-42f3-a41b-981a2ffce37a" -url $url -Confirm:$False
}

}


PowerShell to Enable the MDS for entire web Application.

$webApp = Get-SPWebApplication -Identity http://C-Sharp.com
$sites =$webApp | Get-SPSite -limit all

foreach ($site in $sites)
{
$webs = $site | Get-SPweb -limit all
foreach ($web in $webs)
    {
    $url = $web.URL
    Enable-SPFeature -Identity  "87294c72-f260-42f3-a41b-981a2ffce37a" -url $url -Confirm:$False
    }


}

Hope this helps!
Happy SharePointing :)