<?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 Support Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/spblog/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/spblog/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:27:12 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>People Picker doesn’t resolve users and groups from Azure Active Directory (AAD) / Grant access to SharePoint 2013 sites using AAD groups</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/people-picker-doesnt-resolve-users-and-groups-from-azure-active-directory-aad-grant-access-to-sharepoint-2013-sites-using-aad-groups</link>
      <pubDate>Tue, 07 Oct 2014 06:39:00 GMT</pubDate>
      <dc:creator><![CDATA[Radu Narita]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2014/10/07/people-picker-doesnt-resolve-users-and-groups-from-azure-active-directory-aad-grant-access-to-sharepoint-2013-sites-using-aad-groups/</guid>
      <description><![CDATA[This post talks about how to grant permissions to SharePoint 2013 sites based on AAD groups and why...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: arial,helvetica,sans-serif;"><em>This post talks about how to grant permissions to SharePoint 2013 sites based on AAD groups and why the out-of-the-box people picker functionality doesn&rsquo;t resolve users and groups from Windows Azure Active Directory</em></span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">You can integrate SharePoint with Windows Azure Active Directory (<a href="https://technet.microsoft.com/en-us/library/dn635311(v=office.15).aspx">https://technet.microsoft.com/en-us/library/dn635311(v=office.15).aspx</a>) to grant access to users from AAD to SharePoint 2013 sites.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Now what happens if you want to grant access to the AAD users using AAD groups? &hellip;the security groups will not be resolved in SharePoint. In fact, in the people picker control, you get results for any search string entered, but SharePoint does not validate the user input. Any input is validated as is against each claim type configured (whatever the user types). This is not specific to AAD, or AAD groups.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">AAD group:</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/3250.azuregroup1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/3250.azuregroup1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/3250.azuregroup1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/3250.azuregroup1.png" alt="" width="378" height="142" border="0" /></a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">People Picker Control:</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/4578.peoplepicker.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/4578.peoplepicker.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/4578.peoplepicker.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/4578.peoplepicker.png" alt="" width="375" height="313" border="0" /></a></span></p>
<h2><span style="font-family: arial,helvetica,sans-serif;">Why can we not grant permissions in SharePoint 2013 sites to groups from Azure Active Directory (AAD)?</span></h2>
<p><span style="font-family: arial,helvetica,sans-serif;">There is a good reason behind it. When a user authenticates, AAD does not include his group membership in the SAML token received by SharePoint, so SharePoint does not know to which groups the user belongs to, thus cannot make authorizations based on groups.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Ok ok.. so now that we know the reason behind it,</span></p>
<h2><span style="font-family: arial,helvetica,sans-serif;">How do we make it work?</span></h2>
<p><span style="font-family: arial,helvetica,sans-serif;">We have to implement a custom claims provider ( <a href="https://msdn.microsoft.com/en-us/library/office/ee535894(v=office.15).aspx">https://msdn.microsoft.com/en-us/library/office/ee535894(v=office.15).aspx</a>&nbsp;) that will get the AAD groups of the user and add them to his SAML token, which will allow SharePoint to process authorization on groups.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Another benefit of using a custom claims provider is that it adds search capabilities to the people picker, so when a user uses people picker to grant a permission, he gets actual users and groups from AAD.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/8407.peoplepickersearch.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/8407.peoplepickersearch.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/8407.peoplepickersearch.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/8407.peoplepickersearch.png" alt="" width="290" height="138" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif;">Project <a href="https://azurecp.codeplex.com">https://azurecp.codeplex.com</a>&nbsp;implements what I describe above. Credits to the <a href="https://www.codeplex.com/site/users/view/yvand">developer of the project</a>&nbsp;who supported me also in writing this blog article!&nbsp;</span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Configure a SharePoint 2013 Web Application with Forms Based Authentication with a LDAP membership provider</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/configure-a-sharepoint-2013-web-application-with-forms-based-authentication-with-a-ldap-membership-provider</link>
      <pubDate>Fri, 26 Sep 2014 07:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Radu Narita]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2014/09/26/configure-a-sharepoint-2013-web-application-with-forms-based-authentication-with-a-ldap-membership-provider/</guid>
      <description><![CDATA[This blog article provides a step-by-step guide with screenshots on how to configure a new Web...]]></description>
      <content:encoded><![CDATA[<p class="WordSection1"><em><span lang="EN">This blog article provides a step-by-step guide with screenshots on how to configure a new Web Application with Forms Based Authentication (FBA) using a LDAP membership provider. While the steps are described in TechNet article </span><a href="https://technet.microsoft.com/en-us/library/ee806890%28v=office.15%29.aspx">https://technet.microsoft.com/en-us/library/ee806890%28v=office.15%29.aspx</a> , when it comes to put them in practice you might stumble across difficulties, where this blog comes to your assistance <span style="font-family: Wingdings;">J</span> Enjoy!</em></p>
<p class="WordSection1"><strong><span style="font-family: arial,helvetica,sans-serif;">Summary</span>:</strong></p>
<p style="padding-left: 30px;">1.&nbsp;Create a new user in Active Directory.</p>
<p style="padding-left: 30px;">2.&nbsp;Create a new Web Application in Central Administration that uses forms-based authentication.</p>
<p style="padding-left: 30px;">3.&nbsp;Configure the web.config files.</p>
<p style="padding-left: 30px;">4.&nbsp;Create a new site collection for the new created Web Application and add the FBA user as site collection administrator.</p>
<p style="padding-left: 30px;">5.&nbsp;Browse to the new created site and test the functionality.</p>
<h3 style="text-indent: -18pt; margin-left: 18pt;"><span lang="DE">1.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="DE">Create a new user in Active Directory</span></h3>
<p>I named the user &lsquo;fbaadmin&rsquo; and placed it in an organization unit called FBA&rsquo;.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/8508.image001.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/8508.image001.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/8508.image001.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/8508.image001.png" alt="" width="171" height="125" border="0" /></a>&nbsp;</p>
<h3 style="text-indent: -18pt; margin-left: 18pt;"><span lang="DE">2.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="DE">Create a new Web Application in Central Administration that uses forms-based authentication.</span></h3>
<p>a. Browse to Central Administration &gt; Application Management &gt; Manage Web Applications and click &lsquo;New&rsquo;.</p>
<p>b.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span>Type in a port number (e.g. 1100) and check the boxes next to &ldquo;Enabled Windows Authentication | Integrated Windows authentication | NTLM&rdquo; and &ldquo;Enabled Forms Based Authentication (FBA)&rdquo;.</p>
<p>c.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span>Type in a name for the &ldquo;ASP.NET Membership provider name&rdquo; (I named it &lsquo;membership&rsquo;) and for the &ldquo;ASP.NET Role manager name&rdquo; (I named it &lsquo;rolemanager&rsquo;).</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2248.image002.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2248.image002.png" alt="" width="155" height="177" border="0" /></p>
<p>d.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span>Click OK to create the Web Application.&nbsp;</p>
<h3 style="text-indent: -18pt; margin-left: 18pt;"><span lang="DE">3.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="DE">Configure the web.config files for:</span></h3>
<p><span style="font-family: Wingdings;">&Oslash;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp; </span></span>Central Administration</p>
<p><span style="font-family: Wingdings;">&Oslash;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp; </span></span>Security Token Service</p>
<p><span style="font-family: Wingdings;">&Oslash;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp; </span></span>The new Web Application created</p>
<h4 class="MsoNormal">a.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span><span lang="EN">To configure the Central Administration web.config file</span></h4>
<p>i.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span><span lang="EN">Open IIS Manager via Start &gt; Run &gt; inetmgr.</span></p>
<p>ii.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span><span lang="EN">In the console tree, open the server name, and then <strong><span style="font-family: 'Calibri','sans-serif'; font-weight: normal;">Sites</span></strong>.</span></p>
<p>iii.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span><span lang="EN">Right-click the <strong><span style="font-family: 'Calibri','sans-serif'; font-weight: normal;">SharePoint Central Administration v4</span></strong> site, and then click <strong><span style="font-family: 'Calibri','sans-serif'; font-weight: normal;">Explore</span></strong>.</span></p>
<p>iv.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span><span lang="EN">In the folder window, double-click the web.config file.</span></p>
<p>v.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;</span><span lang="EN">In the </span><code><span style="font-size: 10pt;" lang="EN">&lt;Configuration&gt;</span></code><span lang="EN"> section, find the </span><code><span style="font-size: 10pt;" lang="EN">&lt;system.web&gt;</span></code><span lang="EN"> section and add the following example entry</span>&nbsp;</p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;membership defaultProvider="AspNetSqlMembershipProvider"&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;providers&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add name="<span style="background-color: #00ff00;">membership</span>"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"</span><br /><span style="color: #ff0000; font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server<span style="color: #000000;">="<span style="background-color: #ffff00;">contosodc.contoso.com</span>"</span></span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port="389"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; useSSL="false"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userDNAttribute="distinguishedName"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userNameAttribute="sAMAccountName"</span><br /><span style="font-family: courier new,courier;"><span style="color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userContainer</span>="<span style="background-color: #ffff00;">OU=FBA,DC=contoso,DC=com</span>"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userObjectClass="person"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userFilter="(ObjectClass=person)"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scope="Subtree"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; otherRequiredUserAttributes="sn,givenname,cn" /&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/providers&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;/membership&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider" &gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;providers&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add name="<span style="background-color: #00ff00;">roleManager</span>"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="Microsoft.Office.Server.Security.LdapRoleProvider, Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"</span><br /><span style="font-family: courier new,courier;"><span style="color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server</span>="<span style="background-color: #ffff00;">contosodc.contoso.com</span>"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port="389"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; useSSL="false"</span><br /><span style="font-family: courier new,courier;"><span style="color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupContainer</span>="<span style="background-color: #ffff00;">DC=contoso,DC=com</span>"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupNameAttribute="cn"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupNameAlternateSearchAttribute="samAccountName"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupMemberAttribute="member"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userNameAttribute="sAMAccountName"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dnAttribute="distinguishedName"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupFilter="((ObjectClass=group)"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userFilter="((ObjectClass=person)"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scope="Subtree" /&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/providers&gt;</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;/roleManager&gt;</span></p>
<p>Note: you have to substitute the yellow highlighted parts with the information specific to your environment, as follows:</p>
<p><span style="font-family: Symbol;">&middot;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>For <span style="color: #ff0000;">server</span> you need the FQDN of your domain controller (in my case it is &lsquo;contosodc.contoso.com&rsquo;)</p>
<p><span style="font-family: Symbol;">&middot;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>For <span style="color: #ff0000;">userContainer</span> you need the distinguished name of your user container &ndash; you can find it on the Domain Controller &gt; Active Directory Users and Computers &gt; &lsquo;your domain&rsquo; &gt; right click on the corresponding OU and switch to the &lsquo;Attribute Editor&rsquo; tab:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/6428.image003.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/6428.image003.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/6428.image003.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/6428.image003.png" alt="" width="194" height="181" border="0" /></a></p>
<p><span style="font-family: Symbol;">&middot;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>The name of your role manager in &lt;add name="roleManager".</p>
<p><span style="font-family: Symbol;">&middot;<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span>For <span style="color: #ff0000;">groupContainer</span> you need the distinguished name of your group container &ndash; you can find it on the Domain Controller &gt; Active Directory Users and Computers &gt; right click on &lsquo;your domain&rsquo; &nbsp;and switch to the &lsquo;Attribute Editor&rsquo; tab:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1423.image004.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1423.image004.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1423.image004.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1423.image004.png" alt="" width="198" height="176" border="0" /></a></p>
<h4><span lang="EN">b.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">To configure the Security Token Service web.config file</span></h4>
<p><span lang="EN">i.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">In the console tree of Internet Information Services (IIS) Manager, open the SharePoint Web Services site.</span></p>
<p><span lang="EN">ii.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">In the console tree, right-click SecurityTokenServiceApplication, and then click Explore.</span></p>
<p><span lang="EN">iii.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">In the folder window, double-click the web.config file.</span></p>
<p><span lang="EN">iv.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">In the </span><code><span style="font-size: 10pt;" lang="EN">&lt;Configuration&gt;</span></code><span lang="EN"> section, create a new </span><code><span style="font-size: 10pt;" lang="EN">&lt;system.web&gt;</span></code><span lang="EN"> section and add the following example entry:</span></p>
<p><span style="font-family: courier new,courier;" lang="EN">&nbsp;&nbsp;&nbsp; &lt;membership&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;providers&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add name="<span style="background-color: #00ff00;">membership</span>"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #ff0000;">server</span>="<span style="background-color: #ffff00;">contosodc.contoso.com</span>"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port="389"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; useSSL="false"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userDNAttribute="distinguishedName"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userNameAttribute="sAMAccountName"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #ff0000;">userContainer</span>="<span style="background-color: #ffff00;">OU=FBA,DC=contoso,DC=com</span>"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userObjectClass="person"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userFilter="(&amp;amp;(ObjectClass=person))"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scope="Subtree"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; otherRequiredUserAttributes="sn,givenname,cn" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/providers&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/membership&gt;<br />&nbsp;&nbsp;&nbsp; &lt;roleManager enabled="true" &gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;providers&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;add name="<span style="background-color: #00ff00;">rolemanager</span>"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="Microsoft.Office.Server.Security.LdapRoleProvider, Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #ff0000;">server</span>="<span style="background-color: #ffff00;">contosodc.contoso.com</span>"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port="389"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; useSSL="false"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #ff0000;">groupContainer</span>="<span style="background-color: #ffff00;">DC=contoso,DC=com</span>"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupNameAttribute="cn"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupNameAlternateSearchAttribute="samAccountName"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupMemberAttribute="member"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userNameAttribute="sAMAccountName"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dnAttribute="distinguishedName"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupFilter="(&amp;amp;(ObjectClass=group))"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userFilter="(&amp;amp;(ObjectClass=person))"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scope="Subtree" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/providers&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/roleManager&gt;</span></p>
<p>Note: you have to substitute the yellow highlighted parts with the information specific to your environment, as described above at point 3.a.v.</p>
<h4><span lang="EN">c.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">To configure the new web application&rsquo;s web.config file</span></h4>
<p><span lang="EN">i.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">In the console tree of Internet Information Services (IIS) Manager, right-click the site that corresponds to the name of the web applications that you just created, and then click Explore.</span></p>
<p><span lang="EN">ii.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">In the folder window, double-click the web.config file.</span></p>
<p><span lang="EN">iii.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">In the &lt;Configuration&gt; section, find the &lt;system.web&gt; section.</span></p>
<p><span lang="EN">iv.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">Find the </span><code><span style="font-size: 10pt;" lang="EN">&lt;membership defaultProvider="i"&gt;</span></code><span lang="EN"> section and add the following example entry to the </span><code><span style="font-size: 10pt;" lang="EN">&lt;Providers&gt;</span></code><span lang="EN"> section:</span><span lang="EN">&nbsp;</span></p>
<p><span style="font-family: courier new,courier;" lang="EN">&nbsp;&nbsp;&nbsp; &lt;add name="<span style="background-color: #00ff00;">membership</span>"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="Microsoft.Office.Server.Security.LdapMembershipProvider, Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #ff0000;">server</span>="<span style="background-color: #ffff00;">contosodc.contoso.com</span>"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port="389"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; useSSL="false"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userDNAttribute="distinguishedName"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userNameAttribute="sAMAccountName"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: #ff0000;">userContainer</span>="<span style="background-color: #ffff00;">OU=FBA,DC=contoso,DC=com</span>"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userObjectClass="person"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userFilter="(&amp;amp;(ObjectClass=person))"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scope="Subtree"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; otherRequiredUserAttributes="sn,givenname,cn" /&gt;</span></p>
<p><span lang="EN">Note: you have to substitute the yellow highlighted parts with the information specific to your environment, as described above at point 3.a.v.</span><span lang="EN">&nbsp;</span></p>
<p><span lang="EN">v.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="EN">Find the </span><code><span style="font-size: 10pt;" lang="EN">&lt;roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false"&gt;</span></code><span lang="EN"> section and add the following example entry to the </span><code><span style="font-size: 10pt;" lang="EN">&lt;Providers&gt;</span></code><span lang="EN"> section:</span>&nbsp;</p>
<p><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp; &lt;add name="<span style="background-color: #00ff00;">roleManager</span>"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="Microsoft.Office.Server.Security.LdapRoleProvider, Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"</span><br /><span style="font-family: courier new,courier;"><span style="color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; server</span>="<span style="background-color: #ffff00;">contosodc.contoso.com</span>"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; port="389"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; useSSL="false"</span><br /><span style="font-family: courier new,courier;"><span style="color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupContainer</span>="<span style="background-color: #ffff00;">DC=contoso,DC=com</span>"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupNameAttribute="cn"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupNameAlternateSearchAttribute="samAccountName"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupMemberAttribute="member"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userNameAttribute="sAMAccountName"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dnAttribute="distinguishedName"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; groupFilter="(&amp;amp;(ObjectClass=group))"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; userFilter="(&amp;amp;(ObjectClass=person))"</span><br /><span style="font-family: courier new,courier;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scope="Subtree" /&gt;</span></p>
<p><span lang="EN">Note: you have to substitute the yellow highlighted parts with the information specific to your environment, as described above at point 3.a.v.</span></p>
<p>After you have done all changes in the web.config files, save and close the files.</p>
<h3 style="text-indent: -18pt; margin-left: 18pt;"><span lang="DE">4.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="DE">Create a new site collection for the new created Web Application and add the FBA user as site collection administrator</span></h3>
<p>a.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span>Browse to Central Administration &gt; Application Management &gt; Create site collection.</p>
<p>b.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span>Choose the Web Application which you have created at step 2.</p>
<p>c.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span>Add a Title for the site, e.g. rootsite.</p>
<p>d.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span>In the Primary Site Collection Administrator click on the&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/5008.image005.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/5008.image005.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/5008.image005.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/5008.image005.png" alt="" width="22" height="18" border="0" /></a> symbol and search for the user name created at step 1.</p>
<p>Select the user found under &ldquo;Forms Auth&rdquo; and click OK.&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/4744.image006.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/4744.image006.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/4744.image006.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/4744.image006.png" alt="" width="185" height="224" border="0" /></a></p>
<p class="MsoNormal">The settings for the new site collection will look like this (I added also a secondary site collection administrator):&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/8424.image007.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/8424.image007.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/8424.image007.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/8424.image007.png" alt="" width="185" height="169" border="0" /></a></p>
<p class="MsoNormal">&nbsp;</p>
<h3 style="text-indent: -18pt; margin-left: 18pt;"><span lang="DE">5.<span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;">&nbsp;</span></span><span lang="DE">Browse to the new created site and test the functionality.</span></h3>
<p>If you have selected both Windows NTLM and FBA authentication, you will get a dropdown menu where you can choose between the 2 authentication mechanisms:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2577.image008.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2577.image008.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2577.image008.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2577.image008.png" alt="" width="336" height="161" border="0" /></a></p>
<p class="MsoNormal" style="margin-left: 18pt;">&nbsp;</p>
<p class="MsoNormal" style="margin-left: 18pt;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2308.image009.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2308.image009.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2308.image009.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2308.image009.png" alt="" width="341" height="173" border="0" /></a></p>
<p class="MsoNormal" style="margin-left: 18pt;">&nbsp;</p>
<p class="MsoNormal" style="margin-left: 18pt;">&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint 2013 - Usage Analytics (the story)</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/sharepoint-2013-usage-analytics-the-story</link>
      <pubDate>Thu, 03 Apr 2014 02:12:00 GMT</pubDate>
      <dc:creator><![CDATA[DanielKloyber]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2014/04/03/sharepoint-2013-usage-analytics-the-story/</guid>
      <description><![CDATA[In every new SharePoint version there is a considerable investment put into optimizing the way we...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: arial,helvetica,sans-serif;">In every new SharePoint version there is a considerable investment put into optimizing the way we aggregate and process usage information. By usage information I understand the requests made by users, and the patterns and trends that can be extrapolated from this requests.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">SharePoint 2013 was no exception, although we kept the same mechanisms for gathering information like we had in 2010 (SPUsageProviders / SPUsageDefinition / SPUsageReceivers) the processing of the data gathered was moved towards the Usage Analytics Component of the Search Service Application.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Given that in the last couple of months we had an increasing number of cases dealing with Usage Analytics I wanted to share with you a broad overview of how we get collect and process the data for the usage analytics reports.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif; text-decoration: underline;"><strong><span style="font-size: medium;">Data collection</span></strong></span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">In SharePoint 2010 we introduced the concept of SPUsageProviders and SPUsageDefinitions. I will not go into many details, but you can see this as being the definition of a data set that can be programmatically logged to Usage Database (WSS_Usage) from within your SharePoint code.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">You can see all the definitions currently installed in your farm by running:</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">&nbsp;Get-SPUsageDefinition</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Each definition can have the following properties (and many more):</span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif;">&nbsp;- Columns - will define&nbsp; the columns in the data set that we log. </span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;- Table - the name of the partitions you will see in the WSS_Usage database. </span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;- RetentionPeriod - the time we keep the data in the WSS_Usage database. </span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;- UsageReceivers - will discuss about this a bit later</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Each time you add a new usage definition we will create a set of 32 partitions (with the name specified in the table property of the definition) in the WSS_Usage database (also a view with the name of the definition, that will basically cumulate the data from all the partitions).</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Programmatically in your custom code (or in the MS code) we can create new entries for each definitions and add them to an internal store (first 1000 entries in memory, then they get moved to .usage files on the disk).</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Every 5 minutes a timer job (Microsoft SharePoint Foundation Usage Data Import) will get all the definitions and call the ImportEntries method of each definition. If this method was not overwritten it will move the data from the in-memory store or .usage files to the corresponding tables in the WSS_Usage database.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">When this is done, it will execute the SPUsageReceivers that are attached to the usage definitions. You can look at the usage receivers as being an event handler triggered after each import of the usage data. You can develop your own receivers with the purpose of running tasks like data analysis, data archival&hellip; etc.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">For the OOB usage analytics we use two different usage definitions: Page Requests and Usage Analytics. For Page Requests we will save all the logged data in the WSS_Usage&nbsp; database, for the Usage Analytics definition the ImportEntries method was overwritten so we don&rsquo;t log anything to the WSS_Usage database.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">When we provision the first SearchService application we will automatically also create an Analytics Component. During the provision process of the SSA we will also add a usage receiver to both the Page Requests and the Usage Analytics definitions. These receivers have the role of "transporting" the data from the usage definition store to the analytics component of the SSA. This happens by means of a web service method&nbsp; called SendAnalyticsUsageEvents. The web service will receive all the usage entries logged and write them to the EventStore (default location on the analytics component: C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\Analytics_GUID\EventStore (where the GUID is the ApplicationName property of the SSA).</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">One of the more common problems we noticed is that the usage receivers are no longer registered to the usage definitions. You can check for this by using:</span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$ad = Get-SPUsageDefinition | where {$_.Name -like "Analytics*"}</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$pd = Get-SPUsageDefinition | where {$_.Name -like "Page Requests"}</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$ad.Receivers</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$pd.Receivers</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">If the receivers are not displayed you can register them by using:</span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$ad = Get-SPUsageDefinition | where {$_.Name -like"Analytics*"}</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$ad.Receivers.Add("Microsoft.Office.Server.Search.Applications, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c","Microsoft.Office.Server.Search.Analytics.Internal.AnalyticsCustomRequestUsageReceiver") </span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$ad.EnableReceivers = $true</span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$pd = Get-SPUsageDefinition | where {$_.Name -like"Page Requests"}</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$pd.Receivers.Add("Microsoft.Office.Server.Search.Applications, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c", "Microsoft.Office.Server.Search.Analytics.Internal.ViewRequestUsageReceiver")</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$pd.EnableReceivers = $true&nbsp;</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">This pretty much ends the data gathering. The short version of this process being: we use the Page Requests and Usage Analytics usage definitions to gather the data, and attached usage receivers to send the data to the SSA by means of the SendAnalyticsUsageEvents web service method, that will store the data in the event store to await processing.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif; text-decoration: underline;"><strong><span style="font-size: medium;">Data Processing</span></strong></span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">The processing is done by a component called the analytics engine. This will run once every day and read the data from the Event Store and then perform a number of computations on this data to compile the needed reports. The whole process is opaque and really complex, besides reading the event store, we also read data from the search analytics database and from the search index. The computation themselves can be fairly resource intensive and take a long time to finish. We recommend having a good amount of free space on the drive where the store is located, as during the processing we will create some temporary files that can reach large dimensions.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">There are not many ways of interacting with the analysis engine. I would recommend using the following:</span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$tj = Get-SPTimerJob -Type Microsoft.Office.Server.Search.Analytics.UsageAnalyticsJobDefinition</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$tj.GetAnalysisConfiguration()</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$tj.GetAnalysisInfo()</span><br />&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif;">This will give some basic informations, as to what the running schedule is, successful runs, last errors&hellip; You can also start an off-schedule run of the analysis engine:</span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$tj = Get-SPTimerJob -Type Microsoft.Office.Server.Search.Analytics.UsageAnalyticsJobDefinition</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$tj.DisableTimerjobSchedule()</span><br /><span style="font-family: arial,helvetica,sans-serif;">&nbsp;$tj.StartAnalysis()</span><br />&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif;">And then don&rsquo;t forget to do the:&nbsp;&nbsp;</span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif;">$tj.EnableTimerjobSchedule()</span></p>
<p>&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif;">There is not much troubleshooting that can be done at Analytics Engine level. If the correct data is in the event store, the reports should reflect this.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">After the analysis engine finishes processing the data it will write the results to the Search_Service_Application_AnalyticsReportingStoreDB database, AnalyticsItemData.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif; text-decoration: underline;"><strong><span style="font-size: medium;">Final notes</span></strong></span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">The whole platform behind the usage analytics reports is expandable. The out of the box code, is not meant to cover all usage reporting scenarios. For more special reporting needs I recommend developing a custom solution that includes SPUsageReceivers and event custom usage definitions.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Also, I would like to extend again the warning, that changing settings of the different analyses will cause the engine to fail. Do not change settings you don't understand.</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Customizing filters in SPS2010 Search results page</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/customizing-filters-in-sps2010-search-results-page</link>
      <pubDate>Mon, 25 Nov 2013 07:27:00 GMT</pubDate>
      <dc:creator><![CDATA[Ana Trisca - SharePoint Technical Lead]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2013/11/25/customizing-filters-in-sps2010-search-results-page/</guid>
      <description><![CDATA[If you &nbsp;plan to use a Site Column as filter on the Search results page, within Refinement...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">If you &nbsp;plan to use a Site Column as filter on the Search results page, within Refinement panel, you will see how it&rsquo;s done.&nbsp;Wondering&nbsp;how it works for Columns of Type &nbsp;"<em>Person or Group</em>"&nbsp; , either single or multi-valued?&nbsp; You need to have a working Search Service Application, a Search Center Site, a Site Collection/ Publishing Portal and a Document Library already in place.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Let's define <span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">2 Site Columns: "<em><span style="text-decoration: underline;">Zust&auml;ndig</span></em>" and "<em><span style="text-decoration: underline;">Fachlich zust&auml;ndig</span></em>" of Type "<em>Person or Group</em>" on a SharePoint Site,</span></span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;">o&nbsp;&nbsp; &ldquo;<strong>Zustaendig</strong>&rdquo; -- <em>Type "Person or Group" (New Group -- "CustomSearch") , Enforce unique values- No, Allow multiple selections - No, Choose from : All Users</em></span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;">o&nbsp;&nbsp; &ldquo;<strong>FachlichZustaendig</strong>&rdquo; -- <em>Type "Person or Group" (Group -- "CustomSearch") ,Enforce unique values- No, Allow multiple selections - Yes, Choose from : All Users</em></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">add them&nbsp;on a Document Library and use them with adding several items. </span></p>
<p style="padding-left: 30px;">&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">Then&nbsp;perform a <span style="text-decoration: underline;"><em><strong>Full Crawl</strong></em></span>. </span><span style="font-family: arial,helvetica,sans-serif; font-size: small; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Once&nbsp;the Crawl is run, the Crawled Properties for these 2 entries are visible in the Search Administration Page under "Crawled Properties" as <span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><strong>"ows_Zustaendig(Text)"</strong> and <span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><strong>"ows_Fachlich_zustaeding(Text)"</strong>. Do not worry about the (Text) Type, it's how the System handles the Columns as Crawled Properties. </span></span></span></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">The Add of Managed Properties is afterwards required: <span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">[<em>SearchAdministration | Metadata Properties | New Managed Prop.]</em></span></span></span></span></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">o&nbsp;&nbsp; "<strong>Zustaendig</strong>"&nbsp;&nbsp;is mapped to "ows_Zustaendig(Text)" , has single value, Includes values from all crawled properties mapped,&nbsp; is being used in Scopes&nbsp;and has following option enabled : "Add managed property to custom results set retrieved on each query. Note: Only the first 2 kilobytes of data is available for display by default"</span></p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/4810.blog2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/4810.blog2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/4810.blog2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/4810.blog2.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">o&nbsp;&nbsp; "<strong>FachlichZustaendig</strong>"&nbsp;is mapped to "ows_Fachlichzustaeding(Text)"&nbsp; , has multiple values , Includes values from all crawled properties mapped, is being used in Scopes&nbsp; and has following option enabled : "Add managed property to custom results set retrieved on each query. Note: Only the first 2 kilobytes of data is available for display by default"</span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1526.blog3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1526.blog3.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1526.blog3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1526.blog3.png" alt="" border="0" /></a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">On the Search page, perform a search according to the Items added in the Document Library. Once results are displayed,&nbsp;</span></span></span></span></span><span style="font-family: arial,helvetica,sans-serif; font-size: small; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">the Search Center Site needs to be in Edit mode so that the Refinement Panel can be edited<span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"> [<em>Filter CategoryDefinition</em>]. </span> You will need to add following section:</span></span></span></span></span></p>
<p style="padding-left: 30px;">&lt;Category LessLinkText="show fewer" MoreLinkText="show more" MappedProperty="<span style="background-color: #c0c0c0;"><strong>zustaendig</strong></span>" ShowMoreLink="True" SortDirectionForMoreFilters="Ascending" SortByForMoreFilters="Name" SortDirection="Descending" SortBy="Frequency" MaxNumberOfFilters="20" NumberOfFiltersToDisplay="4" <span style="background-color: #99ccff;">MetadataThreshold="5"&nbsp;</span> Type="Microsoft.Office.Server.Search.WebControls.ManagedPropertyFilterGenerator" Description="Use this filter to restrict results.by a specific zust."&nbsp; Title="<strong>Zustaendig</strong>"/&gt;</p>
<p style="padding-left: 30px;">&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">Be aware that the <span style="text-decoration: underline; background-color: #ccffcc;"><em>Lowercase restriction</em></span> on the <span style="background-color: #c0c0c0;"><strong>MappedProperty</strong></span>&nbsp;should not be&nbsp;there any more, as this limitation was removed with SP1. </span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">If you encounter issues with the functionality though, it's worth trying it out on lowercase also.&nbsp;</span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">The "<span style="text-decoration: underline;"><em>Use Default Configuration</em></span>" needs to be unchecked. Then once Saving and Exiting the Edit Mode, the newly added property should be available for refinement :</span></p>
<p style="padding-left: 30px;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1351.blog5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1351.blog5.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1351.blog5.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1351.blog5.png" alt="" border="0" /></a></span></p>
<p>&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">If this still does not show-up on page, make sure that you have enough items to display (&gt;5); as per:&nbsp; </span></span></span></span></span><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><a href="https://msdn.microsoft.com/en-us/library/ff625183.aspx">https://msdn.microsoft.com/en-us/library/ff625183.aspx</a>&nbsp; <strong><em>Category [Refinement]</em></strong></span>&nbsp;</p>
<p style="padding-left: 60px;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/4405.blog6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/4405.blog6.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/4405.blog6.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/4405.blog6.png" alt="" border="0" /></a></span></span></span></span></span></span></span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">In our settings, we used </span><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><span style="background-color: #99ccff;">MetadataThreshold="5"</span> , </span></em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">but the value can be accordingly changed, as per own choice.</span></span></p>
<p><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;">But what about the Accuracy Index? </span></span></p>
<p style="padding-left: 30px;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/0045.blog11.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/0045.blog11.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/0045.blog11.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/0045.blog11.png" alt="" width="191" height="322" border="0" /></a></span></span></p>
<p><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">This Value is being directly set-up once for the entire&nbsp;Refinement Panel Web-Part and it stands for <span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">how many items are considered in the creation of refiners. By default this is set to 50 so that only the first 50 items in your search results will be used to generate refiners.</span></span></p>
<p><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">As per Technet, this has no upper maximum: </span></span><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><a href="https://technet.microsoft.com/en-us/library/gg549985.aspx">https://technet.microsoft.com/en-us/library/gg549985.aspx</a>&nbsp; &ldquo;<em>Change what appears in the Refinement Panel Web Part (SharePoint Server 2010)&rdquo;</em></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Next, what if you want to add such Property as Refiner in "<strong>Advanced Search</strong>"?</span></span></span></p>
<p><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">For this action, the Search Center Site has to be again in Edit Mode, this time the <span style="text-decoration: underline;"><em>Advanced Search box</em></span> will be edited:&nbsp; [<em>Properties</em>] and add the following:</span></span></span>&nbsp;&nbsp;&nbsp;</p>
<p style="padding-left: 30px;"><br /><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">&lt;PropertyDefs&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></em><br /><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">&lt;PropertyDef Name="Path" DataType="text"&nbsp; DisplayName="URL"/&gt;&nbsp;&nbsp;&nbsp;</span></em><br /><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></em><br /><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">.&nbsp;&nbsp;&nbsp;&nbsp;</span></em></p>
<p style="padding-left: 30px;"><em><span style="font-family: arial,helvetica,sans-serif; font-size: small; background-color: #c0c0c0;"><strong>&lt;PropertyDef&nbsp; Name="FachlichZustaendig" DataType="text" DisplayName="FachlichZustaendig"/&gt;</strong></span></em></p>
<p style="padding-left: 30px;"><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">&lt;/PropertyDefs&gt;</span></em></p>
<p>&nbsp;</p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: small;">and in the &nbsp;<em>&lt;AllResults&gt;</em> &nbsp;Section&nbsp;&nbsp;&nbsp;</span></p>
<p style="padding-left: 30px;"><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">&lt;ResultType DisplayName="<strong>All Results</strong>" Name="default"&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></em><br /><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">&lt;KeywordQuery/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></em><br /><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">&lt;PropertyRef Name="Author" /&gt;&nbsp;</span></em><br /><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></em><br /><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">.</span></em></p>
<p style="padding-left: 30px;"><span style="background-color: #c0c0c0;"><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><strong>&lt;PropertyRef Name="FachlichZustaendig" /&gt;</strong>&nbsp;&nbsp;&nbsp;</span></em></span><br /><em><span style="font-family: arial,helvetica,sans-serif; font-size: small;">&lt;/ResultType&gt;</span></em></p>
<p><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">As such, it will get in the refiners list for the&nbsp;Advanced Search.</span></span></span></p>
<p style="padding-left: 30px;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1881.blog12.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1881.blog12.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1881.blog12.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1881.blog12.png" alt="" border="0" /></a>&nbsp;&nbsp; </span></span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">For any of the above handling of the managed properties, the special "<em>Person or Group</em>" Type&nbsp; or single-, multi-value does not determine any special setting or limitation in functionality.</span></span></span></p>
<p>&nbsp;</p>
<p><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="text-decoration: underline;"><em>References</em></span>:</span></span></span></p>
<p style="padding-left: 60px;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><a href="https://msdn.microsoft.com/en-us/library/ff625183.aspx"><span style="color: windowtext;">https://msdn.microsoft.com/en-us/library/ff625183.aspx</span></a>&nbsp;:: "<span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Category [Refinement]"</span></span></span></span></span></p>
<p style="padding-left: 60px;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: arial,helvetica,sans-serif; font-size: small;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><a href="https://msdn.microsoft.com/en-us/library/gg685426.aspx"><span style="color: windowtext;">https://msdn.microsoft.com/en-us/library/gg685426.aspx</span></a>&nbsp; :: "<span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Adding a Refiner to the Refinement Panel Web Part"</span></span></span></span></span></span></p>
<p style="padding-left: 60px;">&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Crawl error SharePoint 2013 - Processing this item failed because of an unknown error when trying to parse its contents.</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/crawl-error-sharepoint-2013-processing-this-item-failed-because-of-an-unknown-error-when-trying-to-parse-its-contents</link>
      <pubDate>Tue, 08 Oct 2013 05:04:00 GMT</pubDate>
      <dc:creator><![CDATA[Sorin Stanila]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2013/10/08/crawl-error-sharepoint-2013-processing-this-item-failed-because-of-an-unknown-error-when-trying-to-parse-its-contents/</guid>
      <description><![CDATA[During various search troubleshooting i came across the following crawling error in the Craw log of...]]></description>
      <content:encoded><![CDATA[<p>During various search troubleshooting i came across the following crawling error in the Craw log of a SharePoint 2013 environment.</p>
<p><strong><em><span style="font-family: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman';">Processing this item failed because of an unknown error when trying to parse its contents. </span><span style="font-family: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: DE; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman';" lang="DE">(Error parsing document 'https://sharepoint.contoso.com/Project/abcd/Q_M/ABX/SitePages/Homepage.aspx'. </span><span style="font-family: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman';">Sandbox worker pool is<br />closed.; ; SearchID = 820E86ZD-5252-4G5F-AK9U-2096ZV3L56PP )</span></em></strong></p>
<p>In order to fix this you&nbsp;can try&nbsp;to perform the following action plan:</p>
<p>Open <strong>"Local Policies&rdquo;</strong></p>
<p>Click on &ldquo;User rights assignment&rdquo;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1565.Untitled%20picture.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1565.Untitled-picture.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1565.Untitled%20picture.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1565.Untitled-picture.png" alt="" border="0" /></a></p>
<p><strong>Make sure that the search service account has the following rights:</strong></p>
<p><em>"Replace a process level token&rdquo;</em></p>
<p><em><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/0045.Replace.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/0045.Replace.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/0045.Replace.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/0045.Replace.png" alt="" border="0" /></a></em></p>
<p><em></em>&nbsp;</p>
<p><em>"Adjust memory quotas for a process"</em></p>
<p><em><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/3276.Adjust.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/3276.Adjust.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/3276.Adjust.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/3276.Adjust.png" alt="" border="0" /></a></em></p>
<p><em>"Impersonate a client after authentication"</em></p>
<p><em><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/0045.Impersonate.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/0045.Impersonate.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/0045.Impersonate.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/0045.Impersonate.png" alt="" border="0" /></a></em></p>
<p><em></em>&nbsp;</p>
<p>Please make sure that the policies don't get changed afterwards.</p>
<p>After implementing the above changes please run a clear configuration cache as explained here: <a href="https://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx">https://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx</a>&nbsp;</p>
<p>After clearing the cache, start a full crawl and the errors should be gone. &nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>SPS2010 : Field cannot be made again visible if defined to be hidden using Visual Studio 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/sps2010-field-cannot-be-made-again-visible-if-defined-to-be-hidden-using-visual-studio-2010</link>
      <pubDate>Sat, 27 Apr 2013 13:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Vali Voineag - Support Engineer]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2013/04/27/sps2010-field-cannot-be-made-again-visible-if-defined-to-be-hidden-using-visual-studio-2010/</guid>
      <description><![CDATA[During last weeks I encountered in a service request the behavior&nbsp;that after using Visual...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: arial,helvetica,sans-serif;">During last weeks I encountered in a service request the behavior&nbsp;that after using Visual Studio to make a column hidden the column itself could not be made again visible&nbsp;disregarding of method. The field was created&nbsp;by&nbsp;following &nbsp;<a href="https://msdn.microsoft.com/en-us/library/ee231593.aspx#BKMK_CreatingCustSiteCols">https://msdn.microsoft.com/en-us/library/ee231593.aspx#BKMK_CreatingCustSiteCols</a> and adding inside the field definition "Hidden="TRUE". </span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">Methods that&nbsp; we tried to change the hidden attribute back to FALSE were&nbsp;PowerShell and also SharePoint Manager but when updating&nbsp;for example using PowerShell the below&nbsp;message was presented. </span></p>
<p><span style="font-family: arial,helvetica,sans-serif;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2806.Untitled.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2806.Untitled.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2806.Untitled.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2806.Untitled.png" alt="" border="0" /></a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">The reason for which the field could not be made visible again is the fact that the CanToggleHidden atribute&nbsp;was set to false as seen&nbsp;in the screenshot&nbsp;when creating the field as hidden using the above method. CanToggleHidden field property is <span class="input">true</span> if the column can be hidden, otherwise, <span class="input">false</span>. (<a href="https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.cantogglehidden.aspx">https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.cantogglehidden.aspx)</a>. </span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">This behavior has been presented to the product group and is currently under investigation. I will update this&nbsp;post&nbsp;once the product group has provided more information. </span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">To workaround the issue you can : </span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">a) Change the field definition inside Visual Studio as shown below and then redeploy from Visual Studio the solution.</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1856.Untitled1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1856.Untitled1.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/1856.Untitled1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/1856.Untitled1.png" alt="" border="0" /></a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">b) Create the field inside Visual Studio without specifying neither Hidden and neither CanToggleHidden. After the field is created use PowerShell to set the hidden property to TRUE</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">$field = $web.fields | ? { $_.InternalName &ndash;eq &bdquo;PatientName1&ldquo; }</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">$field.hidden = $true</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">$field.update()</span></p>
<p><span style="font-family: arial,helvetica,sans-serif;">c) The CanToggleHidden&nbsp;value can be changed&nbsp;using Powershell only using reflection which is not supported and I saw that on the internet there are a couple of people that provide the PowerShell script but once again to be on the supprted safe side please open a service request to Microsoft support.</span> I don't see thus any reason why to go for this method as the above methods cover each situation, when the field is allready present and when not.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Extracting data from ULS logs using logparser</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/extracting-data-from-uls-logs-using-logparser</link>
      <pubDate>Thu, 13 Dec 2012 07:05:00 GMT</pubDate>
      <dc:creator><![CDATA[DanielKloyber]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2012/12/13/extracting-data-from-uls-logs-using-logparser/</guid>
      <description><![CDATA[Had an interesting problem today. Received an ULS log file that was 18GB large. Although I knew the...]]></description>
      <content:encoded><![CDATA[<p>Had an interesting problem today. Received an ULS log file that was 18GB large. Although I knew the approximate timeframe where the problem started happening the normal PowerShell commands I use to break the logs did not work.</p>
<p>Basically the challenge was: how to extract a specific timeframe from an 18GB log file.</p>
<p>Answer(as suggested by the great CristiG): using logparser. Initially meant for IIS logs, we can use logparser also for ULS with a little bit of adaptation. The main challenge was parsing the Timeframe column that is not in the standard format that logparser understands.</p>
<p>The resulting script looks like:</p>
<p><strong>select [Timestamp],Process,TID,Area,Category,EventID,Level,Message,Correlation into test3.log from problem.log </strong><br /><strong>where TO_TIME(TO_TIMESTAMP(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(TRIM(SUBSTR(Timestamp,6,4)),'-'),TRIM(SUBSTR(Timestamp,0,2))),'-'),TRIM(SUBSTR(Timestamp,3,2))),' '),TRIM(SUBSTR(Timestamp,11,8))), 'yyyy-MM-dd hh:mm:ss')) between timestamp('01:33:00', 'hh:mm:ss') and timestamp('01:43:00', 'hh:mm:ss')</strong></p>
<p>After installing logparser and&nbsp;adding&nbsp;it&nbsp;to your&nbsp;path variable&nbsp;you can run the following command to filter the logs: <strong>LogParser -i:tsv -o:tsv file:test2.sql</strong> (given that you have the input file and the script file are in the same directory).</p>
<p>Logparser can be downloaded for free from: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=24659">https://www.microsoft.com/en-us/download/details.aspx?id=24659</a></p>]]></content:encoded>
    </item>
    <item>
      <title>How to check if lists/webs are used</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/how-to-check-if-listswebs-are-used</link>
      <pubDate>Fri, 11 May 2012 09:51:08 GMT</pubDate>
      <dc:creator><![CDATA[Vali Voineag - Support Engineer]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2012/05/11/how-to-check-if-listswebs-are-used/</guid>
      <description><![CDATA[It sometimes comes&nbsp;handy for a&nbsp;SharePoint Administrator/Site Collection...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">It sometimes comes&nbsp;handy for a&nbsp;SharePoint Administrator/Site Collection Administrator&nbsp;to see&nbsp;when&nbsp;lists/webs are used. This could help for example in a scenario where you want to see which lists/webs are actually used inside the SharePoint environment to let's say remove them or ask the site collection&nbsp;administrator to decide if to keep them or not. SharePoint has some out-of-the-box methods to check it but let's assume that your comany needs are not fullfilled by those because for instance you allready have a web part developed by you and want to show the web or list&nbsp;inside it and you just need a method of showing the date/time of the list or web to see if it's used or not.&nbsp;The out-of-the-box methods I am speaking about are and they should be enough for most cases :</span></p>
<ul>
<li><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">Site usage confirmation and deletion (<a href="https://technet.microsoft.com/en-us/library/cc262420.aspx)">https://technet.microsoft.com/en-us/library/cc262420.aspx)</a></span></li>
<li><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">Audit Log Reports <a href="https://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID=414">https://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID=414</a></span></li>
</ul>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">Site Usage confirmation and deletion allows to define a specified amount of "inactivity" time and after that the site collection owners are informed by mail and the audit log reports will show you the changes that have happened </span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">So what can you do from a developer point of view. You can use SPWeb.LastItemModifiedDate/SPList.LastItemModifiedDate OR you can use the Change Log by calling the <span class="input">GetChanges</span> method of an SPList, SPWeb inside a SPChangeQuery class. <a href="https://msdn.microsoft.com/en-us/library/bb447511.aspx">https://msdn.microsoft.com/en-us/library/bb447511.aspx</a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">So the question is what to use and when. Here are some pointers I found out lately and want to share&nbsp;</span></p>
<ul>
<li><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">When calling SPWeb.LastItemModifiedDate&nbsp;in the background we call proc_GetWebExtendedMetaData which does SELECT&nbsp;and then takes&nbsp;MAX(ALAux.Modified) from AllListsAux so actually SPWeb.LastItemModifiedDate simulates this by taking the max of all list timestamps in SQL. Changes can happen to a web outside of a list that would not increment the values processed by SPWeb.LastItemModifiedDate which makes SPWeb.LastItemModifiedDate not very reliable. The time returned is using&nbsp;DateTime.SpecifyKind method&nbsp; <a href="https://msdn.microsoft.com/en-us/library/system.datetime.specifykind.aspx">https://msdn.microsoft.com/en-us/library/system.datetime.specifykind.aspx</a>. There is no timer job involved when calling SPWeb.LastItemModifiedDate. SPWeb.LastItemModifiedDate and SPList.LastItemModifiedDate provide a way to check date/time of change for items that are old (I mean here older thant 15 days - you will see below what I mean). </span></li>
<li><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">The Change Log which actually means calling GetChances&nbsp;which is based on the EventCache table. There is a Change Log Timer Job that clears the EventCache table of entries that are older than 15 days. This value can be increased of course witht the risk that the EventCache Table will grow. So as you see using the GetChanges method you will get entries that are&nbsp;never as the log retention period defined so it is a good method of tracking changed only for new changes not old changes.&nbsp; The modified date/time can be also fetched using let's say using SPChange<span xmlns="">.</span>Time <a href="https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spchange.time">https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spchange.time</a> . </span></li>
</ul>
<p></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">Job-change-log-expiration <a href="https://technet.microsoft.com/en-us/library/cc424964(v=office.12).aspx">https://technet.microsoft.com/en-us/library/cc424964(v=office.12).aspx</a>&nbsp;- Specifies the time schedule when the change log timer job occurs</span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">Change Log - Removes expired entries from the change log of the Web application.<a href="https://technet.microsoft.com/en-us/library/cc678870.aspx">https://technet.microsoft.com/en-us/library/cc678870.aspx</a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: medium;">Change-log-retention-period <a href="https://technet.microsoft.com/en-us/library/cc261921(v=office.12).aspx">https://technet.microsoft.com/en-us/library/cc261921(v=office.12).aspx</a></span></p>
<p><span style="font-family: arial,helvetica,sans-serif; font-size: medium;"></span>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Filename instead of title for zip files in search</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/filename-instead-of-title-for-zip-files-in-search</link>
      <pubDate>Mon, 07 May 2012 03:12:00 GMT</pubDate>
      <dc:creator><![CDATA[Sorin Stanila]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2012/05/07/filename-instead-of-title-for-zip-files-in-search/</guid>
      <description><![CDATA[On SPS 2010 assuming the search is configured using the default XSLT and managed properties, if you...]]></description>
      <content:encoded><![CDATA[<p>On SPS 2010 assuming the search is configured using the default XSLT and managed properties, if you upload a .zip file to a document library &nbsp;and you are using a different title than the filename you will notice how in the search results always the filename is shown rather than the title as with other file types.</p>
<p>It seems the 'Title' managed property is always populated with the filename despite the title being mapped by default.</p>
<p>In order to receive the title of the zip file in the search results rather than the filename you have to implement the following changes:</p>
<p>When investigating the current crawl/index behavior togheter with <strong>Senior</strong> <strong>Support Escalation Engineer</strong> Holger Lutz&nbsp;we could&nbsp;see that out-of-the-box SharePoint choses for .zip files to store the filename in the index as title<br />instead of the SharePoint column title:</p>
<p><span style="font-family: 'Calibri','sans-serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><br />&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/8081.picture1.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/8081.picture1.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/8081.picture1.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/8081.picture1.jpg" width="550" height="49" /></a><v:stroke joinstyle="miter"><br />&nbsp;<v:formulas>&nbsp;&nbsp;&nbsp;</v:formulas></v:stroke></v:shapetype></span><br /> The filename as title gets returned in the search results:</p>
<p><br /><span style="font-family: 'Calibri','sans-serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/0741.pic2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/0741.pic2.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/0741.pic2.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/0741.pic2.jpg" /></a><br /></v:shapetype></span></p>
<p>Here is an excerpt of the debug-output of our troubleshooting simplepi.dll where we see that <b>AppPoolAssociationForm.zip</b> gets identified as title and put into the index:</p>
<p style="text-align: left; padding-left: 30px;"><em>PID=2 Title Value(LPWSTR)=<b>AppPoolAssociationForm.zip </b></em><em>Property:&nbsp;&nbsp; gather,&nbsp;&nbsp;&nbsp;Search=&nbsp;'0B63E350-9CCC-11D0-BCDB-00805FCCCE04', <b>'urn:schemas.microsoft.com:fulltextqueryinfo:displaytitle'</b>, 31,&nbsp; crawled_propid=107 pri=300 Flags: Index Retriev ResPri Dups MD5</em></p>
<p>In the debug-output we see that the right title gets identified but assigned to a different crawled property called <b>EmbeddedContent</b>:</p>
<p style="padding-left: 30px;"><em>Text:plugin,&nbsp; ++Gatherer= '0B63E343-9CCC-11D0-BCDB-00805FCCCE04', <b>'EmbeddedContent'</b>, 31, crawled_propid=101 pri=500 Flags: Index Retriev ResPri Dups MD5 PID=2 Title Lcid 1031 <b>ZipTitle</b></em></p>
<p>As a solution to get the SharePoint title column content indexed and correctly returned in the search results for .zip files a change of the crawled property &lt;-&gt; managed property association is required:</p>
<p>&nbsp;</p>
<p>This is how the <b>Title </b>managed property is configured out-of-the-box:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/6403.pic3.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/6403.pic3.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/6403.pic3.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/6403.pic3.jpg" /></a></p>
<p>You have to add the <b>EmbeddedContent(Text)</b> property at the following position for the <b>Title</b> managed property to get the title correctly returned in the search results for .zip files:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2308.pic4.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2308.pic4.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2308.pic4.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2308.pic4.jpg" /></a></p>
<p>The title gets correctly returned after a full crawl / incremental crawl which picks up the zip file(s) in the search results:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2161.pic5.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2161.pic5.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/2161.pic5.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/2161.pic5.jpg" /></a></p>
<p>Our tests show that the <b>EmbeddedContent(Text) </b>crawled property will be empty for other files like doc / docx / txt / xls / xlsx / &hellip;but gets the <b>title</b> value for <b>.zip</b> files.</p>]]></content:encoded>
    </item>
    <item>
      <title>Hidden objects in SharePoint "Explorer View"</title>
      <link>https://docs.microsoft.com/archive/blogs/spblog/hidden-objects-in-sharepoint-explorer-view</link>
      <pubDate>Wed, 04 Apr 2012 09:22:00 GMT</pubDate>
      <dc:creator><![CDATA[Cris Ghita [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/spblog/2012/04/04/hidden-objects-in-sharepoint-explorer-view/</guid>
      <description><![CDATA[Imagine the following scenario: a user creates a folder in SharePoint Document Library and gives it...]]></description>
      <content:encoded><![CDATA[<p>Imagine the following scenario: a user creates a folder in SharePoint Document Library and gives it a name starting with the underscore (_) character. When you then open the Document Library in Windows Explorer, the folder will not be visible if the option&nbsp; is not enabled in Windows Explorer:</p>
<p><img style="border: 0px currentColor;" title="&quot;Show hidden files, folders and drives&quot;" alt="&quot;Show hidden files, folders and drives&quot;" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/25/92/0042.hidden_folders.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-25-92/0042.hidden_5F00_folders.jpg" width="396" height="336" /></p>
<p>This behavior is expected (it <a title="dates back  " href="https://support.microsoft.com/kb/219193" target="_blank">dates back</a> to the days of FrontPage 2000) and is also usually the reason <em>why</em> the folder was named with a leading underscore.</p>
<p>However, if the folder is then renamed and the underscore is removed, the folder will still remain hidden in "Explorer View". This is why:</p>
<p>Windows Explorer communicates with SharePoint over WebDAV. For each object stored in SharePoint and browsed from Windows Explorer, the Win32FileAttributes property is sent over the wire:</p>
<h4>Request:</h4>
<p style="padding-left: 30px;">PROPFIND &lt;DocLib_URL&gt;</p>
<p style="padding-left: 30px;">[...]</p>
<p style="padding-left: 30px;">Depth:1</p>
<h4>Response:</h4>
<p style="padding-left: 30px;">207 MULTI-STATUS</p>
<p style="padding-left: 30px;">[...]</p>
<p style="padding-left: 30px;">&lt;D:prop&gt;&lt;D:displayname&gt;_hidden_folder&lt;/D:displayname&gt;[...]&lt;D:isFolder&gt;t&lt;/D:isFolder&gt;[...]&lt;Z:Win32FileAttributes&gt;00000016&lt;/Z:Win32FileAttributes&gt;&lt;/D:prop&gt;</p>
<p style="padding-left: 30px;">[...]</p>
<p>&nbsp;</p>
<p>The value of Win32FileAttributes (specified in the <a title="Microsoft Extensions to the WebDAV protocol" href="https://msdn.microsoft.com/en-us/library/cc250143(PROT.10).aspx">Microsoft Extensions to the WebDAV protocol</a>)&nbsp;informs Windows Explorer to treat this folder as hidden. In SharePoint, this property is stored in the SPFolder object's property bag:</p>
<p class="scroll"><code class="cplusplus">$folder = (Get-SPWeb https://url).Folders["DocLib_Name"].SubFolders["_Folder_with_underscore"]<br /> <br />$folder.Properties["vti_winfileattribs"]</code></p>
<p>It is not automatically removed when the folder is renamed, but can be manually reset using:</p>
<p class="scroll"><code class="cplusplus">$folder.Properties["vti_winfileattribs"]=""&nbsp;</code></p>]]></content:encoded>
    </item>
  </channel>
</rss>