You may find yourself hunting for the SharePoint Web application and looking through each authentication zone to find the ones associated with a certain Auth Provider.  This can happen if you’ve ever tried removing a claims authentication provider, but the error indicates that it is associated with one or more web applications. The following script