<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Just do I(nformation)T(echnology)</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/mpriem/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/mpriem/feed.xml</link>
    <description>Mainly SharePoint</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:47:38 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Backup-SPFarm and Search</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/backup-spfarm-and-search</link>
      <pubDate>Mon, 27 May 2013 11:34:46 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2013/05/27/backup-spfarm-and-search/</guid>
      <description><![CDATA[Last week I was tasked with creating some backup/restore scripts for SharePoint. The backup scripts...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Segoe UI">Last week I was tasked with creating some backup/restore scripts for SharePoint. The backup scripts kept erroring out with the following issue:
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"><span style="color:white; background-color:navy">Backup</span> for 'Search Service 1(099045f6-a648-48f1-9a05-a9371c5d9b88)' failed. System.ServiceModel.FaultException: Management called failed with System.InvalidOperationException: 'Job failed: Have tried to perform <span style="color:white; background-color:navy">backup</span>/restore operation twice on all in-sync members in cluster SP569693711984.1, but none succeeded. Last failure message: Microsoft.Ceres.SearchCore.Seeding.SnapshotTransferException: Could not send chunk ms\%default\gen.000000000000024c.state: Localpath: [0-338&gt; to target <span style="color:white; background-color:navy">Backup</span>DirectoryTarget[directory=\\servername\<span style="color:white; background-color:navy">Backup</span>$\spbr000D\I.2.1,validateTransfers=False]    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Ceres.SearchCore.Seeding.SnapshotSender.SendChunks(ISnapshot snapshot, ISeedSource source, ISeedTarget target, SeedStatus status, Func`1 checkAborted, Int32 targetFragIndex)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Ceres.SearchCore.Seeding.SnapshotSender.FirstPhaseTransfer(ISeedSource source, ISeedTarget target, Action`1 updateProgress, Func`1 shouldAbort)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Ceres.SearchCore.Seeding.<span style="color:white; background-color:navy">Backup</span>Worker.<span style="color:white; background-color:navy">Backup</span>Work.DoFirstPhaseWork()'
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt">at   
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Ceres.SearchCore.IndexController.<span style="color:white; background-color:navy">Backup</span>Service.ThrowOnFailure(JobStatus status)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Ceres.SearchCore.IndexController.<span style="color:white; background-color:navy">Backup</span>Service.ProgressSecondPhase(String handle)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Ceres.SearchCore.IndexController.IndexControllerManagementAgent.WrapCall[T](Func`2 original)    Server stack trace:     
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt">at [0]:     
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Ceres.SearchCore.Admin.IIndexControllerManagementAgent.ProgressSecondPhase(String handle)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Office.Server.Search.Administration.BRIndexComponent.RetryWhileNoEndPoint[T](Func`2 action, SP<span style="color:white; background-color:navy">Backup</span>RestoreInformation args, Guid ssaId, TimeSpan retryTimeout)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Office.Server.Search.Administration.BRIndexComponent.RetryWhileNoEndPoint[T](Func`2 action, SP<span style="color:white; background-color:navy">Backup</span>RestoreInformation args, Guid ssaId, TimeSpan retryTimeout)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Office.Server.Search.Administration.BRIndexComponent.&lt;&gt;c__DisplayClass13`1.&lt;RetryWhileNoEndPoint&gt;b__12()    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.SharePoint.SPSecurity.&lt;&gt;c__DisplayClass5.&lt;RunWithElevatedPrivileges&gt;b__3()    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Office.Server.Search.Administration.BRIndexComponent.RetryWhileNoEndPoint[T](Func`2 action, SP<span style="color:white; background-color:navy">Backup</span>RestoreInformation args, Guid ssaId)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Office.Server.Search.Administration.BRIndexComponent.WaitPhaseComplete(SP<span style="color:white; background-color:navy">Backup</span>Information args, Func`2 getProgress, Int32 sleepTime)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Office.Server.Search.Administration.BRIndexComponent.WaitSecondPhase<span style="color:white; background-color:navy">Backup</span>Complete(SP<span style="color:white; background-color:navy">Backup</span>Information args)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Office.Server.Search.Administration.TwoPhase<span style="color:white; background-color:navy">Backup</span>Helper.WaitSecondPhase<span style="color:white; background-color:navy">Backup</span>CompleteChildren(SP<span style="color:white; background-color:navy">Backup</span>Information args)    
</span></p><p><span style="font-family:Microsoft Sans Serif; font-size:8pt"> at Microsoft.Office.Server.Search.Administration.SearchServiceApplication.On<span style="color:white; background-color:navy">Backup</span>(SP<span style="color:white; background-color:navy">Backup</span>Information args)
</span></p><p>
 </p><p><span style="font-family:Segoe UI">After trying dozens of things, in the end the solution to this issue is to run the script from a server that has a running Search service instance. The script will not work on servers that do not have search configured.
</span></p><p><span style="font-family:Segoe UI">I'm running SharePoint 2013 RTM.</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Kerberos configuration tool for SQL Server</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/kerberos-configuration-tool-for-sql-server</link>
      <pubDate>Fri, 24 May 2013 04:08:53 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2013/05/24/kerberos-configuration-tool-for-sql-server/</guid>
      <description><![CDATA[SharePoint experts must love to hurt themselves. How else do we go through the pain of configuring...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Segoe UI">SharePoint experts must love to hurt themselves. How else do we go through the pain of configuring Kerberos or getting User Profile Service to work. <br/>Oh yeah don't forget the endless variations in Service Application configuration. There is a different way of doing things for every freakin' one of them.
</span></p><p><span style="font-family:Segoe UI">Off course every one of us has their own bag of <span style="text-decoration:line-through">tricks</span> scripts to help out. And for the sorry souls out there that don't …. Well …<br/>At least now getting Kerberos to work can get a lot easier if you use the recently released Kerberos configuration tool for SQL Server.
</span></p><p><span style="font-family:Segoe UI">It is a simple tool that connects to a server containing SQL compontents (for example: DB engine, analysis services, and reporting services), and checks AD if the appropriate SPNs are set.<br/>It also lets you generate the scripts to configure them if they are not. Pretty neat huh?
</span></p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/30/metablogapi/8535.052413_1108_Kerberoscon1.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-68-30-metablogapi/8535.052413_5F00_1108_5F00_Kerberoscon1.png" alt=""/><span style="font-family:Segoe UI">
		</span></p><p><span style="font-family:Segoe UI">Obviously this is not the entire story when it comes to configuring Kerberos for various scenarios within SharePoint, but it does does hurt a whole lot less if you use tools like these.
</span></p><p><span style="font-family:Segoe UI">For more information on the tool, go to <a href="http://blogs.msdn.com/b/analysisservices/archive/2013/05/23/released-kerberos-configuration-manager-for-sql-server.aspx">http://blogs.msdn.com/b/analysisservices/archive/2013/05/23/released-kerberos-configuration-manager-for-sql-server.aspx</a>
		</span></p><p><span style="font-family:Segoe UI">For more information on configuring Kerberos for SharePoint, go to <a href="http://technet.microsoft.com/en-us/library/ee806870.aspx">http://technet.microsoft.com/en-us/library/ee806870.aspx</a>
		</span></p><p>
 </p><p><span style="font-family:Segoe UI">
		</span> </p>]]></content:encoded>
    </item>
    <item>
      <title>Beware of IIS authentication settings when deploying SharePoint 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/beware-of-iis-authentication-settings-when-deploying-sharepoint-2013</link>
      <pubDate>Mon, 13 May 2013 03:04:47 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2013/05/13/beware-of-iis-authentication-settings-when-deploying-sharepoint-2013/</guid>
      <description><![CDATA[Recently I worked on an interesting case during one that was blocking deployment of one of the...]]></description>
      <content:encoded><![CDATA[<p>Recently I worked on an interesting case during one that was blocking deployment of one of the SharePoint 2013 projects I was working for.<br/>Basically what happened was that although deployment of SharePoint went well, some of the Service Applications like Managed Metadata, User Profile Service, Business Connectivity Services, and Search did not work properly. The symptoms varies, but a common error message in the ULS logs stated:<br/><span style="color:black; font-size:10pt"><span style="font-family:Arial"><br/></span><span style="font-family:Times New Roman">02/27/2013 09:58:52.07 w3wp.exe (0x1910) 0x2428 SharePoint Server Taxonomy ca42 Medium Exception returned from back end service. System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: <br/><span style="background-color:yellow"><strong>AccessDeniedEx:The current user has insufficient permissions to perform this operation</strong>.</span> (FaultDetail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.UnauthorizedAccessException: AccessDenied Ex:The current user has insufficient permissions to perform this operation. at Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplication.GetServiceSettings(GuidrawPartitionId) at SyncInvokeGetServiceSettings(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp; outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.In... 5510ed21-c1ef- 4b6f-8305-33afc4200a76 </span></span>
	</p><p>Also after doing some WCF tracing I found that there was an interesting claim in the SAML token (as part of Service Application authentication; Remember... Everything in the Service app world is claims):<span style="color:black; font-size:10pt"><span style="font-family:Arial"><br/></span><span style="font-family:Times New Roman">&lt;saml:Attribute AttributeName="<strong>isauthenticated</strong>" AttributeNamespace="http://sharepoint.microsoft.com/claims/2009/08" a:OriginalIssuer="SecurityTokenService" xmlns:a="http://schemas.xmlsoap.org/ws/2009/09/identity/claims"&gt; <br/>&lt;saml:AttributeValue&gt;<strong>False</strong>&lt;/saml:AttributeValue&gt; </span></span>
	</p><p>Clearly there is something fishy going on here <span style="font-family:Wingdings">J</span>.
</p><p>After working on this for most part of a week, even with help of my colleagues at Premier Support, we were not able to nail this one down. Fortunately someone at the customer remembered running into similar issues with a SharePoint 2010 project they did years back.<br/>The solution for that problem was to set the advanced Anonymous Authentication settings of the IIS root node to IUSR:
</p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/30/metablogapi/8270.051313_1004_BewareofIIS1.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-68-30-metablogapi/8270.051313_5F00_1004_5F00_BewareofIIS1.png" alt=""/><br/><a href="http://technet.microsoft.com/en-us/library/cc770966(v=WS.10).aspx">http://technet.microsoft.com/en-us/library/cc770966(v=WS.10).aspx</a>
	</p><p>Using a default Windows deployment will not require you to do this, but this customer in particular followed a "customize if possible" strategy for their Windows build images, and changing this setting (among many others) to a non-default setting of "Application Pool identity".
</p><p>I have tried to find out why this breaks SharePoint functionality so severely, but was unable to. (If you know, please post to the comments!). 
</p><p>Fortunately we were able to move forward with the project. I hope I can help at least one of you peeps out there, by posting this!
</p><p>
 </p><p><span style="color:black; font-family:Arial; font-size:10pt"> 
</span> </p>]]></content:encoded>
    </item>
    <item>
      <title>Always have a root site collection!!!</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/always-have-a-root-site-collection</link>
      <pubDate>Wed, 07 Nov 2012 08:32:00 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2012/11/07/always-have-a-root-site-collection/</guid>
      <description><![CDATA[So today I spend most part of the day troubleshooting an issue with catalogs and host named site...]]></description>
      <content:encoded><![CDATA[<p>So today I spend most part of the day troubleshooting an issue with catalogs and host named site collections (HNSC) in SharePoint 2013. <br />I created a basic cross site publishing scenario where I had a path based authoring site <a href="http://intranet.contoso.com/sites/authoring">http://intranet.contoso.com/sites/authoring</a> and a HNSC publishing site <a href="http://www.publishing.com">http://www.publishing.com</a> <br />All was going smooth, untill I wanted to consume the catalog. The catalog connection was found, but the navigation term set was for some reason not reachable from the HNSC. The error was thrown:</p>
<p><strong>"We could not find the navigation term set for this site. Navigation integration and friendly URLs will not be configured" </strong></p>
<p>&nbsp;</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/30/metablogapi/0753.110712_1632_Alwayshavea1.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-68-30-metablogapi/0753.110712_5F00_1632_5F00_Alwayshavea1.png" alt="" /></p>
<p>I dove into ULSViewer, but there was nothing whatsoever in the logs that would indicate an issue. The term set was even reachable using the Term Store manager from the HNSC.<br />During the troubleshooting I noticed the root site collection did not exist, so I created one, but did not give much notice to it, until I was remembered by a fellow MCM that not having a root site collection could be an issue.</p>
<p>So I created a new HNSC and it just worked for that site. All other older HSNCs still did not work. The only way to get them to work was to delete the site collection and recreate it.</p>
<p>I have no details as to what exactly is the reason (there is an article specific to SharePoint 2010 <a href="http://support.microsoft.com/kb/2590564">http://support.microsoft.com/kb/2590564</a> ), but just remember:</p>
<p><span style="font-size: 14pt;">Children beware! Always have a root site collection! </span></p>
<p><span style="font-size: 10pt;">(this does not only apply to this issue; there are many other reasons why you would need it!)</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Netmons’ big brother is here. Say hello to Message Analyzer</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/netmons-big-brother-is-here-say-hello-to-message-analyzer</link>
      <pubDate>Thu, 20 Sep 2012 01:40:00 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2012/09/20/netmons-big-brother-is-here-say-hello-to-message-analyzer/</guid>
      <description><![CDATA[If you're serious about SharePoint, you know Netmon. Well, if you like Netmon, then meet his big...]]></description>
      <content:encoded><![CDATA[<p>If you're serious about SharePoint, you know Netmon. Well, if you like Netmon, then meet his big brother <a href="http://blogs.technet.com/b/messageanalyzer/archive/2012/09/17/meet-the-successor-to-microsoft-network-monitor.aspx">Message Analyzer</a></p>
<p>It's like Netmon on steroids <span style="font-family: Wingdings;">J</span>&hellip;</p>
<p>There is a lot to tell about this tool, but I won't. <em>Hey I'm a SharePoint geek, I have better things to do! </em></p>
<p>What I can tell you is that cool things have been added like payload rendering, statistics views, and proxy capturing (ala Fiddler) which makes our lives a lot easier.<br />Just take a look at the juice screenshot where I'm peeking in the HTTPs stream of the Connect site. Lovely!!</p>
<p>So get the beta from Connect and do some testing yourself!!!</p>
<p><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/30/metablogapi/6116.092012_0840_Netmonsbigb1.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-68-30-metablogapi/6116.092012_5F00_0840_5F00_Netmonsbigb1.png" /></p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint 2013 Preview – Hungry search service</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/sharepoint-2013-preview-hungry-search-service</link>
      <pubDate>Wed, 05 Sep 2012 11:54:00 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2012/09/05/sharepoint-2013-preview-hungry-search-service/</guid>
      <description><![CDATA[Due to the many response I get: This post was written specifically for the&nbsp;Preview of...]]></description>
      <content:encoded><![CDATA[<p><span style="color: #ff0000; font-size: large;"><strong>Due to the many response I get: This post was written specifically for the&nbsp;<span style="text-decoration: underline;">Preview</span> of SharePoint 2013<br />The memory leak is resolved in RTM. Please do not apply the memory settings in production!</strong></span><span style="color: #ff0000; font-size: large;"><strong></strong></span></p>
<p>&nbsp;</p>
<p>Just today there was some discussion on our internal DLs about the noderunner.exe processes of the Enterprise Search service being very hungry for CPU and RAM.</p>
<p>It turns out that there is a memory leak and a lot of debug code involved [REMEMBER: We are still at beta here <span style="font-family: Wingdings;">J</span>].</p>
<p>Jose Vigenor from MS beta support pointed to two options to contain these processes:</p>
<ol>
<li>
<div style="background: white;">Use <span style="color: #333333; font-family: Courier New; font-size: 10pt;">Set-SPEnterpriseSearchService -PerformanceLevel Reduced </span>to reduce the CPU impact the search service has on your test environment.</div>
</li>
<li>Modify the C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config so that it can only consume X amount of RAM.<br />Change the value at &lt;nodeRunnerSettings memoryLimitMegabytes="0" /&gt; to any amount of RAM you like to contain the memory leak.</li>
</ol>
<p>Good luck!</p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint 2013 Preview Newsfeeds showing nothing</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/sharepoint-2013-preview-newsfeeds-showing-nothing</link>
      <pubDate>Mon, 20 Aug 2012 02:41:00 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2012/08/20/sharepoint-2013-preview-newsfeeds-showing-nothing/</guid>
      <description><![CDATA[So you've build your farm, configured Manage Metadata, Search, User Profile Service and Mysites. The...]]></description>
      <content:encoded><![CDATA[<p>So you've build your farm, configured Manage Metadata, Search, User Profile Service and Mysites. The first thing you obviously want to check out are the cool new social features.<br />You login and fire off your first post, in anticipation of the reactions of your fellow social pioneers in your company.</p>
<p><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/30/metablogapi/3252.082012_0941_SharePoint21.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-68-30-metablogapi/3252.082012_5F00_0941_5F00_SharePoint21.png" /></p>
<p>A day goes by but, nothing happens&hellip; What is going on here?<br />You check your feed but it keeps saying <strong>"We're still collection the latest news. You may see more if you try again a little later."<br /></strong>There must be something wrong here. When you crank up the ULS logs to verbose on the <em>Microfeeds</em> and <em>User Profiles</em> categories in the ULS logs:</p>
<p><span style="color: darkred; font-family: Lucida Console; font-size: 10pt;">"Microfeeds", "User Profiles"<span style="color: blue;"> | Set-SPLogLevel -TraceSeverity <span style="color: darkred;">Verbose <span style="color: blue;"> </span></span></span></span></p>
<p>you will find a strange message stating the User Profile Service Application Proxy is not available:</p>
<p><span style="font-size: 9pt;">nasq&nbsp;&nbsp;&nbsp;&nbsp;Medium &nbsp;&nbsp;&nbsp;&nbsp;Entering monitored scope (SPMicrofeedFeedCacheService.GetPublishedFeed). Parent FeedCacheService.GetPublishedFeed&nbsp;&nbsp;&nbsp;&nbsp;e554c59b-9365-2015-6119-380e065adfbb </span></p>
<p><span style="font-size: 9pt;">d22b&nbsp;&nbsp;&nbsp;&nbsp;High &nbsp;&nbsp;&nbsp;&nbsp;<span style="background-color: yellow;">Failure retrieving application ID for User Profile Application Proxy 'User Profile Service Application 2': Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 5c3e254a-4ab9-4736-a5f1-58d582d1d6d0</span> at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties() at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_AppID()&nbsp;&nbsp;&nbsp;&nbsp;e554c59b-9365-2015-6119-380e065adfbb </span></p>
<p><span style="font-size: 9pt;">ahv64&nbsp;&nbsp;&nbsp;&nbsp;High &nbsp;&nbsp;&nbsp;&nbsp;<span style="background-color: yellow;">SPMicrofeedFeedCacheService.GetUserProfile() - UserProfileApplicationProxy not available</span>&nbsp;&nbsp;&nbsp;&nbsp;e554c59b-9365-2015-6119-380e065adfbb </span></p>
<p><span style="font-size: 9pt;">b4ly&nbsp;&nbsp;&nbsp;&nbsp;Medium &nbsp;&nbsp;&nbsp;&nbsp;Leaving Monitored Scope (SPMicrofeedFeedCacheService.GetPublishedFeed). Execution Time=2.064&nbsp;&nbsp;&nbsp;&nbsp;e554c59b-9365-2015-6119-380e065adfbb</span></p>
<p>&nbsp;</p>
<p>At first it did not hit home for me, but then I remembered similar issues when using powershell to manage the UPA back in SharePoint 2010. This was basically solved by granted (sharing) permissions to the UPA proxy.</p>
<p>The problem in this case is that my MySites are hosted in a different application pool from my UPA service application. Although the MySites application pool account is added, the service app application pool account is not.</p>
<p>Either grant the application pool account hosting the UPA <span style="text-decoration: underline;">Sharing Permissions</span> through Central Admin:</p>
<p>&nbsp;</p>
<p><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/30/metablogapi/6560.082012_0941_SharePoint22.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-68-30-metablogapi/6560.082012_5F00_0941_5F00_SharePoint22.png" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Or use the following powershell script:</p>
<p style="background: white;">&nbsp;</p>
<p style="background: white;"><span style="font-family: Lucida Console; font-size: 10pt;"><span style="color: orangered;">$account</span> <span style="color: darkgray;">=</span> <span style="color: blue;">New-SPClaimsPrincipal</span> <span style="color: orangered;">&lt;domain\user&gt;</span> <span style="color: navy;">-IdentityType</span> <span style="color: blueviolet;">WindowsSamAccountName </span></span></p>
<p style="background: white;"><span style="font-family: Lucida Console; font-size: 10pt;"><span style="color: orangered;">$UPA</span> <span style="color: darkgray;">=</span> <span style="color: blue;">Get-SPServiceApplication</span> <span style="color: orangered;">&lt;ID&gt;</span> </span></p>
<p style="background: white;"><span style="font-family: Lucida Console; font-size: 10pt;"><span style="color: orangered;">$sec</span> <span style="color: darkgray;">=</span> <span style="color: blue;">Get-SPServiceApplicationSecurity</span> <span style="color: orangered;">$UPA</span> </span></p>
<p style="background: white;"><span style="font-family: Lucida Console; font-size: 10pt;"><span style="color: blue;">Grant-SPObjectSecurity</span> <span style="color: orangered;">$sec2</span> <span style="color: navy;">-Principal</span> <span style="color: orangered;">$account</span> <span style="color: navy;">-Rights</span> <span style="color: darkred;">"Full Control"</span> </span></p>
<p style="background: white;"><span style="font-family: Lucida Console; font-size: 10pt;"><span style="color: blue;">Set-SPServiceApplicationSecurity</span> <span style="color: navy;">-Identity</span> <span style="color: orangered;">$UPA</span> <span style="color: navy;">-ObjectSecurity</span> <span style="color: orangered;">$sec</span> </span></p>
<p>&nbsp;</p>
<p>The magic happens, and voila; the feeds start showing!</p>
<p>&nbsp;</p>
<p><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/30/metablogapi/6866.082012_0941_SharePoint23.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-68-30-metablogapi/6866.082012_5F00_0941_5F00_SharePoint23.png" /></p>]]></content:encoded>
    </item>
    <item>
      <title>Sharing permissions for Authenticated Users in SharePoint 2013 Preview</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/sharing-permissions-for-authenticated-users-in-sharepoint-2013-preview</link>
      <pubDate>Fri, 17 Aug 2012 02:18:12 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2012/08/17/sharing-permissions-for-authenticated-users-in-sharepoint-2013-preview/</guid>
      <description><![CDATA[I actually feel a bit embarrassed about this one, but then I thought... OK, maybe if I'm struggling...]]></description>
      <content:encoded><![CDATA[<p>I actually feel a bit embarrassed about this one, but then I thought... OK, maybe if I'm struggling with this, there must be other fools out there that are as well.
</p><p>So picture this… I'm building my SharePoint farm and creating my Contoso Intranet portal, and one of the first things you do when you have created your publication portal, is add Authenticated Users to the visitors group…
</p><p>Hey, what's a portal without users right?
</p><p>But then it hits… WTF is this screen? Where is my people picker? Well.. it's no longer there in lots of places where we add permissions.
</p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/30/metablogapi/3531.081712_0918_Sharingperm1.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-68-30-metablogapi/3531.081712_5F00_0918_5F00_Sharingperm1.png" alt=""/>
	</p><p>So I start typing but No Results. I try all sorts of combinations, but no joy.<br/>I end up searching the web, but I seem to be the only poor soul not being able to crack this nut.
</p><p>Then it hits me. I'm better than that stinking dialog. I just type 'NT AUTHORITY\AUTHENTICATED USERS' and press Share.
</p><p>Voila! SPUser added, and after having signed in as another user, it even works.
</p><p>TAKE THAT YOU EVIL DIALOG!!!</p>]]></content:encoded>
    </item>
    <item>
      <title>Logging in as a different user in SharePoint 2013 Preview</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/logging-in-as-a-different-user-in-sharepoint-2013-preview</link>
      <pubDate>Fri, 17 Aug 2012 02:04:59 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2012/08/17/logging-in-as-a-different-user-in-sharepoint-2013-preview/</guid>
      <description><![CDATA[When you start to play with SharePoint 2013 preview you will soon find that our good ol' 'Sign in as...]]></description>
      <content:encoded><![CDATA[<p>When you start to play with SharePoint 2013 preview you will soon find that our good ol' 'Sign in as a different user' is gone:
</p><p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/68/30/metablogapi/2450.081712_0904_Logginginas1.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-68-30-metablogapi/2450.081712_5F00_0904_5F00_Logginginas1.png" alt=""/>
	</p><p>Not sure why they have removed it. As there are some issues with this (even in 2010), I think it might be done because of that, but for most people this will be missed.<br/>Luckily this is only a cosmetic change, as the plumbing is still there.
</p><p>There are three ways of doing this:
</p><ol><li>Just add the following to the url: /_layouts/closeConnection.aspx?loginasanotheruser=true
</li><li>Start your browser as another user
</li><li>Hack welcome.ascx by adding the code below before the SharePoint:MenuItemTemplate tag with id ID_RequestAccess<br/>(<a href="http://nickgrattan.wordpress.com/2012/07/23/sign-in-as-different-user-and-sharepoint-2013/">http://nickgrattan.wordpress.com/2012/07/23/sign-in-as-different-user-and-sharepoint-2013/</a> )<br/><span style="font-family:Consolas; font-size:10pt"><br/>&lt;SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"<br/> Text="&lt;%$Resources:wss,personalactions_loginasdifferentuser%&gt;"<br/> Description="&lt;%$Resources:wss,personalactions_loginasdifferentuserdescription%&gt;"<br/> MenuGroupId="100"<br/> Sequence="100"<br/> UseShortId="true"<br/> /&gt;
</span></li></ol><p>Obviously modifying control templates is not something we should be doing once the product goes RTM. Lets hope product group decides to put everything back where it belongs <span style="font-family:Wingdings">J</span></p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint 2013 is coming</title>
      <link>https://docs.microsoft.com/archive/blogs/mpriem/sharepoint-2013-is-coming</link>
      <pubDate>Fri, 17 Aug 2012 01:53:00 GMT</pubDate>
      <dc:creator><![CDATA[mpriem]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/mpriem/2012/08/17/sharepoint-2013-is-coming/</guid>
      <description><![CDATA[Anyone doing SharePoint and hasn't been living under a rock for the last months, has heard the buzz...]]></description>
      <content:encoded><![CDATA[<p>Anyone doing SharePoint and hasn't been living under a rock for the last months, has heard the buzz around SharePoint 2013. <br/>The Preview has been <a href="http://technet.microsoft.com/en-us/evalcenter/hh973397.aspx">released</a>, so the release is coming closer!
</p><p>This means its time for me as well to get acquainted with the product. Given my busy schedule I haven't had much time to do so.
</p><p>The coming weeks I will spend time writing some posts about the things I see and find in this new product.
</p><p>Enjoy!</p>]]></content:encoded>
    </item>
  </channel>
</rss>