<?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>Leesa’s Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/leesab/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/leesab/feed.xml</link>
    <description />
    <lastBuildDate>Mon, 12 Nov 2018 13:38:19 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Install and configure additional SPMAs</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/install-and-configure-additional-spmas</link>
      <pubDate>Mon, 12 Nov 2018 13:38:18 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/?p=315</guid>
      <description><![CDATA[Install and configure additional SPMAs
Recently I was asked to connect multiple SharePoint farms to...]]></description>
      <content:encoded><![CDATA[<h1>Install and configure additional SPMAs</h1>
Recently I was asked to connect multiple SharePoint farms to a single MIM 2016 instance. I had already followed the articles for  downloading and installing MIM and configuring the SPMA and ADMA.  I am making the assumption that you have already done this step and have a working MIM setup.

I Copied all my files to <strong>D:\MIM</strong>
<ol>
 	<li>Open up the <strong>MIM/FIM Synchronization Service</strong>.</li>
 	<li>Click <strong>Management Agents</strong></li>
 	<li>Highlight <strong>SPMA</strong> then click <strong>Export Management agent</strong> on far right</li>
 	<li>Save the XML file. Then click <strong>Import Management Agent</strong> and point to the saved XML file and click <strong>OPEN</strong>.</li>
 	<li>Change the Name to <strong>SPMA_QA</strong> (or whatever you feel is a better descriptor). Click <strong>Next</strong>.
<a href="https://msdnshared.blob.core.windows.net/media/2018/11/SPMA_QA-Management-Agent.png"><img width="300" height="91" class="alignnone size-medium wp-image-355" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/11/SPMA_QA-Management-Agent-300x91.png" /></a></li>
 	<li>Enter the information for the additional SharePoint CA. (Server, port, domain, User Name, Password) then click <strong>Next.</strong> You may now click next through the rest of the wizard as everything will be the defaults.</li>
 	<li>Open <strong>SynchronizationRulesExtensions.cs</strong> located at <strong>D:\MIM\SharePointSynchronization</strong> to edit. I used NotePad.</li>
 	<li>Look for <strong>ProvisionUPSA(mventry, "SPMA");</strong> (Should be line 47) Copy this line and paste below it and change the <strong>SPMA to SPMA_QA</strong>. Close and save file.
<a href="https://msdnshared.blob.core.windows.net/media/2018/11/Provision-SPMAQA1.png"><img width="300" height="55" class="alignnone size-medium wp-image-345" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/11/Provision-SPMAQA1-300x55.png" /></a></li>
 	<li>Open PowerShell ISE as admin and <strong>edit SharePointSynchronization.psm1</strong> located at <strong>D:\MIM\SharePointSynchronization</strong>.</li>
 	<li>Go to line 222/223 look for <strong>Start-ManagementAgent -Name SPMA –RunProfile</strong> (there should be 2 lines) Copy/Paste those two lines and change SPMA on those lines two SPMA_QA
<a href="https://msdnshared.blob.core.windows.net/media/2018/11/Start-SPMAQA1.png"><img width="300" height="82" class="alignnone size-medium wp-image-335" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/11/Start-SPMAQA1-300x82.png" /></a></li>
 	<li>Go to line 229/23 look for <strong>Start-ManagementAgent -Name SPMA –RunProfile</strong> (there should be 2 lines) Copy/Paste those two lines and change SPMA on those lines two SPMA_QA.
<a href="https://msdnshared.blob.core.windows.net/media/2018/11/Start-SPMAQA2.png"><img width="300" height="63" class="alignnone size-medium wp-image-375" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/11/Start-SPMAQA2-300x63.png" /></a></li>
 	<li>Go to line 244/246 look for <strong>Start-ManagementAgent -Name SPMA –RunProfile</strong> (there should be 3 lines) Copy/Paste those three lines and change SPMA on those lines three lines to SPMA_QA. Save script.
<a href="https://msdnshared.blob.core.windows.net/media/2018/11/Start-SPMAQA3.png"><img width="300" height="96" class="alignnone size-medium wp-image-365" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/11/Start-SPMAQA3-300x96.png" /></a></li>
 	<li>Click the Green arrow in the top ribbon to load the script module.</li>
 	<li>Now that the module is loaded. Run <strong>Publish-SynchronizationAssembly -Path D:\MIM\SharePointSynchronization\SynchronizationRulesExtensions.cs </strong><strong>–Verbose</strong> this will recompile SharePointSynchronization.dll and update the directory C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Extensions.</li>
 	<li>Run a full import</li>
</ol>
You can also <a href="https://blogs.technet.microsoft.com/leesab/2018/04/04/configuring-mim-2016-full-and-incremental-imports-for-sharepoint/">Schedule Full and Incremental imports with task Scheduler.</a>

&nbsp;

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Configuring MIM 2016 Full and Incremental Imports for SharePoint</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/configuring-mim-2016-full-and-incremental-imports-for-sharepoint</link>
      <pubDate>Wed, 04 Apr 2018 13:07:00 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/?p=245</guid>
      <description><![CDATA[Recently I was assigned to help get MIM 2016 working with SharePoint 2016. The initial MIM Install...]]></description>
      <content:encoded><![CDATA[Recently I was assigned to help get MIM 2016 working with SharePoint 2016. The initial <a href="https://docs.microsoft.com/en-us/SharePoint/administration/use-a-sample-mim-solution-in-sharepoint-server-2016">MIM Install </a> was pretty straightforward. I am going to assume you have installed MIM and have run the PowerShell for Full and Delta imports using SharePointSync.psm1 and that they are working correctly. I am also going to assume you have SP1 and at least KB4021562 for FIM.

For some reason I struggled with getting the Delta and Full imports scheduled in Task Scheduler, so I am writing this blog for my reference in the future.

First, we need to create a couple of PowerShell Scripts (one for the full import and one for the Delta Import).

The scripts should look like below. Save them to a directory (because I was on a test system I only had a C drive, so I saved to c:\ScheduledScripts
<table>
<tbody>
<tr>
<td width="84">Delta.ps1</td>
<td width="540">Import-Module  C:\SharePointSynchronization\SharePointSync.psm1

Start-SharePointSync -Delta -Confirm:$false

&nbsp;</td>
</tr>
<tr>
<td width="84">Full.ps1</td>
<td width="540">Import-Module  C:\SharePointSynchronization\SharePointSynch.psm1

Start-SharePointSync -Confirm:$false

&nbsp;</td>
</tr>
</tbody>
</table>
&nbsp;

Now load task Scheduler and <strong>create task</strong>. Enter <strong>Name </strong>(MIM Delta Import). Click <strong>Change user or Group</strong> account for running task to a service account that is not part of MIM or SharePoint (<a href="https://social.technet.microsoft.com/wiki/contents/articles/33214.fim-2010mim-2016-planning-security-setup-for-accounts-groups-and-services-part-4-detailed-description.aspx">Plan for MIM Security</a>) Click <strong>Run whether user is logged in or </strong>not. Click to check <strong>Run with Highest Privileges</strong>. This account will need to be assigned the user right <strong>Logon as Batch</strong> in <strong>secpol.msc</strong>. Note: This will as for and save the credentials for the service account that you use for running this task.  If your security posture will not allow you to save credentials you will only have two options. You can run only when the service account is logged in or you can configure this to run as NT Authority\System.  Both of these have drawbacks and should be thoroughly evaluated.

<a href="https://msdnshared.blob.core.windows.net/media/2018/04/TaskScheduler1.png"><img width="300" height="224" class="alignnone size-medium wp-image-265" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/TaskScheduler1-300x224.png" /></a>

Select <strong>Triggers Tab</strong>. Select <strong>New</strong>. Select appropriate days/times for schedule. Click OK.

Select <strong>Actions tab</strong>. Select <strong>New</strong>. For <strong>Program/Script</strong>: input box type <strong>PowerShell</strong>. For <strong>Add Arguments (optional)</strong> input box type <strong>-noprofile -executionpolicy bypass -file C:\ScheduledScripts\delta.ps1</strong> . Click OK.

<a href="https://msdnshared.blob.core.windows.net/media/2018/04/TaskScheduler2.png"><img width="276" height="300" class="alignnone size-medium wp-image-295" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/TaskScheduler2-276x300.png" /></a><a href="https://msdnshared.blob.core.windows.net/media/2018/04/TaskScheduler1.png"></a>

&nbsp;

Click <strong>OK</strong>. Screen should look like below:

<a href="https://msdnshared.blob.core.windows.net/media/2018/04/TaskScheduler3.png"><img width="300" height="225" class="alignnone size-medium wp-image-305" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/TaskScheduler3-300x225.png" /></a>

Click <strong>OK</strong> to save. Enter the password of the service account you used if prompted.

Repeat steps above for full import.

Now off to the right click <strong>RUN</strong> to test the script.

First Error I received was for the PSM1 file:

Security warning Run only scripts that you trust.

While scripts from the internet can be useful, this script can potentially harm your computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning message.

To fix open PowerShell as admin and run <strong>Unblock-file c:\SharePointSync.psm1</strong>

Click to <strong>Run</strong> again.

This time import fails with no information. Looking in Event Viewer I found Event Viewer Error 10016.

<a href="https://msdnshared.blob.core.windows.net/media/2018/04/DCOM10016.png"><img width="300" height="139" class="alignnone size-medium wp-image-275" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/DCOM10016-300x139.png" /></a>

Opening up Regedit and searching for the GUID {835BEE60-8731-4159-8BFF-941301D76D05} I see it belongs to <strong>ForeFront Identity Management Syncronization</strong>.

Opening up <strong>component Services</strong> and then <strong>DCOM Config</strong>. I see that the only accounts/groups listed with <strong>Launch and Activation Permissions</strong> is the local groups created by MIM.

<a href="https://msdnshared.blob.core.windows.net/media/2018/04/DCOMFIM.png"><img width="300" height="206" class="alignnone size-medium wp-image-285" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/04/DCOMFIM-300x206.png" /></a>

Open up computer Management and add you service account to the local group <strong>MIMSyncAdmins. </strong>See referenced  (<a href="https://social.technet.microsoft.com/wiki/contents/articles/33214.fim-2010mim-2016-planning-security-setup-for-accounts-groups-and-services-part-4-detailed-description.aspx">Plan for MIM Security</a>)

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Changing the Central Admin URL may affect some service applications (PowerPivot &amp; User Profile)</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/changing-the-central-admin-url-may-affect-some-service-applications-powerpivot-user-profile</link>
      <pubDate>Wed, 14 Feb 2018 18:40:10 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/?p=235</guid>
      <description><![CDATA[Recently we decided to change the central admin URL to use SSL and a host header. There are several...]]></description>
      <content:encoded><![CDATA[Recently we decided to change the central admin URL to use SSL and a host header. There are several articles out there on the steps required to do this successfully. We followed the steps and were quickly up and running. If you have already created some service applications and have been using them you may run into issues with the URL change.

&nbsp;
<h1><strong>USER Profile Service Application</strong></h1>
About two weeks after the URL change, we found out that the User Profile service was not working properly. When we loaded the MIISCLIENT.EXE (typically located at 'C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service\UIShell' ) we saw the miisclient console shows 'stopped-extension-dll-exception' error. Basically the MIISCLIENT was pointing to the old Central Admin URL. To verify this
<ul>
 	<li>Open MIISCLIENT.EXE</li>
 	<li>Click on Tools, Management Agents (or click the Management Agents in the bar)</li>
 	<li>Right-click on the management agent with type 'Extensible Connectivity' and select Properties</li>
 	<li>In the Properties window, select "Configure Connection Information "The "Connect to:" beginning field should point to the new SharePoint Central Administration site. DO NOT CHANGE THE URL in MIISCLIENT.exe See <a href="https://support.microsoft.com/en-us/help/2517937/support-for-modifications-to-the-user-profile-configuration-settings-v">https://support.microsoft.com/en-us/help/2517937/support-for-modifications-to-the-user-profile-configuration-settings-v</a></li>
</ul>
To fix simply log into Central admin and Stop and Start the User Profile Synchronization Service from the server. When the User Profile Synchronization Service re-provisions it will update the connection information within FIM. After stopping/starting the service you may go back into MIISCLIENT.EXE and verify that the URL is now correct.

&nbsp;
<h1><strong>PowerPivot Service Application </strong></h1>
Even though we had already provisioned the PowerPivot service application we had not started to use the application. When we started to try and setup PowerPivot, we noticed the Health Analyzer Rule: 'PowerPivot: Usage data is not getting updated at the expected frequency' and The “PowerPivot Management Dashboard Processing Timer Job” was failing.  Looking at PowerPivot mini-Dumps we noticed that a couple of PowerPivot Properties were point to the original URL.

&nbsp;

Using PowerShell (Get-PowerPivotServiceApplication ) we identified the two properties of interest. UsageWorkbookUrl (Can be modified )  and ServiceAppFolderUrl (Read Only), both these properties had the old URL  . We decided to put in Alternate Access Mapping for the old URL to the new URL and that did seem to fix the issue with the Report Management page load but we weren't comfortable that it would address everything, so since this was not in use yet and we were not in production, we decided to delete and recreate the service application.

&nbsp;

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>PowerPivot Refresh and Timer job failures</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/powerpivot-refresh-and-timer-job-failures</link>
      <pubDate>Wed, 20 Dec 2017 21:59:21 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/?p=217</guid>
      <description><![CDATA[Recently I was working with a customer in a hardened environment to get PowerPivot working in a test...]]></description>
      <content:encoded><![CDATA[Recently I was working with a customer in a hardened environment to get PowerPivot working in a test environment and having a few issues.

&nbsp;
<h1><strong>Background:</strong></h1>
This is a lab and does not have office web apps. We started with multiple accounts for everything but have reverted to basically the farm account until we get this fully functional. We are not using an alias for anything.   We are SQL2012 SP3 CU10 on the analysis server and SharePoint.

Farm Account is running the following services and is local admin on the 1 box in the farm. Is it also the unattended account for all the Secure Store Target Applications and added ad an admin on Analysis Server.

Microsoft SharePoint Foundation Sandboxed Code Service
Distributed Cache
User Profile Synchronization Service
Claims to Windows Token Service
Security Token Service Application
Application Discovery and Load Balancer Service Application
PowerPivot Service Application
Excel Services Service Application
Reporting Services Service Application

&nbsp;
<h2><strong>PowerPivot gallery manual and scheduled refresh will not work. I can load and interact with the spreadsheet but if I attempt to refresh I get the error: “We were unable to refresh one or more data connections in this workbook. The following connections failed to refresh:”</strong></h2>
<strong>In the ULS logs we see:
</strong>

ASPPHOST::ShowEngineError: Out of line object 'DataSource', referring to ID(s) &lt;GUID&gt;, has been specified but has not been used. OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001. OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001.

Failed to create an external connection or execute a query. Provider message: Out of line object 'DataSource', referring to ID(s) &lt;GUID&gt;, has been specified but has not been used. OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001. OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001. , ConnectionName: ThisWorkbookDataModel, Workbook: TestBook.xlsx.

ASPPERRORINFO dump:[ Errorcode:aspperrConnectionFailed EXCEPTION MESSAGE: Out of line object 'DataSource', referring to ID(s) &lt;GUID&gt;, has been specified but has not been used. OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001. OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001.   ]

PivotException::GetExceptionFromHr: hr -2146827284.

UserWorkbook.HandleExternalDataRefreshFailure: Failed to execute query, sessionId=1.V23.200Zsx2g5gOpLX6jgeyakpB14.5.en-US5.en-US36.4054e912-99c3-47c3-9abc-4a72c61bb0fa1.A1.N, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.PivotException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.PivotException' was thrown., externalsource=SqlServer BI_TEST, extendedConnectionInfo=Microsoft.Office.Excel.Server.CalculationServer.ExtendedConnectionInfo

<strong>On the analysis server I see</strong>:

Message: OLE DB or ODBC error: A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.; 08001; Client unable to establish connection; 08001; Encryption not supported on the client.; 08001. (Source: \\?\D:\SQLData\MSAS11.POWERPIVOT\OLAP\Log\msmdsrv.log, Type: 3, Category: 289, Event ID: 0xC1210003)
<h2><strong>The “PowerPivot Management Dashboard Processing Timer Job” is failing with the error </strong></h2>
<strong>When Clicking on the “Failed” link in Central Admin for Job History I see: </strong>

Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: Could not load file or assembly 'System.Transactions.dll' or one of its dependencies. Access is denied.

<strong>In the Application Event Log for SharePoint I see: </strong>

Event ID 6398 The Execute method of job definition Microsoft.AnalysisServices.SPAddin.UsageProcessingTimerJob (ID &gt;GUID&gt;) threw an exception. More information is included below. Errors in the high-level relational engine. The following exception occurred while the managed IDbConnection interface was being used: Could not load file or assembly 'System.Transactions.dll' or one of its dependencies. Access is denied.
<h2><strong>Troubleshooting</strong></h2>
I’ve verified that the USERS group has read/execute on 'System.Transactions.dll' located in c:\Windows\Microsoft.NET\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089 for both SSAS and SharePoint

I verified that USERS group and everyone is in the security right to Bypass Traverse checking for SharePoint as I have had issues in the past with .NET 4 DLLs.      <a href="https://blogs.technet.microsoft.com/leesab/2014/11/03/how-to-determine-what-user-rights-assignments-are-required-by-sharepoint-2010/">https://blogs.technet.microsoft.com/leesab/2014/11/03/how-to-determine-what-user-rights-assignments-are-required-by-sharepoint-2010/</a>

I ran a procmon filtering initially on OWSTIMER but do not see any access denied errors or even an attempt to access to 'System.Transactions.dll'

I created an UDL file to test connectivity

I ran wireshark looking for blocked ports

I read numerous blogs and posts but everything in my environment was exactly as the blogs listed.

Finally I ran across this article <a href="https://blogs.msdn.microsoft.com/as_emea/2015/12/09/ssas-2012-in-a-hardened-windows-2012-environment/">https://blogs.msdn.microsoft.com/as_emea/2015/12/09/ssas-2012-in-a-hardened-windows-2012-environment/</a> which indicates that the security right to Bypass Traverse must be allowed when doing impersonation within SSAS. We added ‘Authenticated Users’ on the SSAS server and now all is working.]]></content:encoded>
    </item>
    <item>
      <title>How to be Social in SharePoint 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/how-to-be-social-in-sharepoint-2013</link>
      <pubDate>Wed, 21 Sep 2016 15:32:51 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/?p=215</guid>
      <description><![CDATA[SharePoint 2013 introduced several new features around Social.

We started with social feature...]]></description>
      <content:encoded><![CDATA[SharePoint 2013 introduced several new features around <a href="https://technet.microsoft.com/en-us/library/jj219766.aspx">Social</a>.

We started with social feature "following " and due to the highly least privileged design ran into several permission issues. The resolution to this was found in several different blogs. In an effort to help somebody from running through all these issues, I have linked all the items I ran into here.

First thing that should be done is to <a href="https://technet.microsoft.com/en-us/library/jj219613.aspx">fine tune distributed cache</a>. Then configured Manage Metadata, Search, User Profile Service, main portal site and Mysites

We used different application pool accounts for the main portal and the mysites so we ran into permissions issues. We needed to grant the main portal application pool SPdataAccess to the mysite databases so that it could write back to the database ("Following" data is stored in the mysite database). We found the errors in the SQL and ULS  logs that the application pool did not have this access to the mysites databases. We also found that the User Profile AppPool account also needs this access. If you do not know this account go into Central Admin --&gt; Security --&gt; Configure Service Accounts --&gt;  in the dropdown select “Service Application Pool – User Profile Service”. You will now see the account.

After we fixed the database permissions we started to get the errors below and <a href="https://blogs.technet.microsoft.com/mpriem/2012/08/20/sharepoint-2013-preview-newsfeeds-showing-nothing/">SharePoint 2013 Preview Newsfeeds showing nothing</a>

“SharePoint returned the following error: The operation failed because the server could not access the distributed cache. Internal type name: Microsoft.Office.Server.Microfeed.MicrofeedException. Internal error code: 55. Contact your system administrator for help in resolving this problem.”

Or

“We’re still collection the latest news. You may see more if you try again a little later.”

To resolve this we had to go into Central Admin --&gt; Manage service application Highlight (but do not click on) the User Profile service application. Now click “permissions” in the top ribbon. You should see the farm account and the appPool accounts for you portal and mysites. You need to add the appPool that runs your user profile service application.

This seemed to be the fix and "Following" was now working. Coming in the next day it was broke again. Eventually I found that we needed to "grant the User Profile Service Application Pool rights to the Cache". One of the servers running distributed cache was also running the user profile service application, so if that server was hit everything worked but when it hit another distributed cache server it would not. If you run <strong>get-cacheallowedclient</strong> on one of the distributed cache servers you will see the WSS_WPG and WSS_ADMIN_WPG have these rights. You can run <strong><a href="https://blogs.msdn.microsoft.com/sambetts/2014/07/16/troubleshooting-appfabric-error-messages-for-sharepoint/">Grant-CacheAllowedClientAccount</a></strong> command and add User Profile service appPool.

&nbsp;

If you using Work Management there is a good wiki <a href="https://social.technet.microsoft.com/wiki/contents/articles/12525.sharepoint-2013-work-management-service-application.aspx">https://social.technet.microsoft.com/wiki/contents/articles/12525.sharepoint-2013-work-management-service-application.aspx</a> with the permissions for that.

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Error "the formula contains a syntax error or is not supported" when attempting to add custom content type to document library after SharePoint Migration.</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/error-the-formula-contains-a-syntax-error-or-is-not-supported-when-attempting-to-add-custom-content-type-to-document-library-after-sharepoint-migration</link>
      <pubDate>Sat, 09 May 2015 09:44:00 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/2015/05/09/error-the-formula-contains-a-syntax-error-or-is-not-supported-when-attempting-to-add-custom-content-type-to-document-library-after-sharepoint-migration/</guid>
      <description><![CDATA[Recently we had finished a migration from SharePoint 2007 to SharePoint 2010 and on one of the sites...]]></description>
      <content:encoded><![CDATA[<p>Recently we had finished a migration from SharePoint 2007 to SharePoint 2010 and on one of the sites that created some custom content types we started to receive the error message</p>
<p>&ldquo;The formula contains a syntax error or is not supported&rdquo;.</p>
<p>We looked at the different columns trying to figure out which might have a calculated field, but could not find one. Finally we used PowerShell to get a list of content types and their fields.&nbsp;</p>
<p>$web = get-spweb https://contoso.com/sites/content&nbsp; <br />$web.ContentTypes &gt; f:\fields.txt</p>
<p>After we opened up the txt document we did a search on Formula and found that there was a field called QTR that was using a formula.</p>
<p>The column 1Q did not exist so it was unable to calculate the value.&nbsp; <br />We then changed the QTR content type from calculated to choice and this resolved our issue.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/8715.Formula.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/8715.Formula.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/8715.Formula.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/8715.Formula.png" border="0" /></a></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>How to determine what "User Rights Assignments" are required by SharePoint 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/how-to-determine-what-user-rights-assignments-are-required-by-sharepoint-2010</link>
      <pubDate>Mon, 03 Nov 2014 07:06:00 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/2014/11/03/how-to-determine-what-user-rights-assignments-are-required-by-sharepoint-2010/</guid>
      <description><![CDATA[A while ago I worked with a customer that kept having issues with SharePoint "not working".   This...]]></description>
      <content:encoded><![CDATA[A while ago I worked with a customer that kept having issues with SharePoint "not working".   This could be anything from Search not returning results to office Web applications not opening items.

What we eventually found was that the network team was creating GPOs that were removing User Rights that SharePoint service accounts needed.

As part of the build documentation I suggest you record the following:
<ul>
 	<li>Determine what services run on each server, who they run as, and what account do they use.</li>
 	<li>Determine what User Rights do each account have, this would include local accounts as well as service accounts.</li>
 	<li>Determine what local groups each account is a member of.</li>
</ul>
At the end of this blog I've also added links for different SharePoint permissions that are required, and remember that when running SharePoint wizard it will run the "psconfig -cmd secureresources" that will secure resources in file system and registry entries.

<strong><span style="font-size: medium">Determine what services run on each server   </span></strong>

First I created a spreadsheet of each server and then listed the services that SharePoint created on that server, as well as the start up type, and log on as account.

The services running and start up type will vary between servers depending on the services running. I basically have 4 types of servers Central Admin, User Profile, Application, and Web Front End. If you have FAST installed you would also want to add those windows services.  Log this information into a spreadsheet so that you have a baseline of where you started, you would log this for each server in the farm.

Below is an example of the<span style="background-color: #ffffff"> Central Admin server</span>. :
<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/CA%20Services.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/CA%20Services.png" border="0" /></a>

<strong><span style="font-size: medium">Determine what User Rights each account has</span></strong>

Now on each server in the farm open up Local Security Policy (SECPOL from a command prompt).

Look at the following rights and record the accounts with these rights.
<ul>
 	<li>Adjust memory quotas for a process</li>
 	<li>impersonate a client after authentication</li>
 	<li>Logon as a batch job</li>
 	<li>logon as a service</li>
 	<li>replace token level access</li>
 	<li>Allow Logon through Desktop Services</li>
 	<li>Allow Log on locally</li>
</ul>
Here is an example from my lab.  In the lab we created a separate account for everything.  If considering this also consider the overhead of administering all these accounts. Log this information on each of your servers as the rights will vary based on what services are being provided by that server.

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/CA%20Windows%20Rights.PNG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/CA%20Windows%20Rights.PNG" border="0" /></a>

Determine what Local Groups each account has.

Open up computer manager and go through each of the local group and record any accounts that have membership in the following groups.
<ul>
 	<li>Administrators</li>
 	<li>IIS_IUSRS</li>
 	<li>Performance Log Users</li>
 	<li>Performance Monitor Users</li>
 	<li>Remote Desktop Users</li>
 	<li>WSS_ADMIN_WPG</li>
 	<li>WSS_RESTRSICTED_WPG_V4</li>
 	<li>WSS_WPG</li>
</ul>
Below is from my central admin.

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/CA%20Group%20Membership.PNG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/CA%20Group%20Membership.PNG" border="0" /></a>

If you go through this process you will see that your setting can vary greatly by the services each server provides but this should give you a good baseline for comparison later if required.

If you would like to see the WFE or APP servers, just let me know.

Additional Links

<a href="https://technet.microsoft.com/en-us/library/cc262849(v=office.14).aspx#ServiceApp" title="Plan security hardening (SharePoint Server 2010)">Plan security hardening (SharePoint Foundation 2010)</a>

<a href="https://technet.microsoft.com/en-us/library/cc678863(v=office.14).aspx" title="Account permissions and security settings">Account permissions and security settings</a>

<a href="https://support.microsoft.com/kb/2722087" title="How to configure Claim to Windows Token Services in SharePoint 2010 with Kerberos Authentication ">How to configure Claim to Windows Token Services in SharePoint 2010 with Kerberos Authentication</a> (add C2WTS account to Administrators group and grants a couple of windows rights -  not captured above)

<a href="https://support.microsoft.com/kb/2473430" title="SharePoint 2010: MsiInstaller errors while attempting to manage a User Profile Service Application">SharePoint 2010: MsiInstaller errors while attempting to manage a User Profile Service Application</a> (Grant network service rights to %programfiles%\Microsoft Office Servers\14.0)

<a href="https://social.technet.microsoft.com/wiki/contents/articles/27655.sharepoint-2013-group-policy-considerations-for-a-sharepoint-farm.aspx" title="https://social.technet.microsoft.com/wiki/contents/articles/27655.sharepoint-2013-group-policy-considerations-for-a-sharepoint-farm.aspx">SharePoint 2013 Group Policy Considerations</a> (Focused on 2013 but good reading as most applies to 2010)

I recently ran into an issue with CLAIMS and "Bypass Traverse checking" following  this article <a href="https://technet.microsoft.com/en-us/library/dd364071%28v=ws.10%29.aspx?f=255&amp;MSPPError=-2147217396">https://technet.microsoft.com/en-us/library/dd364071%28v=ws.10%29.aspx?f=255&amp;MSPPError=-2147217396.</a>. We tried replacing Everyone with IIS_IUSRS and the appools seemed to be working, I could get into my service apps and the pools no longer stopped.  The main portal however broke with Event ID 8305  "Access Denied" to the 'System.Xaml.Hosting.dll' and 'Microsoft.IdentityModel.Extensions.dll'.]]></content:encoded>
    </item>
    <item>
      <title>SharePoint 2010 ULS (Diagnostic ) logs not working, 0KB is size.</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/sharepoint-2010-uls-diagnostic-logs-not-working-0kb-is-size</link>
      <pubDate>Tue, 14 Oct 2014 08:36:52 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/2014/10/14/sharepoint-2010-uls-diagnostic-logs-not-working-0kb-is-size/</guid>
      <description><![CDATA[Recently I was working on a test farm and ran across an issue where the ULS log where not being...]]></description>
      <content:encoded><![CDATA[<p>Recently I was working on a test farm and ran across an issue where the ULS log where not being written to.</p>
<p></p>
<p>There are several blogs out there on this issue, however&nbsp;I did&nbsp;not see any that mentioned checking the WSSTRACESESSION14 trace session.&nbsp;&nbsp;&nbsp;</p>
<p>First open up SharePoint PowerShell (as administrator) and run the following command: <strong>Get-SPLogLevel </strong> this will list the current logging level.&nbsp; If everything is set to <strong>NONE</strong> then at some point logging was disabled. Simply go back into<strong> Central Admin</strong> --&gt; <strong>Monitoring</strong> --&gt; <strong>Configure diagnostic monitoring</strong> then set the appropriate logging level.&nbsp; Note: This page will list the location of the folder where your logs are writing to, check to ensure you are not low on disk space,</p>
<p>Next let&#39;s check what account is running the windows service &quot;SharePoint 2010 Tracing&quot;,normally this is&nbsp;&quot;Local Service&quot; and should not be changed.&nbsp; The &quot;Local Service&quot; , WSS_ADMIN_WPG, WSS_WPG, and WSS_RESTRICED_WPG_V4&nbsp;accounts&nbsp;should have the following permissions (WSS_ADMIN_WPG should also include delete) on the folder that contains your logs:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/1207.WSSTRACESession14_LocalServicePermissions.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/1207.WSSTRACESession14_5F00_LocalServicePermissions.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/1207.WSSTRACESession14_LocalServicePermissions.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/1207.WSSTRACESession14_5F00_LocalServicePermissions.png" border="0" /></a></p>
<p>If you have to change permissions you will want to recycle the &quot;SharePoint 2010 Tracing&quot; service. Once you have verified the permissions are correct, then&nbsp;we will want to check the Event Trace Sessions.&nbsp;</p>
<p>The Event Trace Sessions are located inside of Performance Monitor.</p>
<p>Once you open up Performance Monitor, click to expand <strong>Data Collector Sets</strong>, then click on <strong>Event Trace Sessions</strong>.&nbsp; On the Right you will see <strong>WSSTRACESESSION14</strong> (you will also see <strong>WSSUASGESESSION14</strong> which is used for the usage logs)</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/8508.WSSTRACESession14ETS.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/8508.WSSTRACESession14ETS.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/8508.WSSTRACESession14ETS.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/8508.WSSTRACESession14ETS.png" border="0" /></a></p>
<p>Right click on <strong>WSSTRACESESESSON14</strong> then click on <strong>Properties</strong>.</p>
<p>You will now see the Provider for this Event Trace Session.&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/WSSTRACESession14Providers.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/WSSTRACESession14Providers.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/WSSTRACESession14Providers.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/WSSTRACESession14Providers.png" border="0" /></a></p>
<p>Click on <strong>Security</strong> (either the tab up top or the button to the right) and review the permissions.&nbsp; WSS_ADMIN_WPG, WSS_WPG, and WSS_RESTRICED_WPG_V4&nbsp; should be listed and should have TRACE_LOG_EVENT permission.</p>
<p>If these are missing they will need to be added.&nbsp; I found that there is a trick to adding permissions. If you simply add then and click <strong>Apply</strong> and then Click <strong>OK</strong> the permissions will not stay.&nbsp; So I add all the IDs that need permissions and grant them the appropriate permission, then I flip back to Performance Monitor and right click on <strong>WSSTRACESESSION14</strong> then click<strong> stop</strong>.&nbsp; I quickly toggle back to the Security setting screen and then click <strong>Apply</strong> and then click <strong>OK</strong>.&nbsp; Now toggle back to Performance monitor and right click&nbsp;WSSTRACESESSION14 session and click <strong>start</strong>. If you now verify your permissions you should see the IDs added along with the permissions.</p>
<p>If you look at&nbsp;the&nbsp;blogs out&nbsp;on the internet&nbsp;you will see several that suggest adding the &quot;Account&quot; that is nor logging to &ldquo;Performance Log Users&rdquo;.&nbsp; This will fix the issue but if you review the permissions for &ldquo;Performance Log Users&rdquo; you will see that you are granting more permissions to the &quot;account&quot; then if you follow the above instructions. Also for SharePoint 2013 the permissions for WSS_ADMIN_WPG will have a lot more rights then what it has in SharePoint 2010 and more than &ldquo;Performance Log Users&rdquo; so you may not grant all the correct permissions if you are running SharePoint 2013.</p>
<p></p>
<p>Note: There should be a registry entry at HKLM\SYTEM\CURRENTCONTROLSET\WMI\SECURITY that corresponds to the Provider number listed above, if this registry is missing then most likely you have the &quot;default&quot; Event Trace session permissions and so the WSS_ADMIN_WPG, WSS_WPG, and WSS_RESTRICED_WPG_V4&nbsp;probably do not have permissions.&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/WSSTRACESession14Providers05d3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/WSSTRACESession14Providers05d3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/WSSTRACESession14Providers05d3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/WSSTRACESession14Providers05d3.png" border="0" /></a></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>How to manage SharePoint as a non-administror</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/how-to-manage-sharepoint-as-a-non-administror</link>
      <pubDate>Tue, 02 Sep 2014 08:04:00 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/2014/09/02/how-to-manage-sharepoint-as-a-non-administror/</guid>
      <description><![CDATA[Companies lately have become more security conscience.&nbsp; While as a whole this is a good thing,...]]></description>
      <content:encoded><![CDATA[<p>Companies lately have become more security conscience.&nbsp; While as a whole this is a good thing, sometimes this will&nbsp;make it more difficult to manage the services that IT provides.&nbsp; One of the questions I was recently asked was how can we manage SharePoint as a&nbsp; non-administrator.&nbsp; <strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">Please note that I do not think this is a good idea and that it may actually harm the ability to restore services and increase the time to restore services</span>.</span></strong></p>
<p>Looking at the daily tasks a SharePoint Admin must perform I have come up with this list.&nbsp; It is not meant to be all inclusive.&nbsp; See this link for&nbsp;more detailed &nbsp;information on <a title="Operations Framework and Checklists" href="https://technet.microsoft.com/en-us/library/gg277248.aspx">Operations Framework and Checklists</a>&nbsp;</p>
<ul>
<li>Review Logs.</li>
<li style="list-style-type:none;">
<ul>
<li>IIS Logs</li>
<li>ULS - Diagnostics logs</li>
<li>Usage logs</li>
<li>Event log</li>
</ul>
</li>
<li>Review Timer jobs</li>
<li>Review Health Analyzer</li>
<li>Review Performance Metric
<ul>
<li>CPU</li>
<li>Memory</li>
<li>Disk Space</li>
</ul>
<p style="padding:0;margin:0;"></p>
</li>
<li>Review, Apply Hotfixes, Roll UPs, Security Updates, Service Packs</li>
<li>Analyze and respond to any issues</li>
</ul>
<p>Q: So how do we do these tasks as a non-administrator?</p>
<p>A; very Carefully.</p>
<p></p>
<p><span style="font-size:medium;"><strong>Review Logs&nbsp;and analyze and respond to any issues<br /></strong></span></p>
<p>Reviewing and analyzing logs simply&nbsp;requires NTFS permissions on the folders where the logs are stored. This is pretty easy to configure.&nbsp; Responding to issues may require the use of the SharePoint PowerShell Management Shell.&nbsp; This requires that you be a member of <a title="spShellAdmin" href="https://technet.microsoft.com/en-us/magazine/gg490648.aspx">SPShellAdmin</a>, which depending on how tight security is you may or may not have this right.&nbsp; Even if you do, you will find that some commands that write to directories or files will require you to be an admin on the box and will fail if the correct permissions are not in place.&nbsp;&nbsp;</p>
<p><strong><span style="font-size:medium;">Review Timer jobs<br /><br /></span></strong><strong></strong>Log into central admin and verify in <strong>Monitoring&nbsp;</strong> --&gt; <strong>Check Job Status</strong> that there are no &quot;Stuck&quot; jobs.&nbsp; If you find jobs are stuck you find that you need to clear the Timer Cache.&nbsp; In order to do this you must stop the SharePoint Timer service but as a non admin on the server you probably can&#39;t do that.&nbsp; So you will need to <a title="Delegate the ability to manage windows services" href="/b/leesab/archive/2014/09/02/how-to-use-a-gpo-to-delegate-windows-services-administration-to-a-non-admin-on-sharepoint-servers.aspx">Delegate the ability to manage windows services</a>.&nbsp; You also might find that you need to <a title="manage IIS " href="/b/leesab/archive/2014/07/30/delegating-iis-administration-to-domain-users-non-administrators.aspx">manage IIS </a>or <a title="Reset Application Pools" href="/b/leesab/archive/2014/08/13/how-to-use-web-deploy-for-administration-of-application-pools-by-non-administrators.aspx">Reset Application Pools</a>&nbsp;both of which typically require Admin rights.&nbsp;</p>
<p><strong>&nbsp;<span style="font-size:medium;">Review Health Analyzer</span></strong></p>
<p>Log into Central Admin review in <strong>Monitoring --&gt; Review Problems and solution</strong> what issues SharePoint has identified.&nbsp; Some health issues will have a <strong>Repair Automatically</strong> button that will attempt to resolve the issue. If this does not work, you may find you need to review logs, stop/start services, reset IIS , or engage an administrator on the server.&nbsp;</p>
<p><strong><span style="font-size:medium;">Review Performance Metrics</span></strong></p>
<p>In order to review performance metrics you will need to be part of the local computer group <strong>Performance Monitor Users.&nbsp;</strong></p>
<p><span style="font-size:medium;"><strong>Review, Apply Hotfixes, Roll UPs, Security Updates, Service Packs</strong></span></p>
<p>This task should be performed with the Install Account. The install account must be an administrator on the local servers.&nbsp; You can disable this account when not patching to achieve the hardening of the server.</p>
<p></p>
<p><strong><span style="font-size:medium;">How to enable Remote PowerShell for SharePoint 2013 for Non-Administrators</span></strong></p>
<p><span>My Article is primarily focused on SharePoint 2010 but I have a college that has an article for SharePoint 2013&nbsp;about <a title="running PowerShell remotely as Non-Administer" href="/b/anneste/archive/2014/09/17/how-to-enable-remote-powershell-for-sharepoint-2013-for-non-administrators.aspx">running PowerShell remotely as a&nbsp;Non-Administer</a>.&nbsp;&nbsp;<strong><br /></strong></span></p>
<p></p>
<p><strong><span style="font-size:medium;">Conclusion</span></strong> </p>
<p>As you can see there is a lot of extra configuration that needs to be done to achieve partial ability to manage SharePoint as a non Administrator.&nbsp; Deep debugging will almost always require admin access in order to dump or trace processes, so my advice is please&nbsp;do not attempt to&nbsp;run SharePoint servers as a non administrator.</p>
<p>&nbsp;</p>
<p><strong>&nbsp;</strong></p>
<p><strong>&nbsp;</strong></p>
<p><strong><span style="font-size:small;">&nbsp;</span></strong></p>]]></content:encoded>
    </item>
    <item>
      <title>How to use a GPO to delegate Windows Services Administration to a non-admin on SharePoint servers.</title>
      <link>https://docs.microsoft.com/archive/blogs/leesab/how-to-use-a-gpo-to-delegate-windows-services-administration-to-a-non-admin-on-sharepoint-servers</link>
      <pubDate>Tue, 02 Sep 2014 07:01:00 GMT</pubDate>
      <dc:creator><![CDATA[LeesaB]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/leesab/2014/09/02/how-to-use-a-gpo-to-delegate-windows-services-administration-to-a-non-admin-on-sharepoint-servers/</guid>
      <description><![CDATA[&nbsp;On a SharePoint computer you will need to add the Feature &ndash; Group Policy Management. You...]]></description>
      <content:encoded><![CDATA[<p>&nbsp;<br />On a SharePoint computer you will need to add the Feature &ndash; Group Policy Management. You will need to perform this on a SharePoint server as the services you need to configure for delegation must be on the server you are creating the GPO on.&nbsp;</p>
<p><strong>Note </strong>this requires elevated rights and is typically handled by an AD group.&nbsp; Based on that some of these instructions may be very light.</p>
<p><br />Open up <strong>Server Manager</strong> expand <strong>Features</strong> expand <strong>Group Policy Management</strong> expand<strong> Forest:Contoso.com</strong> expand<strong> Domains</strong> expand<strong> Contoso.com</strong> right click on<strong> Group Policy Objects</strong> click <strong>New</strong>.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO.png" border="0" /></a></p>
<p><br />You will now get a pop-up to enter a <strong>Name</strong> and <strong>comment</strong>. Enter something descriptive. Then click <strong>OK</strong>.<br /><strong>&nbsp;</strong><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/New%20GPO.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/New-GPO.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/New%20GPO.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/New-GPO.png" border="0" /></a></p>
<p><br />Right click on the new Group Policy Object just created then click<strong> edit.</strong></p>
<p><br />Click to expand <strong>Policies</strong> Click to expand <strong>Windows Settings</strong> Click to expand<strong> Security Settings</strong> Click on <strong>System Services</strong>.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO%20Services.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO-Services.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO%20Services.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO-Services.png" border="0" /></a><br />&nbsp;<br />On the Right hand side you will find the services that are on the server.&nbsp; <br />Scroll through the services until you see one you wish to delegate.<br />&emsp;<br />The first SharePoint Service I see in <strong>Claims to Windows Token Service</strong>. Double click on this service.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO%20C2wts.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO-C2wts.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO%20C2wts.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO-C2wts.png" border="0" /></a><br />&nbsp;<br />Click to check <strong>Define this policy setting</strong>.&nbsp; Now select <strong>service startup mode</strong>.&nbsp; (Open up services.msc to determine the current mode that this particular service is currently configured as.)</p>
<p><strong>Note</strong> to save time you may want to create an excel spreadsheet with all the services and startup mode for all servers in the farm for faster reference&nbsp; You will most likely find that you require multiple GPOs as not all startup modes will be the same across all servers.&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO%20C2wts.%20Configure.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO-C2wts.-Configure.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO%20C2wts.%20Configure.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO-C2wts.-Configure.png" border="0" /></a><br />&nbsp;<br />After selecting the <strong>startup mode</strong>. Click <strong>edit Security</strong>.<br />Add in the AD user/group that will require rights to manage this service.&nbsp; In my case I added<strong>&nbsp; contoso\app Admins </strong>(This is the same group I used for <a title="IIS delegation " href="/b/leesab/archive/2014/07/30/delegating-iis-administration-to-domain-users-non-administrators.aspx">IIS delegation</a> and <a title="Web Deploy" href="/b/leesab/archive/2014/08/13/how-to-use-web-deploy-for-administration-of-application-pools-by-non-administrators.aspx">Web deploy</a>&nbsp;) with Start, stop, pause. You will also need to&nbsp;add contoso\farm with full control (If you have followed least privilege your farm account will not be in the local administrators group, not having full control will cause issues when running PSCONFIG).</p>
<p>Click<strong> OK</strong> when complete.<br />&emsp;<br /><strong>Claims to Windows Token Service</strong> is now configured.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO%20C2wts%20Configured.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO-C2wts-Configured.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/47/GPO%20C2wts%20Configured.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-47/GPO-C2wts-Configured.png" border="0" /></a><br />&nbsp;<br />Repeat this for all services you wish to delegate Setting the <strong>startup mode</strong> and <strong>permissions</strong>. <br />Here is the list of Windows services I ended up with (If you have Project server, you will need to add those services):</p>
<p><br />&bull;&nbsp;Claims to windows token service<br />&bull;&nbsp;Document Conversion Launcher<br />&bull;&nbsp;Document Conversion load Balancer<br />&bull;&nbsp;Forefront Identity Manager Service<br />&bull;&nbsp;Forefront Identity Manager Synchronization Service<br />&bull;&nbsp;IIS Admin Service * Note this is not a SharePoint service so Farm only needs Start, stop, pause <br />&bull;&nbsp;SharePoint 2010 Administration<br />&bull;&nbsp;SharePoint 2010 Timer<br />&bull;&nbsp;SharePoint 2010 Tracing<br />&bull;&nbsp;SharePoint 2010 User Code Host<br />&bull;&nbsp;SharePoint 2010 VSS Writer<br />&bull;&nbsp;SharePoint Foundation Search V4<br />&bull;&nbsp;SharePoint server Search 14<br />&bull;&nbsp;Web Analytics Service</p>
<p><br />Close <strong>Group Policy Editor</strong>.<br />Create any more GPOs that you may need.<br />Target the GPOs to the appropriate server(s).</p>]]></content:encoded>
    </item>
  </channel>
</rss>