Multiple SharePoint Group Providers?

  • 11 March 2011
  • 3 replies
  • 1 view

Badge +1

I set a Group Provider on my SharePoint site, but it was not visible in the User Browser > SharePoint Users list of providers.  No clue why, no errors in the multiple logs.


I then tried to change the name of the provider.  The change seemed to work (the browser returned to the settings page), but still no provider visible in the User Browser.  Now when I look in the database, I see multiple Group Providers for this site:


 




GroupProviderIDSecurityLabelIDSecurityProviderIDName
3D38D190-39F1-4F09-A995-30FA73151A52FA4E4278-BFB1-4391-AA3E-18702B3C8FBD0F083ACD-F7F5-4AE8-BCC4-DE240A6C81DAGSD Test
2B3018F9-00A3-45EF-9ADD-AE3FE7BEFD6FFA4E4278-BFB1-4391-AA3E-18702B3C8FBD0F083ACD-F7F5-4AE8-BCC4-DE240A6C81DAAcquisitions
04AF7A43-F680-4B61-B6D4-D2836D37D9A3FA4E4278-BFB1-4391-AA3E-18702B3C8FBD0F083ACD-F7F5-4AE8-BCC4-DE240A6C81DAAcquisitionsX


Is this bad?  Can I just delete the Provider records that I do not want?


Any clue why the Provider(s) is/are not showing in the User Browser?


3 replies

Badge +1

Hello?  Is this thing on?

Badge +3

For removal of unused/dead group providers. The K2HostServer database contains a dbo.GroupProvider table. This table holds the list of group providers that have been added to K2. Deleted the SharePoint provider from this table.


As always, I suggest a Database backup before manually deleting data from a K2 table.


We had a similar issue, after deleting a SharePoint site we saw errors in the K2 log that pointed to the SharePoint group provider for the deleted sites. We did the same, manully deleted the entry from the database.

Userlevel 2
Badge +9

You can technically delete the group provider you don't need, but please be careful. If that group provider is used anywhere (roles, process design, etc.), deleting it from the DB will cause errors. Otherwise, yes, you can delete the unused group provider / label from this table.


As for whether or not they show up in the User Browser, SharePoint group providers are supposed to exist under the context of an existing security label. I _believe_ this will be the K2 label, but it is possible that on KB1420 it will show up on the SP label. Regardless, to access and consume these SharePoint groups in the User Browser, you should use the K2 security label (or the SP label in 1420), and NOT the SharePoint Users node. I'm not entirely sure why we even HAVE that SharePoint Users node, since AFAIK it shouldn't every really be used.


HTH


Gail

Reply