Remove users from SPWeb.AllUsers

Remove users from SPWeb.AllUsers

Problem:


The Log.log of the Collaboration Manager lists too many users who are authorized to access the site.

Cause:


As soon as a user was ever authorized for the template or was used in a PeoplePicker, this user is listed in the AllUsers List of the web.

Solution:


Remove unnecessary users via Powershell:

$w = $get-spweb [URL]

$au = $w.AllUsers

$au.Remove([claim|domain|user])
    • Related Articles

    • Workspace is not created (with external users)

      Creating new  workspaces with external users will fail. It does not create a workspace after creating a new list item. The Status column and the URL field are not gefüllt.Arbeitsbereich will not be created (with external users) The following error ...
    • Workspace creation Error occured - Unauthorized Access Exception

      Symptom After creating a workspace the status column in the workspace list shows an Error Occurred. The log shows this or an similar error : Solutions2Share.Solutions.CollaborationManager.Services.Components.Workspace.CreateFromTemplateInternal: ...
    • Uninstall Collaboration Manager

      Please follow the order to remove the Collaboration Manager items: Deleting Contents from Lists/Libraries Delete lists/libraries Delete columns Delete content types Disable feature Retract Collaboration Manager Solution from Content Web Application ...
    • Error urlOfFile not supported

      Error in log.log:   [12.07.2016 16:57:18] [List] [Testlib]   Error: urlOfFile Parameter name: Der angegebene Wert wird für den urlOfFile-Parameter nicht unterstützt. [12.07.2016 16:57:18] [List] [Testlib]   Debug:    at ...
    • Error: Workspace already exists in status column of Collaboration Manager

      Problem: An error occurs during workspace creation and the site is not generated. The value "Workspace already exists" is displayed in the status column. Cause: The SiteCollection has already been created with the same URL. Solution: Delete ...