How To: Update Site Collection Quotas For Existing Site Collections

Setting the default quota template for site collections in a web application is easy enough. But what do you do when you want to change the template associated with some or all of the site collection in a web application? Out of the box, there are no good tools to do this. While we certainly…


The Scratch Custom Claims Provider

Frequently, I find it useful to have a common starting point – what Raymond Chen describes as a “scratch program” (or a new scratch program, for those update-minded types). Within SharePoint, things are never that simple – a scratch SharePoint solution is an empty whiteboard, for better or for worse. There are plenty of extensibility…


How often will FillClaimsForEntity in my Custom Claims Provider be called?

This was the question I posed to a colleague this morning. His answer surprised me – “Every time you authenticate.” Before we move on, let’s just call this foreshadowing. Problem is, this statement was at odds with the behavior that I, and many of you, were seeing/have seen. It just didn’t seem to be true….


Configuring Failover Databases – and Removing That Configuration

SharePoint 2010 supports database mirroring for just about every database you can think of (there are some exceptions – the Synchronization database of the User Profile service, for instance). This allows SharePoint to make use of the Failover Partner attribute within the connection to specify the failover server to the underlying data access stack, making…


Trusted Identity Providers & User Profile Synchronization

Recently, a few people have been trying to figure out how to get user profile synchronization working when doing claims authentication via a trusted identity provider, as is the case in many federation scenarios involving ADFS, for instance. I’ve heard of people writing one-off jobs that iterate over their profile store updating the Account Name…


Multiple Authentication Providers in SharePoint 2010, Part II

The folks over at Orbit One Internet Solutions took my blog posting regarding automatic selection of authentication providers in SharePoint 2010 and really ran with it. They’ve posted what looks to be a fine solution adding and extending all the things that I pointed out would be needed in order to turn my original sample…


User Profiles & Service Application Associations

I ran into a completely understandable, but rather funny error condition today and thought I’d write up a quick note in case anyone else out there bumps against this, too. In SharePoint 2010, service applications sometimes have dependencies on other service applications. Take User Profiles for instance. While in 2007, the SSP managing user profiles also…


Why Is Central Administration Broken?

Answer: It’s not. You just followed our guidance, and we probably should’ve told you a few additional things. We frequently give people the advice that they should run Central Administration on more than a single machine in the SharePoint farm. The thought goes that, if something really bad were to happen and you lost the…


Stupid SharePoint PowerShell Tricks, Part I

Q: I want to enable anonymous access for a Web Application through PowerShell! A: Well, time was the Set-SPWebApplication cmdlet had a -AllowAnonymous switch that made this simple. We have documentation that even refers to the -AllowAnonymous switch. Unfortunately, sometime between Beta 2 and RTM, this switch was removed. Here’s a little script that’ll enable…


I Want You To Guess Accurately

When estimating performance and capacity, there are no guarantees except for the guarantees that you build for yourself. This means that, despite all the documentation, no one, no piece of paper, will ever tell you how your environment is going to behave in the real world. The systems involved are too complex for those types…