We have mismatch ID issue due to old user returning and need to clean old profile on individual site. Is there a way to do it on multiple site for a user

Audi86 756 Reputation points
2024-10-23T19:37:15.23+00:00

hi,

we have few cases of returning user in our company and when when they try to access the site, they get mismatch ID issues whether its one drive or SharePoint site shared with them and to fix this we need to use this documentation from Microsoft 1 to run on individual site which removes their old dormant IDs. Is there a way to do it on multiple site for a user all at once if there is mismatch issues on multiple site for user who had access to them before with their old Ids or something on SharePoint level to remove their old ID? Thanks

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,837 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,177 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ling Zhou_MSFT 18,100 Reputation points Microsoft Vendor
    2024-10-24T02:34:08.84+00:00

    Hi @Audi86,

    Thank you for posting in this community.

    We can use PnP Power Shell to repair ID mismatch for user across all sites.

    Please read this article: Repair ID mismatch for user across all Sites.

    Please refer to the following steps if you are new to PnP PowerShell:

    1. Install the PnP PowerShell Module for SharePoint Online 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. 
    2. If you encounter this problem in connecting SharePoint Online: PnP PowerShell - AADSTS700016: Identifier “31359c7f-bd7e-475c-86db-fdb8c937548e” was not found in the catalog for the Application. Please refer to this article to resolve. 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 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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Alvaro Avila 85 Reputation points
    2024-11-05T13:35:35.3433333+00:00

    Hi @Audi86,

    I'm the developer of the script shared by Ling Zhou.

    The solution to fix ID Mismatch across all sites I've also included it on this free and open-source app I've developed, I leave the GitHub link here in case you find it interesting; https://github.com/Barbarur/NovaPoint

    This is the KB of that specific solution: https://github.com/Barbarur/NovaPoint/wiki/Solution-QuickFix-IdMismatchTrouble

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.