Skype for Business
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
Even More “Things to Do When you Change the SharePoint STS Token Signing Certificate”
I recently changed the token signing certificate in my farm…it having expired from when I first changed it, since that is required to set up the trust with ACS in SharePoint Online for low trust apps and SharePoint hybrid features. Assume the longer the sentence the more unhappy I am about having...
4 Jul 2015
Using Roles in Azure Applications
I was spending some time today (finally) looking at how to get what I really consider the baseline functionality of claims – apps, users and roles – all working together with one of my Azure AD apps. Azure has been pushing out pieces of an RBAC-based infrastructure for a few months now, and...
9 Mar 2015
How To Delete An App You Consented to in Azure AD
In many ways this is a companion piece to the post I just published on solving an issue with multi-tenant applications in Azure AD: "The Account Needs to be Added as an External User in the Tenant with Azure AD Apps". This is actually a question I see come up fairly frequently, and one that...
22 Feb 2015
Fixing the Provided App differs from Another App with the Same Version and Product ID Error in Office 365
I started hitting this little gem of an error recently and was ready to pull out the little remaining hair I had, when a very kind Program Manager named Jim S. told me how to fix it. The scenario is something like this: you install an App for SharePoint in Office 365. You make some changes to the app...
19 Feb 2015
Using the o365 APIs and ADAL to Send Email from an Unattended Process
UPDATE: We just posted a blog on a new and better way to do this! Check out the blog post at http://blogs.msdn.com/b/exchangedev/archive/2015/01/22/building-demon-or-service-apps-with-office-365-mail-calendar-and-contacts-apis-oauth2-client-credential-flow.aspx and use that method going forward. One...
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
© 2015 Microsoft Corporation.
Privacy & Cookies