user not included in User Information List

Ware 21 Reputation points
2021-05-31T14:56:14.04+00:00

In sharepoint on premise 2019 we have given permission to an Active Directory group that contains more than 200 users.
In the sharepoint User Information List we can see only 95 users.
If a users logs into sharepoint it appears in the User Information List

Is it possible to force users to be in User Information List without login?

thanks

SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,761 questions
0 comments No comments
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,326 Reputation points
    2021-06-01T09:13:09.113+00:00

    Hi @Ware

    Per my knowledge, when you grant permission to an Active Directory group, the group will be added to the user information list but users in the group will not be added until they access the site collection.

    We can grant permission to users then they will be added to user information list without login. There is no other workaround available in SharePoint.

    You can use PowerShell Script to grant user permission or grant permission in site permission settings.

    PowerShell codes:

    Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue  
      
    #Parameters  
    $WebURL = "http://    "  
    $UserID="domain\user"  
    $PermissionLevel="read"  
      
    #Get the Web   
    $Web = Get-SPWeb $WebURL  
    $User = $web.EnsureUser($UserID)  
      
    #Grant Permission to User  
    Set-SPUser -Identity $User -Web $WebURL -AddPermissionLevel $PermissionLevel  
    

    References:
    https://social.technet.microsoft.com/Forums/en-US/3bf1d0f4-4b6e-449b-ab28-8e69ec26cccd/how-to-add-users-automatically-to-users-information-list-in-sharepoint-2013-without-manual-work?forum=sharepointadmin
    https://sharepointdiv.wordpress.com/2018/04/09/user-information-list-in-sharepoint-all-details/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful