<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>SharePoint Search</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/sharepointsearch/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/feed.xml</link>
    <description />
    <lastBuildDate>Tue, 16 Apr 2019 06:16:24 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Searching on value of MMS column, no search result returned</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/searching-on-value-of-mms-column-no-search-result-returned</link>
      <pubDate>Wed, 14 Mar 2018 20:38:48 GMT</pubDate>
      <dc:creator><![CDATA[Shruti-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/?p=235</guid>
      <description><![CDATA[Whenever we try to run a search using the terms from our metadata column, no search result...]]></description>
      <content:encoded><![CDATA[Whenever we try to run a search using the terms from our metadata column, no search result returned.

You can try the following below to resolve the issue. There could possibly be two things going on here-
<ol>
 	<li>We need to resync the taxonomyHiddenList</li>
 	<li>Crawl account doesn't have access to the taxonomy hidden list</li>
</ol>
<strong>For the first part-</strong>

Please run below script. Change the <a href="https://youurl/">https://youurl</a> to your site collection url and we should be good to run this!

$site = Get-SPSite <a href="https://yoururl/">https://yoururl</a>

$session = Get-SPTaxonomySession -Site $site

$session.DefaultKeywordsTermStore.ResyncHiddenList($site)

$site.dispose()

<strong>For the second part-</strong>

You can access Taxonomy hidden list by browsing like this- [site url]/Lists/TaxonomyHiddenList/AllItems.aspx

Add the "Everyone" group to have read permissions to the taxonomy hidden list for the site collection.

<strong>If above two still don't resolve the issue then turn up the logging for SharePoint Search category and compare with below flow of events-</strong>

In below trace- Crawled property is- ows_taxId_TaxKeyword and it holds data like Investor,Developer,compliance for MMS column Taxkeyword

02/23/2017 13:08:57.74       mssdmn.exe (0x3C48)       0x2414       SharePoint Server Search       Connectors:SharePoint       dm0z       VerboseEx       Parsing taxonomy list item data.       96ba447d-9e85-4c1d-bb37-95f376b4c1de

02/23/2017 13:08:57.74       mssdmn.exe (0x3C48)       0x2414       SharePoint Server Search       Connectors:SharePoint       ad8ye       VerboseEx       Added tax column tagging guid value GP0|#0a7ee8c9-1255-4f93-a0fb-ef92138d5feb for property ows_taxId_TaxKeyword.       96ba447d-9e85-4c1d-bb37-95f376b4c1de

02/23/2017 13:08:57.74       mssdmn.exe (0x3C48)       0x2414       SharePoint Server Search       Connectors:SharePoint       ad8yf       VerboseEx       Added tax column tagging guid and label value L0|#00a7ee8c9-1255-4f93-a0fb-ef92138d5feb|Investor for property ows_taxId_TaxKeyword.       96ba447d-9e85-4c1d-bb37-95f376b4c1de

02/23/2017 13:08:57.74       mssdmn.exe (0x3C48)       0x2414       SharePoint Server Search       Connectors:SharePoint       ad8yg       VerboseEx       Adding tax column term set guid ancestor path value GTSet|#a09f06a3-7a7a-4ba2-af10-60f7edbc19ee for property ows_taxId_TaxKeyword.       96ba447d-9e85-4c1d-bb37-95f376b4c1de

02/23/2017 13:08:57.74       mssdmn.exe (0x3C48)       0x2414       SharePoint Server Search       Connectors:SharePoint       dm11       VerboseEx       Added tax alltags value L0|#00a7ee8c9-1255-4f93-a0fb-ef92138d5feb|Investor for property ows_TaxKeyword.       96ba447d-9e85-4c1d-bb37-95f376b4c1de

02/23/2017 13:08:57.74       mssdmn.exe (0x3C48)       0x2414       SharePoint Server Search       Connectors:SharePoint       dm12       VerboseEx       Creating path info TaxKeyword|Enterprise Keywords|hoEb9INm+UaVG37j/yVqjQ==|owafoHp6okuvEGD37bwZ7g==|#0a7ee8c9-1255-4f93-a0fb-ef92138d5feb|Investor;#TaxKeyword|Enterprise Keywords|hoEb9INm+UaVG37j/yVqjQ==|owafoHp6okuvEGD37bwZ7g==|#4a55adc9-aa20-4533-a597-27f33aa96b9c|developer;#TaxKeyword|Enterprise Keywords|hoEb9INm+UaVG37j/yVqjQ==|owafoHp6okuvEGD37bwZ7g==|#324af10d-a5ed-4d1e-a6b4-58c272d0c015|compliance;# for property ows_MetadataFacetInfo.       96ba447d-9e85-4c1d-bb37-95f376b4c1de

&nbsp;

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Orphans sites causing search to fail</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/orphans-sites-causing-search-to-fail</link>
      <pubDate>Thu, 04 Jan 2018 22:28:22 GMT</pubDate>
      <dc:creator><![CDATA[Shruti-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/?p=225</guid>
      <description><![CDATA[Search results not returned and instead throw a correlation id error with below error found in...]]></description>
      <content:encoded><![CDATA[<strong>Search results not returned and instead throw a correlation id error with below error found in ULS</strong>

&nbsp;

############  0x5304  SharePoint Server Search     Query    afpkb     Unexpected        <span class="ms-rteThemeForeColor-10-3" id="ms-rterangepaste-start"></span><span class="ms-rteThemeForeColor-10-3"><strong>Getting results failed: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.Office.Server.Search.Administration.UrlMapper.ExtractMapping(Pair`2 properties, SPSite site, IDictionary`2 urlMapping, IDictionary`2 reverseUrlMapping)</strong></span>     at Microsoft.Office.Server.Search.Administration.UrlMapper.GetNewCacheEntry(Pair`2 properties)     at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)     at Microsoft.Office.Server.Search.Administration.UrlMapper.GetUrlMapping(QueryProperties properties)     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.Execute(QueryProperties properties)     at Microsoft.Office.Server.Search.Query.Query.ExecuteQuery()     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueryInternal(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQuery(Query query)     at Microsoft.Office.Server.Search.Query.SearchExecutor.ExecuteQueries(Dictionary`2 queries, Boolean handleExceptions)     at Microsoft.Office.Server.Search.WebControls.ScriptApplicationManager.GetSyncResult(String queryGroupName)     at Microsoft.Office.Server.Search.WebControls.DataProviderScriptWebPart.GetInitialResult()               91904c9d-8187-a049-6136-3aa5f371c168

&nbsp;

This is caused due to orphan sites in Content Db/Sharepoint Config DB.

<strong>Resolution</strong>
<ol>
 	<li>First just detect orphans-</li>
</ol>
&nbsp;

$CDBs = Get-SPContentDatabase

ForEach ($CDB in $CDBs)

{

Write-Host "Detecting Orphans for " $CDB.Name

$CDB.Repair($false)

}

&nbsp;

2.  Once these have been detected go ahead and rerun the commands by setting $CDB.Repair($true) for the specific content Database only

&nbsp;

3. Also refresh the particular database in config DB by running-

&nbsp;

&nbsp;

$db = Get-SPDatabase | where {$_.Name -eq "DatabaseName"}

$db.RefreshSitesInConfigurationDatabase()]]></content:encoded>
    </item>
    <item>
      <title>Cloud SSA Onboarding script issues</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/cloud-ssa-onboarding-script-issues</link>
      <pubDate>Fri, 17 Nov 2017 22:56:47 GMT</pubDate>
      <dc:creator><![CDATA[Shruti-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/?p=206</guid>
      <description><![CDATA[Hello!

I am listing below some common errors encountered when running Onboarding script for Cloud...]]></description>
      <content:encoded><![CDATA[Hello!

I am listing below some common errors encountered when running Onboarding script for Cloud SSA and what their solution looks like-
<ol>
 	<li><strong> Error: "Could not establish trust relationship for the SSL/TLS secure channel with authority"  '</strong><a href="https://provisioningapi.microsoftonline.com/provisioningwebservice.svc"><strong>https://provisioningapi.microsoftonline.com/provisioningwebservice.svc</strong></a><strong>' " when running Onborading script </strong></li>
</ol>
We tried below poweshell to see if we can create a  new web service proxy for the provisioning web service but it failed with same error. The credentials we entered were "tenant admin for O365"  so that did not seem to be a problem.

$cred = Get-Credential

$proxy = New-WebServiceProxy -Uri 'https://provisioningapi.microsoftonline.com/ProvisioningWebService.svc?wsdl' -Credential $cred

<em>Could not establish trust relationship for the SSL/TLS secure channel with authority '</em><a href="https://provisioningapi.microsoftonline.com/provisioningwebservice.svc"><strong><em>https://provisioningapi.microsoftonline.com/provisioningwebservice.svc</em></strong></a><em>' </em>

We could browse just fine to <a href="https://provisioningapi.microsoftonline.com/provisioningwebservice.svc">https://provisioningapi.microsoftonline.com/provisioningwebservice.svc</a>  with no certificate errors

<strong>Solution:</strong>
<ol>
 	<li>Browse to <a href="https://provisioningapi.microsoftonline.com/provisioningwebservice.svc">https://provisioningapi.microsoftonline.com/provisioningwebservice.svc</a> and do view certificates and install the chain of certificates from here
<ol>
 	<li>Note: Need to ensure its entire chain is trusted</li>
</ol>
</li>
 	<li>Open up mmc console and in certificates-&gt;trusted root authorities ensure all the 3 certificates are installed. Root cert, *.microsoftonline.com and also the intermediate certificate issued to Microsoft IT SSL SHA2. Most commonly the intermediate certificate certificate is missing</li>
</ol>
&nbsp;

<strong>2. </strong> <strong>Error while Running On-Boarding script:</strong>

<em>" Failed to call PreparePushTenant  </em>

<em>Exception calling "ExecuteQuery" with "0" argument(s): "The request was</em>

<em>aborted: The request was canceled."</em>

Re-ran the Onboarding script-and this time it ran successfully. If its a first time configuration (with no crawled data), it is safe and easy to run the Onboarding script. The script handles cleaning up the earlier trust setup and re creation.  On our second run, the script ran through successfully

&nbsp;
<ol start="3">
 	<li><strong> Onboarding script issue- Getting 401 Unauthorized on PreparePushtenant </strong></li>
</ol>
<em>C:\CloudHybridSearchScripts-2016\Onboard-CloudHybridSearch.ps1 : Failed to</em>

<em>call PreparePushTenant, error was Exception calling "ExecuteQuery" with "0"</em>

<em>argument(s): "The remote server returned an error: (401) Unauthorized."</em>

<em>At line:1 char:1</em>

<em>+ .\Onboard-CloudHybridSearch.ps1 -PortalUrl</em>

<em>https://********.sharepoint.com ...</em>

<em>    + CategoryInfo          : OperationStopped: (Failed to call ... Unauthoriz</em>

<em>   ed.":String) [Write-Error], RuntimeException</em>

<em>    + FullyQualifiedErrorId : Failed to call PreparePushTenant, error was Exce</em>

<em>   ption calling "ExecuteQuery" with "0" argument(s): "The remote server retu </em>

<em>  rned an error: (401) Unauthorized.",Onboard-CloudHybridSearch.ps1  </em>

Now, for creating just cloudSSA application you need search service account but when you run the onboarding script- you need tenant global admin account

When the message <strong>Connecting to O365 </strong>appears, you will be prompted to sign in using a tenant global admin account:

Ref: <a href="https://blogs.msdn.microsoft.com/spses/2015/09/15/cloud-hybrid-search-service-application/">https://blogs.msdn.microsoft.com/spses/2015/09/15/cloud-hybrid-search-service-application/</a>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Search SSA backup is failing- SP2013</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/search-ssa-backup-is-failing-sp2013</link>
      <pubDate>Fri, 20 May 2016 19:04:00 GMT</pubDate>
      <dc:creator><![CDATA[Shruti-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/?p=195</guid>
      <description><![CDATA[Search service application backup fails when doing a backup of the service application from...]]></description>
      <content:encoded><![CDATA[<div>

Search service application backup fails when doing a backup of the service application from Central Administration

<span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt">Microsoft.Ceres.SearchCore.Services.Seeding.BackupRestoreSeedingException: Member I.0.1 was lost from cluster SPa86253565da7.1' at    at Microsoft.Ceres.SearchCore.IndexController.BackupService.ThrowOnFailure(JobStatus status)</span>

</div>
<h3 class="ms-SIfield">Cause</h3>
<div>SSA was not resumed and from analysis found crawls were resumed during backup.</div>
<h3 class="ms-SIfield">Resolution</h3>
<div><span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt"><span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt">Went through the backup log file.  </span></span>[2/15/2016 7:57:40 PM] Verbose: [.....] SQL command completed at: 2/15/2016 7:57:40 PM.

[2/15/2016 7:57:40 PM] Verbose: [IndexController] Waiting for first phase backup of index SPa86253565da7.

[2/15/2016 7:57:41 PM] Progress: [IndexController] 13 percent complete.

[2/15/2016 8:28:04 PM] Progress: [IndexController] 16 percent complete.

[2/15/2016 8:52:44 PM] Progress: [IndexController] 19 percent complete.

[2/15/2016 9:27:25 PM] Progress: [IndexController] 22 percent complete.

[2/15/2016 9:57:50 PM] Progress: [IndexController] 25 percent complete.

[2/15/2016 10:32:28 PM] Progress: [IndexController] 28 percent complete.

[2/15/2016 10:47:58 PM] Progress: [IndexController] 31 percent complete.

[2/15/2016 11:23:16 PM] Progress: [IndexController] 34 percent complete.

[2/16/2016 12:08:34 AM] Progress: [IndexController] 37 percent complete.

[2/16/2016 1:36:57 AM] Progress: [IndexController] 40 percent complete.

[2/16/2016 2:19:53 AM] Verbose: [IndexController] Aborting backup job for index SPa86253565da7.

[2/16/2016 2:19:54 AM] Verbose: [Enterprise Search] Resuming crawls and feeding.

[2/16/2016 2:19:56 AM] Verbose: [Enterprise Search] Resuming crawls and feeding completed in 0.0 minutes.

[2/16/2016 2:19:56 AM] Verbose: [Enterprise Search] Resuming master merge.

[2/16/2016 2:24:26 AM] Verbose: [Enterprise Search] Resuming master mergex completed in 4.5 minutes.

[2/16/2016 2:24:26 AM] FatalError: Object Enterprise Search failed in event OnBackup. For more information, see the spbackup.log or sprestore.log file located in the backup directory.

FaultException: Management called failed with System.InvalidOperationException: 'Job failed: Have tried to perform backup/restore operation twice on all in-sync members in cluster SPa86253565da7.1, but none succeeded. Last failure message: Microsoft.Ceres.SearchCore.Services.Seeding.BackupRestoreSeedingException: Member I.0.1 was lost from cluster SPa86253565da7.1' at    at Microsoft.Ceres.SearchCore.IndexController.BackupService.ThrowOnFailure(JobStatus status)

at Microsoft.Ceres.SearchCore.IndexController.BackupService.ProgressFirstPhase(String handle)

at Microsoft.Ceres.SearchCore.IndexController.IndexControllerManagementAgent.WrapCall[T](Func`2 original)

Clearly looks from highlighted above that crawls were resumed during backup causing failures. This is expected as the Index files will not be consistent across partitions and to avoid inconsistencies in backup the backup job just fails.

We should just manually pause the SSA through CA or powershell. The whole idea on pausing SSA is to ensure that no new changes are made to the topology/query, crawl rules/ or any data on index files in the file system as this is part of  the search configuration that we backup.

$ssa = Get-SPEnterpriseSearchServiceApplication &lt;SearchServiceApplicationName&gt;
Suspend-SPEnterpriseSearchServiceApplication -Identity $ssa

<b><span style="text-decoration: underline"><span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt">Recommendations on Backups in Sharepoint-</span></span></b>

<span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt"> </span>

<span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt">1.<span style="font: 7pt/normal 'times new roman'">       </span></span><span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt">If you are backing up search for the first time, you must use the <b>Full</b> option. You must perform a full backup before you can perform a differential backup.</span>

<span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt">The Differential option only applies to the search databases. The search index files are always fully backed up, even when you use the Differential option.  </span>

<span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt"> </span>

<span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt">2.<span style="font: 7pt/normal 'times new roman'">       </span></span><span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt">Backing up a service application does not affect the state of the farm. However, it does require resources. Therefore, backing up a service application might affect farm performance while the backup is running. You can avoid performance issues by backing up the service application during hours when farm use is lowest.</span>

<span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt"> </span>

3.  You must create a folder on the local computer or the network in which to store the backups. For better performance, we recommend that you back up to the local computer and then move the backup files to a network folder. For more information about how to create a backup folder, see <a href="https://technet.microsoft.com/en-us/library/ff806332.aspx">Prepare to back up and restore farms in SharePoint 2013</a>.

<span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt"> </span>

<span style="color: #1f4e79;font-family: 'calibri',sans-serif;font-size: 11pt">Ref: <a href="https://technet.microsoft.com/en-us/library/ee428318.aspx">https://technet.microsoft.com/en-us/library/ee428318.aspx</a></span>

</div>]]></content:encoded>
    </item>
    <item>
      <title>History of Prepare query suggestion timer job run</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/history-of-prepare-query-suggestion-timer-job-run</link>
      <pubDate>Thu, 25 Feb 2016 13:14:00 GMT</pubDate>
      <dc:creator><![CDATA[Shruti-MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/2016/02/25/history-of-prepare-query-suggestion-timer-job-run/</guid>
      <description><![CDATA[Hello All,
I was troubleshooting an issue where the Prepare Query suggestion timer job was taking a...]]></description>
      <content:encoded><![CDATA[<p><span style="line-height:107%;font-family:&#39;Calibri&#39;,sans-serif;font-size:11pt;">Hello All,<br /></span></p>
<p><span style="line-height:107%;font-family:&#39;Calibri&#39;,sans-serif;font-size:11pt;">I was troubleshooting an issue where the Prepare Query suggestion timer job was taking a long time to execute and we wanted to output the history of the job run from across all servers in the farm and see how long the timer job took to execute.</span></p>
<p><span style="line-height:107%;font-family:&#39;Calibri&#39;,sans-serif;font-size:11pt;"> Below command will give you that<br /></span></p>
<p><span style="line-height:107%;font-family:&#39;Calibri&#39;,sans-serif;font-size:11pt;">$sug=get-sptimerjob -type Microsoft.Office.Server.Search.Administration.PrepareQuerySuggestionsJobDefinition</span></p>
<p><span style="font-family:Calibri;font-size:medium;">$sug.historyentries</span></p>
<p style="margin:0in 0in 8pt;"><span style="font-family:Calibri;font-size:medium;">Below sample of just one enty- In my env I saw entries, as far back as 10 days.<br /></span></p>
<p>JobDefinitionId&nbsp;&nbsp;&nbsp; : e4807402-1e7d-4e8c-96bc-5c4969ff3404<br />JobDefinitionTitle : Prepare query suggestions<br />WebApplicationId&nbsp;&nbsp; : 00000000-0000-0000-0000-000000000000<br />WebApplicationName : <br />ServiceId&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : c1a08ff9-cffe-4534-82ef-5d140a22b736<br />ServerId&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 092e41d7-6d0e-4ad0-b8ca-20b6ff91b97f<br />ServerName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : SP<br />Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : Succeeded<br />StartTime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2/24/2016 11:32:53 PM<br />EndTime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : 2/24/2016 11:32:56 PM<br />DatabaseName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : <br />ErrorMessage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;</p>
<p></p>
<p></p>
<p><span style="line-height:107%;font-family:&#39;Calibri&#39;,sans-serif;font-size:11pt;"><span style="font-family:Times New Roman;font-size:medium;">&nbsp;</span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>DLP queries in Ediscovery-SharePoint Online</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/dlp-queries-in-ediscovery-sharepoint-online</link>
      <pubDate>Mon, 20 Jul 2015 14:13:08 GMT</pubDate>
      <dc:creator><![CDATA[allspsearch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/2015/07/20/dlp-queries-in-ediscovery-sharepoint-online/</guid>
      <description><![CDATA[SSN/ Credit Card/ Drivers License
&nbsp;
SensitiveType:&quot;Credit Card Number&quot; OR...]]></description>
      <content:encoded><![CDATA[<p><strong>SSN/ Credit Card/ Drivers License</strong></p>
<p style="margin:0in 0in 0pt;"><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p style="margin:0in 0in 0pt;"><span style="font-family:Calibri;font-size:medium;">SensitiveType:&quot;Credit Card Number&quot; OR SensitiveType:&quot;U.S. Social Security Number (SSN)&quot; OR SensitiveType:&quot;U.S. Driver&#39;s License Number&quot;</span></p>
<p><strong><span style="font-family:Times New Roman;font-size:medium;"> Criteria you need to fulfill for the sensitive type documents to be shown in ediscovery queries.</span><br /></strong></p>
<p><strong><span style="font-family:Times New Roman;font-size:medium;">&nbsp;</span></strong></p>
<p><strong><span style="font-family:Times New Roman;font-size:medium;"><span style="text-decoration:underline;">SSN:</span><br /></span></strong></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&lt;Entity id=&quot;a44669fe-0d48-453d-a9b1-2cc83f2cba77&quot; patternsProximity=&quot;300&quot; recommendedConfidence=&quot;75&quot;&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Pattern confidenceLevel=&quot;85&quot;&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IdMatch idRef=&quot;Func_ssn&quot; /&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Any minMatches=&quot;1&quot;&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Keyword_ssn&quot; /&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Func_us_date&quot; /&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Func_us_address&quot; /&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Any&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Pattern&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Pattern confidenceLevel=&quot;75&quot;&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IdMatch idRef=&quot;Func_unformatted_ssn&quot; /&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Keyword_ssn&quot; /&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Any minMatches=&quot;1&quot;&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Func_us_date&quot; /&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Func_us_address&quot; /&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Any&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Pattern&gt;</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp; &lt;/Entity&gt;</span></p>
<p></p>
<p><span style="text-decoration:underline;"><strong><span style="font-family:Calibri;font-size:medium;">&nbsp;Eg1: &nbsp;&nbsp;Formatted SSN</span></strong></span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">685-20-1398</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">and then enter either one of the following below in document</span></p>
<p></p>
<p>a. Keyword SSN</p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">b.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Valid date in format month/year eg: 09/15</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">c.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Valid US address: it should have street, apt no, city, State and zip code</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">For this one the query would look something like:</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">SensitiveType=&quot;U.S. Social Security Number (SSN) | * | 85..&quot; </span></p>
<p></p>
<p><b><span style="text-decoration:underline;"><span style="font-family:Calibri;font-size:medium;">Eg2:&nbsp; Unformatted SSN</span></span></b></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span><span style="font-family:Calibri;font-size:medium;">561 20 1309 or 561201309 </span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">Put Keyword SSN</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span><span style="font-family:Calibri;font-size:medium;">and then enter either one of the following below in document</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span>a.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Valid date in format month/year eg: 09/15</p>
<p></p>
<p>b.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Valid US address: it should have street, apt no, city, State and zip code.</p>
<p><strong><span style="font-family:Times New Roman;font-size:medium;"><span style="font-family:Times New Roman;font-size:medium;"> </span><br /></span></strong></p>
<p><strong><span style="font-family:Times New Roman;font-size:medium;"><span style="text-decoration:underline;">Credit Card:</span><br /></span></strong></p>
<p><strong><span style="font-family:Times New Roman;font-size:medium;">&nbsp;</span></strong></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&lt;Entity id=&quot;50842eb7-edc8-4019-85dd-5a5c1f2bb085&quot;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; patternsProximity=&quot;300&quot; recommendedConfidence=&quot;85&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Pattern confidenceLevel=&quot;85&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IdMatch idRef=&quot;Func_credit_card&quot; /&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Any minMatches=&quot;1&quot;&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Keyword_cc_verification&quot; /&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Keyword_cc_name&quot; /&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Func_expiration_date&quot; /&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Any&gt;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Pattern&gt;<br /> &nbsp;&nbsp;&nbsp; &lt;/Entity&gt;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><span style="text-decoration:underline;"><strong>Eg:1</strong></span><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">Note: If you put a fake 16 digit number of credit card the this is not a valid test. We have&nbsp;an </span><b><i>algorithm for verifying whether a number is a valid credit card number.&nbsp; This is why you cannot test with random or fake 16 digit numbers&mdash;you must use a properly formatted credit card number.</i></b></p>
<p><span style="font-family:Calibri;font-size:medium;"><span style="font-family:Times New Roman;font-size:medium;"> </span><span style="text-decoration:underline;"><strong><br /></strong></span></span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">**** **** **** ****</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">CC verification number: 273</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">Expiration date: 04/30/16</span></p>
<p><strong><span style="font-family:Times New Roman;font-size:medium;"><span style="font-family:Times New Roman;font-size:medium;"><span style="font-family:Times New Roman;font-size:medium;">&nbsp;</span></span></span></strong></p>
<p><span style="text-decoration:underline;"><span style="font-family:Times New Roman;font-size:medium;"><strong>Drivers License:</strong><br /></span></span></p>
<p><span style="text-decoration:underline;"><span style="font-family:Times New Roman;font-size:medium;"><strong></strong></span></span></p>
<p></p>
<p>&lt;/Pattern&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Pattern confidenceLevel=&quot;75&quot;&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IdMatch idRef=&quot;Func_washington_drivers_license_number&quot; /&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Keyword_washington_drivers_license_name&quot; /&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Keyword_us_drivers_license&quot; /&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Pattern&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Pattern confidenceLevel=&quot;65&quot;&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;IdMatch idRef=&quot;Func_washington_drivers_license_number&quot; /&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Keyword_washington_drivers_license_name&quot; /&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Keyword_us_drivers_license_abbreviations&quot; /&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Any minMatches=&quot;0&quot; maxMatches=&quot;0&quot;&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Match idRef=&quot;Keyword_us_drivers_license&quot; /&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Any&gt;</p>
<p></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Pattern&gt;</p>
<p></p>
<p><span style="text-decoration:underline;"><strong>Eg:1 (* indicates the actual Driver License number)</strong></span></p>
<p><span style="text-decoration:underline;"><strong></strong></span></p>
<p><span style="font-family:Times New Roman;font-size:medium;"><span style="font-family:Times New Roman;font-size:medium;">************</span></span></p>
<p><span style="font-size:medium;"><span style="font-family:Times New Roman;"><span style="color:#003366;">Washington</span> Drivers license number (Replace with your state name)</span></span></p>
<p>&nbsp;</p>
<p><span style="text-decoration:underline;"><strong>&nbsp;Eg:2</strong></span></p>
<p><i>&nbsp;</i>&nbsp;</p>
<p><span style="font-family:Times New Roman;font-size:medium;">************</span></p>
<p><span style="font-size:medium;"><span style="font-family:Times New Roman;">State: <span style="color:#003366;">WA</span> (Replace with your state name or initials)</span></span></p>
<p><span style="text-decoration:underline;"><strong><span style="font-family:Times New Roman;font-size:medium;"> </span><br /></strong></span></p>
<p><span style="text-decoration:underline;"><span style="font-family:Times New Roman;font-size:medium;"><strong><span style="font-family:Times New Roman;font-size:medium;"> </span><br /></strong></span></span></p>
<p><span style="text-decoration:underline;"><span style="font-family:Times New Roman;font-size:medium;"><strong></strong></span></span></p>
<p><strong><span style="font-family:Times New Roman;font-size:medium;">&nbsp;</span></strong></p>
<p><strong>&nbsp;</strong></p>
<p><strong>&nbsp;</strong></p>
<p></p>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Most Popular Items and Popularity Trends options missing for Lists -SharePoint Online</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/most-popular-items-and-popularity-trends-options-missing-for-lists-sharepoint-online</link>
      <pubDate>Mon, 20 Jul 2015 13:42:57 GMT</pubDate>
      <dc:creator><![CDATA[allspsearch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/2015/07/20/most-popular-items-and-popularity-trends-options-missing-for-lists-sharepoint-online/</guid>
      <description><![CDATA[Most Popular Items and Popularity Trends options missing for Lists in SharePoint online...]]></description>
      <content:encoded><![CDATA[<p style="margin:0in 0in 0pt;"><span style="color:#1f497d;"><span style="font-family:Calibri;font-size:medium;">Most Popular Items and Popularity Trends options missing for Lists in SharePoint online site.</span></span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#1f497d;"><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#1f497d;"><span style="font-family:Calibri;font-size:medium;"><span style="text-decoration:underline;"><strong>Solution:</strong></span><br /></span></span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#1f497d;"><span style="font-family:Calibri;font-size:medium;"><span style="text-decoration:underline;"><strong></strong></span></span></span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#1f497d;"><span style="font-family:Calibri;font-size:medium;">In order to see &ldquo;Most popular Items&rdquo; option for list enable the Cross Site publishing feature by going to Site settings-&gt; Site collection features. Once you enable this you will be able to see the option</span></span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#1f497d;"><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>File Name is blank for Excel files on File share-SharePoint 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/file-name-is-blank-for-excel-files-on-file-share-sharepoint-2013</link>
      <pubDate>Mon, 20 Jul 2015 13:29:00 GMT</pubDate>
      <dc:creator><![CDATA[allspsearch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/2015/07/20/file-name-is-blank-for-excel-files-on-file-share-sharepoint-2013/</guid>
      <description><![CDATA[I recently worked on an issue where Excel files on File share were getting crawled just fine....]]></description>
      <content:encoded><![CDATA[<p><span style="color:#000000;">I recently worked on an issue where Excel files on File share were getting crawled just fine. However if you search on their filename you will see the result pulled up however the Filename is blank in the search result.</span></p>
<p><span style="color:#000000;">Note: this happens for fie which have their metadata &quot;title&quot; with no value. i.e&nbsp;Within the file if we go to file-&gt;prepare-&gt;Properties. Keep the title value empty. </span></p>
<p><span style="color:#000000;">&nbsp;<strong>Two workaround that I found are:</strong></span></p>
<p><span style="color:#000000;font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;">1. Manually add value to the title field of the file and then run a crawl</span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#000000;font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;">2. Put basic:10 at top of mapping to MP &ldquo;title&rdquo; and then run full crawl</span></p>
<p><span style="color:#000000;text-decoration:underline;"><strong>Permanent solution:</strong></span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#000000;font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;">&nbsp;The fix&nbsp;is now a &nbsp;part of the July CU also mentioned in the KB:</span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#000000;font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;">&nbsp;</span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#000000;font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;"><a href="https://support.microsoft.com/en-us/kb/3054926"><span style="color:#000000;">https://support.microsoft.com/en-us/kb/3054926</span></a></span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#000000;font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;">&nbsp;</span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#000000;"><b><span style="font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;">When you crawl a file (.xlsx or .xlsm) that is created by Microsoft Excel 2007 or a later version of Excel on a file share, the file name appears in blank on the search result page.</span></b></span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#000000;font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;">&nbsp;</span></p>
<p style="margin:0in 0in 0pt;"><span style="background:yellow;color:#000000;font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;"><span style="background-color:#ffffff;">The link for downloading the CU is <strong><a href="https://support.microsoft.com/en-us/kb/3054937"><span style="color:#000000;background-color:#ffffff;">https://support.microsoft.com/en-us/kb/3054937</span></a></strong></span></span></p>
<p style="margin:0in 0in 0pt;"><span style="color:#1f4e79;font-family:&#39;Calibri&#39;,&#39;sans-serif&#39;;font-size:11pt;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Usage reports in Consuming farm not populating-SharePoint 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/usage-reports-in-consuming-farm-not-populating-sharepoint-2013</link>
      <pubDate>Mon, 20 Jul 2015 13:17:00 GMT</pubDate>
      <dc:creator><![CDATA[allspsearch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/2015/07/20/usage-reports-in-consuming-farm-not-populating-sharepoint-2013/</guid>
      <description><![CDATA[Worked an issue few months ago where we have a consuming publishing farm scenario. Usage reports...]]></description>
      <content:encoded><![CDATA[<p>Worked an issue few months ago where we have a consuming publishing farm scenario. Usage reports have no data in them. Many thanks to Anthony for helping figure this out!</p>
<p>On the Search farm (APC server) Sharepoint logs showed below:</p>
<p>03/11/2015 13:50:55.90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OWSTIMER.EXE (******:0x28E0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0x44E4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SharePoint Server Search&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Analytics&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;agmik&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;High&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;AnalyticsDataFilter: SPRequestUsageEntry filtered out because tenant settings could not be loaded.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>On the Content farm using Sharepoint timer Account we queried the SSA proxy for the analytics tenant settings&nbsp;and we got&ndash; Access Denied</p>
<p><strong>$ssaproxy.getRawAnayticsTenantSettings([GUID]::Empty)&nbsp; ( Where $ssaproxy=get-spenterprisesearchserviceapplicationproxy)</strong></p>
<p><span style="color:#ff0000;">Exception calling &quot;getRawAnayticsTenantSettings&quot;with &quot;1&quot; argument(s):&quot;Access is denied&quot;</span></p>
<p>(Also note above that GetRawAnayticsTenantSettings is not a typo)</p>
<p>Looking at the logs:</p>
<p>04/17/2015 15:37:37.75&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PowerShell.exe (0x2FEC)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x35F0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SharePoint Server Search&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Query&nbsp;&nbsp; dka5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; High&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SearchServiceApplicationProxy::GetRawAnayticsTenantSettings--Error occured: System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.&nbsp;&nbsp;&nbsp; Server stack trace:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter) &nbsp;&nbsp;&nbsp;&nbsp;at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)&nbsp;&nbsp;&nbsp; Exception rethrown at [0]:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)&nbsp;&nbsp;&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)&nbsp;&nbsp;&nbsp;&nbsp; at Microsoft.Office.Server.Search.Analytics.IAnalyticsServiceApplication.GetRawAnayticsTenantSettings(Guid tenantId)&nbsp;&nbsp;&nbsp;&nbsp; at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.&lt;&gt;c__DisplayClass2ea.&lt;GetRawAnayticsTenantSettings&gt;b__2e9(ISearchServiceApplication serviceApplication)&nbsp;&nbsp;&nbsp;&nbsp; at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 01f12c40-f800-0000-5d5f-d685055fd001</p>
<p>So it looked like some sort of permissions were missing.&nbsp;&nbsp;</p>
<p style="margin:0in;color:#1f497d;font-family:Calibri;font-size:11pt;">Turns out Missing claimID of the consuming farm was the issue here</p>
<p><a href="https://technet.microsoft.com/en-us/library/ff700211.aspx"><span style="font-weight:bold;text-decoration:underline;">https://technet.microsoft.com/en-us/library/ff700211.aspx</span></a></p>
<p>Next ran below powershell to register FarmID as a claimType.</p>
<p style="margin:0in;color:#1f497d;font-family:Calibri;font-size:11pt;"><strong>&nbsp;Ran below in publishing farm:</strong></p>
<p style="margin:0in;color:#1f497d;font-family:&#39;Times New Roman&#39;;font-size:12pt;"><strong>&nbsp;</strong></p>
<p style="font-family:&#39;Segoe UI&#39;;margin-top:2pt;margin-bottom:2pt;"><span style="background:white;font-size:10pt;">&nbsp;</span><span style="background:white;color:orangered;font-size:9.5pt;">$security</span><span style="background:white;font-size:9.5pt;"> </span><span style="background:white;color:#979797;font-size:9.5pt;">=</span><span style="background:white;font-size:9.5pt;"> </span><span style="background:white;color:blue;font-size:9.5pt;">Get-SPServiceApplication</span><span style="background:white;font-size:9.5pt;"> </span><span style="background:white;color:#000000;font-size:9.5pt;">SSAGUID</span><span style="background:white;color:#979797;font-size:9.5pt;">|</span><span style="background:white;font-size:9.5pt;"> </span><span style="background:white;color:blue;font-size:9.5pt;">Get-SPServiceApplicationSecurity</span></p>
<p style="font-family:&#39;Segoe UI&#39;;font-size:9.5pt;margin-top:2pt;margin-bottom:2pt;"><span style="background:white;color:orangered;">$claimprovider</span><span style="background:white;color:#979797;">=</span><span style="background:white;">(</span><span style="background:white;color:blue;">Get-SPClaimProvider</span><span style="background:white;"> </span><span style="background:white;color:blueviolet;">System</span><span style="background:white;">)</span><span style="background:white;color:#979797;">.</span><span style="background:white;">ClaimProvider</span></p>
<p style="font-family:&#39;Segoe UI&#39;;font-size:9.5pt;margin-top:2pt;margin-bottom:2pt;"><span style="background:white;color:orangered;">$principal</span><span style="background:white;color:#979797;">=</span><span style="background:white;color:blue;">New-SPClaimsPrincipal</span><span style="background:white;"> </span><span style="background:white;color:navy;">-ClaimType</span><span style="background:white;"> </span><span style="background:white;color:darkred;">&quot;</span><a href="https://schemas.microsoft.com/sharepoint/2009/08/claims/farmid"><span style="background:white;">https://schemas.microsoft.com/sharepoint/2009/08/claims/farmid</span></a><span style="background:white;color:darkred;">&quot;</span><span style="background:white;"> </span><span style="background:white;color:navy;">-ClaimProvider</span><span style="background:white;"> </span><span style="background:white;color:orangered;">$claimprovider</span><span style="background:white;"> </span><span style="background:white;color:navy;">-ClaimValue</span><span style="background:white;"> </span><span style="background:white;color:darkred;">&quot;consumingfarmid&quot;</span></p>
<p style="font-family:&#39;Segoe UI&#39;;font-size:9.5pt;margin-top:2pt;margin-bottom:2pt;"><span style="background:white;color:blue;">Grant-SPObjectSecurity</span><span style="background:white;"> </span><span style="background:white;color:navy;">-Identity</span><span style="background:white;"> </span><span style="background:white;color:orangered;">$security</span><span style="background:white;"> </span><span style="background:white;color:navy;">-Principal</span><span style="background:white;"> </span><span style="background:white;color:orangered;">$principal</span><span style="background:white;"> </span><span style="background:white;color:navy;">-Rights</span><span style="background:white;"> </span><span style="background:white;color:darkred;">&quot;Full Control&quot;</span></p>
<p style="font-family:&#39;Segoe UI&#39;;font-size:9.5pt;margin-top:2pt;margin-bottom:2pt;"><span style="background:white;color:blue;">Set-SPServiceApplicationSecurity</span><span style="background:white;">&nbsp;SSAGUID</span><span style="background:white;">&nbsp; </span><span style="background:white;color:navy;">-ObjectSecurity</span><span style="background:white;"> </span><span style="background:white;color:orangered;">$security </span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><span style="font-style:italic;">&nbsp;</span></p>
<p style="margin:0in;font-family:Calibri;font-size:11pt;"><span style="font-style:italic;">Consumingfarmid</span> is the GUID value of the consuming farm which you can get by running <strong>Get-SPFarm | Select Id</strong></p>
<p><strong>Run below command on&nbsp;content farm using the SP timer account: No access denied anymore.</strong></p>
<p><strong>$ssaproxy.getRawAnayticsTenantSettings([GUID]::Empty)&nbsp;</strong> ( Where $ssaproxy=get-spenterprisesearchserviceapplicationproxy)</p>
<p>Waited for a day and next day the Usage reports showed us data.</p>
<p></p>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Exchange connector for SharePoint 2013 : Error comes up when performing a full crawl: "Error while crawling LOB contents"</title>
      <link>https://docs.microsoft.com/archive/blogs/sharepointsearch/exchange-connector-for-sharepoint-2013-error-comes-up-when-performing-a-full-crawl-error-while-crawling-lob-contents</link>
      <pubDate>Mon, 20 Jul 2015 11:19:00 GMT</pubDate>
      <dc:creator><![CDATA[allspsearch]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/sharepointsearch/2015/07/20/exchange-connector-for-sharepoint-2013-error-comes-up-when-performing-a-full-crawl-error-while-crawling-lob-contents/</guid>
      <description><![CDATA[Few months ago worked on an issue where we were unable to crawl the Exchange Source. Crawl log...]]></description>
      <content:encoded><![CDATA[<p>Few months ago worked on an issue where we were unable to crawl the Exchange Source. Crawl log showed &quot;Error while crawling LOB contents&quot;</p>
<p>SP logs showed:</p>
<p>Errorinfo is &quot;Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - Exception has been thrown by the target of an invocation..: System.InvalidOperationException An internal server error occurred. Try again later.&quot;&nbsp; [fltrsink.cxx:566]&nbsp; search\native\mssdmn\fltrsink.cxx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>Now the reason that the BDC Exception is seen here is because SharePoint 2013 used the BCS Connector Framework when crawling external data such as Exchange/ Lotus etc</p>
<p>The above error happened because the crawler account was getting throttled on Exchange server. I worked with our&nbsp;Exchange engineer and below solution resolved our issue and we were able to crawl the Exchange content source successfully.</p>
<p>Here is event ID 9646 log from Exchange server:</p>
<p>Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application<br />Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MSExchange<br />Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2/13/2015 10:36:29 AM<br />Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9646<br />Task Category: General<br />Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error<br />Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Classic<br />User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A<br />Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; *******<br />Description:<br />Mapi session &quot;8bcd2046-e644-4403-ae56-7be1c62e1e07: /o=J*****/ou=Exchange Administrative Group (******)/cn=Recipients/cn=SPSvcs service23a&quot; exceeded the maximum of 250 objects of type &quot;objtMessage&quot;.</p>
<p><span style="text-decoration:underline;"><strong>&nbsp;</strong></span></p>
<p><span style="text-decoration:underline;"><strong>Resolution Steps:</strong></span></p>
<p></p>
<p>New-ThrottlingPolicy SharePoint&nbsp; //this creates a new Throttling Policy called &ldquo;SharePoint&rdquo;;<br />&nbsp;<br />&bull; Type : Set-ThrottlingPolicy SharePoint -RCAMaxConcurrency $NULL -RCAPercentTimeInCAS $NULL -RCAPercentTimeInMailboxRPC $NULL -RCAPercentTimeInAD $NULL -EWSMaxConcurrency $NULL -EWSPercentTimeInAD $NULL -EWSPercentTimeinCAS $NULL -EWSPercentTimeInMailboxRPC $NULL -EWSMaxSubscriptions $NULL -EWSFastSearchTimeoutInSeconds $NULL -EWSFindCountLimit $NULL<br />&nbsp;<br />&bull; To confirm that all required settings have been set correctly please type: Get-ThrottlingPolicy SharePoint<br />&nbsp;<br />&bull; These items should now be blank: <br />&nbsp;<br />CPAMaxConcurrency (Exchange 2010 SP1) <br />CPAPercentTimeInCAS (Exchange 2010 SP1) <br />CPAPercentTimeInMailboxRPC (Exchange 2010 SP1) <br />EWSMaxConcurrency <br />EWSPercentTimeInAD <br />EWSPercentTimeInCAS <br />EWSPercentTimeInMailboxRPC <br />EWSMaxSubscriptions <br />EWSFastSearchTimeoutInSeconds <br />EWSFindCountLimit <br />RCAMaxConcurrency <br />RCAPercentTimeInAD <br />RCAPercentTimeInCAS <br />RCAPercentTimeInMailboxRPC <br />&nbsp;<br />To assign the Throttling Policy to the Default Access Account of SharePoint:<br />&nbsp;<br />Set-Mailbox &lt;Domain&gt;\&lt;UserName-DefaultContentAccessAccount&gt; -ThrottlingPolicy SharePoint</p>
<p>&nbsp;<br />Increase the number of allowed concurrent objects per session on the Exchange Server(s)</p>
<p><br />&bull; Browse to the following registry key:&nbsp;&nbsp; HKLM\System\CurrentControlSet\Services\MSExchangeIS\ParametersSystem\<br />&bull;&nbsp; Create a New Key called &quot;MaxObjsPerMapiSession&quot; ;<br />&bull; Create a new Dword (32-bit) value objtFolder and set the value to 1000 ;<br />&bull; Create a new Dword (32-bit) value objtMessage and set the value to 500;<br />&bull; Restart the Exchange server after failing over the mailbox databases.</p>
<p></p>
<p>Note: I would recommend that you run these changes with your Exchange server Admin too to monitor any performance impact.</p>
<p></p>]]></content:encoded>
    </item>
  </channel>
</rss>