See all products »
Curah! curation service
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Server and Tools Blogs
TechNet Flash Newsletter
Cloud and Datacenter
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Microsoft Download Center
TechNet Evaluation Center
Compatability & Converters
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Second shot for certification
Born To Learn blog
Find technical communities in your area
For small and midsize businesses
For IT professionals
For technical support
For home users
Microsoft Premier Online
Microsoft Fix It Center
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
SharePoint serendipity is the effect by which one accidentally discovers something fortunate, especially while looking for something else entirely. In this case, it is the occassional musings, observations, and Ouija board readings about the phabulously
Office Web Apps
Visual Studio 2010
Visual Studio 2012
Windows Phone 7
Windows Phone 8
Browse by Tags
Programmatically Adding A Trusted Identity Token Issuer to a Web Application Zone in SharePoint 2010 and 2013
Seems like I haven't had a chance to write a good SharePoint / SAML claims kind of article in a while. I was happily plugging away on some code this weekend for a scenario I haven't done before so I thought I would go ahead and post it here for the search engines. The whole topic in general has...
28 Feb 2014
Using Impersonation with the Yammer APIs
One of the things that isn't particularly well known about the Yammer APIs is that its OAuth infrastructure does support a form of impersonation (at least that's how I describe it). This can be extraordinarily useful when you need to access data on behalf of another user and do so within the...
18 Feb 2014
Some More Advice When Using the Yammer APIs with .NET
I wrote this post a little while back here: http://blogs.technet.com/b/speschka/archive/2013/10/05/using-the-yammer-api-in-a-net-client-application.aspx , and I think I'm going to have to fall on the sword just a bit because I have some code in there that I think has people kind of turned sideways...
7 Feb 2014
Tool to Get Token Signing Certificate Out of ACS
I continue to be regularly annoyed when I want to go snag the token signing certificate out ACS for use with federating to my various projects, like SharePoint sites. I've written in a couple or more blog postings about how you go to your tenant, find your federation metadata xml endpoint, retrieve the...
24 Nov 2013
How To Control App Token Lifetimes in SharePoint 2013
Today's post is the first selection from the little twitter contest I announced on the Share-n-Dipity blog a few days ago: http://blogs.technet.com/b/speschka/archive/2013/09/04/use-social-tools-to-tell-me-what-you-want-to-see-here-next.aspx . Shariq wanted to know more about the lifetime for high trust...
12 Sep 2013
Security in SharePoint Apps - Part 8
PREVIOUS: Security in SharePoint Apps – Part 7 For this, the very last in the series, I just wanted to briefly talk at a high level about the process you should be doing when developing an App for a SharePoint site that uses SAML (or FBA for that matter). I’ve already written a detailed...
2 Aug 2013
Security in SharePoint Apps - Part 4
PREVIOUS: Security in SharePoint Apps – Part 3 In Part 3 I talked about how SharePoint sends over a context token with the request for an App when using low trust (this does NOT come over to a high trust app). It’s worth looking at what a context token is, and how we compare that to a...
30 Jul 2013
Missing Context Token in Low Trust App with SharePoint 2013
Should you decide that you want to write low trust apps for an on-premises SharePoint 2013 farm, there are a number of hoops you should expect to jump through (NOTE: this assumes the SPNs for your web apps are already configured in the MsolServicePrincipal for your o365 tenant): Create a new app...
29 May 2013
Integrating SharePoint 2013 with Azure Active Directory – Part 2 The Custom Claims Provider
In Part 1 of this series, we went through how to configure SharePoint to use ACS and Azure Active Directory (AAD) as our Identity Provider. Once that is complete you will have a working end to end solution in which you can authenticate, get authorized and work in the site. What you also have is the standard...
12 May 2013
Using Taxonomy AKA Managed Metadata AKA TermSets with CSOM in SharePoint 2013
I had the occasion to need to figure out accessing the Managed Metadata Store using the new client object model libraries for SharePoint 2013. In snooping around, I found virtually no documentation on this topic whatsoever, other than generic boilerplate class definitions that have been clearly emitted...
28 Feb 2013
Using Query Rules with CSOM Queries in SharePoint 2013
I've had this question from a few people and never had a chance to track down the answer until today. I've written a few times already about query rules and how awesome they are: http://social.technet.microsoft.com/Search/en-US?query=%22query%20rules%22&beta=0&rn=Share-n-dipity&rq=site:blogs...
27 Feb 2013
Running Client Script in a Display Template After Rendering is Complete in SharePoint 2013
4 Dec 2012
Your First SharePoint 2013 and Visual Studio 2012 Development Tip - the Old 32-Bit Process Error
Here's your first development tip as you start cranking out SharePoint 2013 solutions using Visual Studio 2012. An old an really annoying problem in Visual Studio 2010 when building SharePoint apps is that it defaulted to creating x86 applications. The problem from a SharePoint perspective is that it...
24 Jul 2012
Adding Users Programmatically to A Claims Site in SharePoint 2010
I had a friend send me kind of an interesting problem the other day. He was trying to add a new user programmatically to a Windows claims site and having all sorts of difficulties. His initial attempt at adding the user with domain\username and the SPRoleAssignment class was not working for him. He then...
14 Jan 2012
Writing A SharePoint 2010 People Picker Control for Silverlight
One of the sorely missing pieces in the Silverlight toolbox for SharePoint developers is a people picker control. There is a control that SharePoint provides, which you can use in a web part or custom layouts page (the PeopleEditor class). Silverlight code though all executes on the client side, so there...
10 Aug 2011
Using SAML Claims, SharePoint, WCF, Claims to Windows Token Service and Constrained Delegation to Access SQL Server
Okay, this will hopefully be the longest titled post I ever write, but I wanted to make sure it covered all the relevant technologies being discussed. This is an area that I’ve heard a more rumbling about recently, which is really all about how can I take a SAML claims user and get a Windows context...
7 Aug 2011
How To Get All Claims Providers Associated with a Web Application in SharePoint 2010
I’ve been asked this question a couple times before, which is I want to be able to programmatically find out what claims providers are being used with my web application. This question is usually asked to mean what SPTrustedIdentityTokenIssuers are being used, but the method I’ll demonstrate...
27 Mar 2011
Packaging A SharePoint 2010 Custom Claims Provider in a Visual Studio 2010 SharePoint Project
For those of you who have been developing solutions for SharePoint 2010 with Visual Studio 2010, you may have noticed a slight packaging peculiarity when it comes to custom claims providers. In Visual Studio 2010 you can create a new feature and you can easily add a feature event receiver to it by just...
14 Feb 2011
Free Developer Search Tool for SharePoint 2010 Search and FAST Search for SharePoint
I've been working on a developer tool off and on for months now to help working with the query engine in SharePoint 2010. It's come far enough along that it's probably ready for some folks to start using it. I've been debating about putting it up on CodePlex as more of a community project so others can...
15 Aug 2010
Changing the Master Page on SharePoint 2010 My Sites
Hey all, we ran across kind of a funny situation this week so I thought I would share with you what we saw and what you need to know. We were working on customizing the master page using a feature to deploy the master and feature receiver to actually set the master page for the site to our custom...
2 Jul 2010
Configuring a Custom Claims Provider to be Used only on Select Zones in SharePoint 2010
UPDATE: I updated the application attachment for this posting. Before it would only let you toggle a claims provider for a zone if that zone was using SAML claims. In retrospect that limitation didn't make a lot of sense, so now it lets you toggle a claims provider for any zone that is using any type...
3 Jun 2010
Determine if a SharePoint 2010 Search Service Application is FAST Search or SharePoint Search
One of the things that may be useful to know when you are writing custom search applications for SharePoint 2010 is whether the search service application you are working with is FAST Search for SharePoint or SharePoint Search. Fortunately the object model provides a fairly straightforward way to do...
30 Jan 2010
Customizing Search Results in SharePoint 2010
Hey all, just wanted to give you a heads up about a webcast I'll be doing on MSDN in February. It is titled Customizing Search Results for SharePoint Server 2010. Here is the link to find out more info and register: http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032438730&EventCategory...
30 Dec 2009
Using the SharePoint 2010 Client Object Model - Part 5
The previous posts in this series have been pretty list-centric. In this posting we’re going to delve down a different path in exploring the client object model and talk about security. The client OM actually provides great support for working with the security model in SharePoint. You can do everything...
2 Nov 2009
Using the Developer Dashboard in SharePoint 2010
The developer dashboard is a new feature in SharePoint 2010 that is design to provide additional performance and tracing information that can be used to debug and troubleshoot issues with page rendering time. The dashboard is turned off by default, but can be enabled via the object model or stsadm (and...
28 Oct 2009
© 2014 Microsoft Corporation.
Privacy & Cookies