Blog Moved!

I’ve moved my blog to bryanporter.com. Come visit me there!

0

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…

0

Adding users and claims to a site from PowerShell

Update: Astute readers will note that the following examples make use of the scratch custom claims provider. Recently, the question of automating custom claim assignments to SharePoint groups has come up. For example, if you’ve got a custom claim provider that provides a custom claim of type http://schemas.bryanporter.com/favoriteColor, how could you add all users that…

1

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…

0

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….

2

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…

0

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…

7

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…

0

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…

0

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…

2