Share-n-dipity

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

Browse by Tags

Related Posts
  • Blog Post: Debugging SharePoint Apps That Are Hosted In Windows Azure Web Sites

    Today, I'm going to be the lazy human I'm so frequently accused of being by my somewhat faithful dog Shasta, and bring together two posts written by two other folks into one uber "ain't it cool how this all works together post" by me. Here are the two concepts we're combining today: Publishing...
  • Blog Post: Security in SharePoint Apps - Part 5

    PREVIOUS: Security in SharePoint Apps – Part 4 As promised in Part 4, there’s actually a very interesting type of application that you don’t even install in a site collection. How can this be you ask…well let’s talk about it. With most apps, you have to deploy it...
  • Blog Post: Another Tip if Visual Studio Times Out Trying to Deploy Your App in SharePoint 2013

    I've had this happen to me, seemingly randomly, a number of times before. You open Visual Studio and create a new SharePoint App. You go through the wizard and then hit F5 to run, deploy and debug your app. Something happens along the way though...you watch the output window and it just keeps counting...
  • Blog Post: Security in SharePoint Apps - Part 6

    PREVIOUS: Security in SharePoint Apps – Part 5 As promised, in this part of the series we’re going to talk about the big dogs of App security – those options that you can use to let you do anything, anywhere with your content. Specifically we’re going to look at App Only policy...
  • Blog Post: More TroubleShooting Tips for High Trust Apps on SharePoint 2013

    Hey, I'm an app guy, I like doing dev, but honestly - I may go hoarse screaming at my computer if I have to track down one more "The issuer of the token is not a trusted issuer" problem with my new SharePoint apps. To try and help you save your own voice (and sanity) I'm going to start a list here of...
  • Blog Post: When Do Your Apps Need AppRegNew.aspx in SharePoint 2013

    I had a nice question today from my good friend Bala, who was working on some app stuff and talking to me about AppRegNew.aspx. We have a nice article on how to use this here: http://msdn.microsoft.com/en-us/library/jj860570.aspx, which is talking about packaging up your applications. The minor disconnect...
  • Blog Post: Using REST Services with a Provider Hosted App in SharePoint 2013

    Today's topic seems straightforward enough, right? There's lots of documentation all over the interwebs about how to do this so should be a piece of cake. Well, as it turns out, when I did this a couple of weeks ago I found that there is a lot of missing information, misleading information, and in some...
  • Blog Post: Security in SharePoint Apps - Part 2

    PREVIOUS: Security in SharePoint Apps - Part 1 In Part 1 of this series I described how to think about an App Principal, and I mentioned that it is one of the main actors in determining who has rights to what content. The other actor, of course, is the User Principal. Between the two though, there...
  • Blog Post: Security in SharePoint Apps - Part 1

    I recently put together a session around security in SharePoint Apps. There seems to be enough content on this topic to keep people on their toes at all times, so I decided to try and assemble all this information all in one place on this blog with a series of posts. Most of this information is scattered...
  • Blog Post: Another Apps for SharePoint Tip with the Error "The issuer of the token is not a trusted issuer"

    I was working on a build of SharePoint that is post beta 2 today, and found that one of my custom high trust apps I had built would no longer work. In looking at the ULS logs I was getting the dreaded "The issuer of the token is not a trusted issuer" error message. I think this is the equivalent of ...
  • Blog Post: An Important Tip About Client ID Values for S2S Apps in SharePoint 2013

    Here's something that might cost you a TON of time if you aren't careful, so please take a few minutes to read this. You should be seeing some documentation pretty shortly that describes how to create what we call an S2S application, which means Server to Server trust application. You will also see this...
  • Blog Post: Converting a VS.NET Web for a Provider Hosted SharePoint App to a Full Blown Web or Console Application

    This post is yet another in my series of "how long of a post title I can come up with and still not convey the actual essence of the post" contest. I'm sure you've all been following along at home and are thrilled to see another entry, but it was either this or create a title with like 63 words in it...
  • Blog Post: Another 401 Unauthorized Tip for Working with SharePoint Apps

    I've tried to update the related postings to this, but sometimes you need a call out to make sure it catches your attention so...here's another troubleshooting tip for when you get a 401 unauthorized error when your app tries to access SharePoint content. Suppose you have gotten everything working and...
  • Blog Post: Security in SharePoint Apps - Part 3

    PREVIOUS: Security in SharePoint Apps - Part 2 In the first two parts of this series we looked at what an App Principal is and what the security context is that we use when a request comes into SharePoint. Now that we have those basic components of the framework defined, let’s talk a little...
  • Blog Post: Getting the Current User Identity in a Low Trust App in SharePoint 2013

    Today's post comes primarily because it's a common question, but not because it's a particularly brilliant answer; maybe just a bit unexpected. If you followed the some of the differences between low trust and high trust apps in SharePoint, you will know that in a low trust app, SharePoint knows who...
  • Blog Post: Security in SharePoint Apps - Part 7

    PREVIOUS: Security in SharePoint Apps – Part 6 In this part of the series, I’m going to shift gears a bit and talk about high trust apps and the plumbing that goes along with them. As I’ve explained somewhat earlier in this series, one of the big differences between low trust and...
  • Blog Post: Using SharePoint Apps with SAML and FBA Sites in SharePoint 2013

    Hopefully by now everyone has heard about the new app model in SharePoint 2013. There’s a lot of documentation out there about it so I won’t go into exactly what it is. What you should know is that it’s the preferred model for developing applications going forward. If you’ve done...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Planning the Infrastructure Required for the new App Model in SharePoint 2013

    SharePoint 2013 brings with it a brand new application model, which we euphemistically refer to as the “app model” or “cloud app model”. While it brings a whole new set of opportunities from a development perspective, it also carries with it infrastructure requirements that you...
  • Blog Post: 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...
  • Blog Post: 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...