The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Hi Dinesh,
Thank you for posting your question in the Microsoft Q&A forum.
Regarding the behavior you described: “the response time is extremely slow, and it often times out even when processing around 10,000 users when loading the AadObjectId property”. I have explained the underlying reasons in this thread: https://learn.microsoft.com/en-us/answers/questions/5639237/retrieving-aadobjectid-for-site-users-via-csom-cau?page=1&orderby=Helpful&translated=false#answers. Please review that discussion and consider some of the suggested approaches there to efficiently retrieve orphaned users across all site collections.
Additionally, I’d like to share insights on what you observed: “many users with unknown titles, such as SLinkClaim, and with empty UPNs and object IDs.” Although there is no single official article that explains this in detail, based on available references and practical experience, this behavior is likely related to SharePoint Online’s claims-based identity model. Certain entries like Login Name in the User Information List represent claim principals (for example, linked to Microsoft 365 Groups or directory claims) rather than standard user accounts. These entries often appear with titles like SLinkClaim, and they do not have UPNs or AadObjectIds because they are not mapped to individual Azure AD users.
References:
- Claims-based identity and concepts in SharePoint
- Understanding SPO claims
- Claims-based identity in SharePoint
Hope the insights above are helpful. If you have any further questions, please feel free to share.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.