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
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
OneDrive for Business
Visual Studio 2010
Visual Studio 2012
Windows Phone 7
Windows Phone 8
Browse by Tags
Using the o365 APIs and ADAL to Send Email from an Unattended Process
One of the things you frequently want to do in your custom applications is send out emails. Historically this could be solved by using an SMTP server you have on site, using Exchange Web Services with an Exchange server either on prem or in the cloud, using a public SMTP service, etc. As I was thinking...
7 Jan 2015
Another Cool Way to Remotely Debug Azure Web Sites
When I was working on a project last week I was having some problems getting the debugging experience working correctly between Visual Studio 2013 and my code which was running in an Azure web site. Fortunately a really smart guy that works here, Petr, gave me a set of instructions to get debugging started...
6 Jan 2015
OneDrive for Business Browser Using o365 APIs
I’ve been spending a lot of time recently talking to different partners and customers about building applications using the Apps for Office and Apps for SharePoint platforms. One of the questions I seem to get most frequently though has been about one of the new additions to our development platform...
5 Jan 2015
Using ADAL Access Tokens with o365 REST APIs and CSOM
Many fine folks were generous enough to point out to me this week that you can now (actually since June’ish I’m told) use an access token you get from ADAL in conjunction with the o365 APIs to use ALSO with the SharePoint REST API as well CSOM. Shocking!! This may be what they call “asleep...
18 Dec 2014
OAuth, o365 APIs and Azure Service Management APIs – Using Them All Together
I’ve been spending some time lately fooling around the o365 API’s. Frankly, it has been a hugely frustrating experience; I’ve never seen so many documentation gaps and examples and sample code that didn’t work, to flat out wouldn’t compile in a long time. So, once I finally...
8 Dec 2014
SQL Azure Connection String Settings for Visual Studio Projects Deployed to Azure Web Sites
I recently spent HOURS looking for a silly little SQL Azure connection string in my Visual Studio project. When I created the project I configured it to be deployed to an Azure web site and I also connected it with a SQL Azure server where I'm storing the data. Unfortunately I had entered an old...
21 Nov 2014
Desktop SharePoint Apps for SAML Secured SharePoint Sites
Continuing on with the theme of SAML secured SharePoint sites and SharePoint Apps, this next posting looks at another common application model, which is using what I call a desktop app to connect to SharePoint. By “desktop”, I mean an app that doesn’t have an HttpContext, like a console...
17 Nov 2014
Developing Low Trust Provider Hosted Apps with SAML Authentication in SharePoint 2013
Low trust provider hosted apps in a SAML secured SharePoint web application is a scenario that did not work when SharePoint 2013 was released. Things have changed fortunately, so here's a quick run down on what you need to do in order to build these apps on premises. The first thing you need to do...
3 Oct 2014
An Updated ClaimsTokenHelper for SharePoint 2013 High Trust Apps and SAML
When Visual Studio 2013 came out, it introduced a new class and simplified methods for obtaining a ClientContext to use with the Client Side Object Model (CSOM) to access SharePoint 2013 sites. A new SharePointContext class was added to simplify the programming model, but internally it still called the...
30 Sep 2014
Developing and Deploying Multiple SharePoint 2013 Apps to a Single Azure Web Site
Today’s topic is one that came about after I heard some folks kind of unhappy about using Azure web sites as a platform for SharePoint 2013 provider-hosted apps. The unhappiness as was really just about the fact that you only get 10 Azure web sites for free and some folks were thinking that this...
13 Aug 2014
Uploading Large Files to SharePoint 2013 from .NET Using CSOM and REST
This is a topic that seems to come up with some frequency and when I needed to do it recently I could not find a good working sample of doing this from server-side code. The scenario here is imagine you want to upload some very large files to SharePoint via CSOM. You have some code running "somewhere"...
2 Aug 2014
Access Denied Error with App Only Access Token When Reading Profile Info
This is yet another rather strange error that I ran across and couldn't find any info out on the interwebs about it so I though I would document it here. Suppose you have a SharePoint App that needs to access some User Profile information. You will probably use the PeopleManager class and ask for...
25 Jul 2014
Uploading File Attachments to Yammer
Working with attachments to message postings in Yammer has been something that I've had a few questions on over time and just recently had a chance to take a look at it. I decided to blog about it only because there appears to be such paucity of information around folks that have actually done this...
7 Jul 2014
Using Yammer Open Graph in .NET - Part 2
In the first part of this series - http://blogs.technet.com/b/speschka/archive/2014/05/29/using-yammer-open-graph-in-net.aspx - I described how to create a Yammer Open Graph object (OGO). In this posting I'll explain how to create a new post in the newsfeed for the OGO, as well as read all messages...
29 May 2014
Using Yammer Open Graph in .NET - Part 1
I've already written about using the Yammer APIs from a .NET client application here: http://blogs.technet.com/b/speschka/archive/2013/10/05/using-the-yammer-api-in-a-net-client-application.aspx. This post is the next logical step in that journey, which is working with Yammer Open Graph items from...
29 May 2014
Changes To Know About When Your SharePoint STS Token Signing Certificate Expires - the Impact to Your High Trust Applications
This is a another follow up to my earlier post on changing the token signing certificate for the SharePoint STS as described here: http://blogs.technet.com/b/speschka/archive/2014/05/06/updating-trust-between-onprem-farms-and-acs-for-apps-when-your-sharepoint-sts-token-signing-certificate-expires.aspx...
12 May 2014
Missing Context Token in Low Trust App with SharePoint 2013 - Part 2
As I noted in my first post on this topic - http://blogs.technet.com/b/speschka/archive/2013/05/28/missing-context-token-in-low-trust-app-with-sharepoint-2013.aspx - you may find yourself in a low trust app without a context token, which basically leaves you up the creek without a paddle. I ran across...
8 May 2014
Create a List in the Host Web When Your SharePoint App is Installed...and Remove it from the Recent Stuff List
This is one of those questions that I've seen asked a lot but for some reason I've never really seen anyone post an answer to it. I did a quick Bing search before writing this post but didn't really see anything up there so I'm going to go out on a bit of a limb and guess that maybe there's...
7 May 2014
Updating Trust Between OnPrem Farms and ACS for Apps When Your SharePoint STS Token Signing Certificate Expires
For those of you who are "in the app way" with SharePoint 2013 (no, not a lot different from being "in the pregnant way", as they say), you'll reach that point sooner or later where the token signing certificate for your SharePoint STS expires if you are using low trust apps on...
6 May 2014
Claim Type Exceptions with Custom Claims Providers in SharePoint 2013
This issue applies to SharePoint 2010 as well but...suppose you have created a custom claims provider and one of the things you want to do is to have some custom claim types that you use. What I mean by custom claim types is just that they are not one of the standard out of the box types like email,...
16 Apr 2014
Enhancing the Yammer Search Results and Messages Samples and Deserialization
Just as kind of strange coincidence, I was in working on some Yammer message JSON goo and realized that there were actually a couple of other important data elements that comes down in the JSON payload when you get a collection of messages from REST. That includes both querying for messages directly...
12 Mar 2014
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
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
© 2015 Microsoft Corporation.
Privacy & Cookies