Forum Discussion

Michael Brooks's avatar
Michael Brooks
Brass Contributor
Apr 22, 2023

Microsoft.SharePoint.exe issues

I have been getting random prompts from my W11 PC telling me that in order to synchronise my lists I have to authenticate, but when I click on this to do so, the dialog that pops up has the wrong account displayed (another one of mine that I use for professional work as opposed to my personal account, which is what should be in use) and there is no way for me to tell it that this is the wrong account; I checked my OneDrive settings (since it's an M365 tool) and it is already set to use the correct account.

I have established that the executable responsible for this is Microsoft.SharePoint.exe - yes, a desktop executable called SharePoint. It is a Microsoft application and it resides at C:\Program Files\Microsoft OneDrive\23.071.0402.0001, so it would appear that it may be something to do with OneDrive . I have attached a screenshot so you can see what I am talking about.

I need a mechanism by which to instruct this login dialog that it is using the wrong account.

4 Replies

  • SpaceBAWS's avatar
    SpaceBAWS
    Copper Contributor

    I kept getting notifications to sign into an old business account that I am locked out of now. What I am trying currently (seems fixed so far) is In any OneDrive app "Add an Account", use the old account mailto:email address removed for privacy reasons e-mail. Try logging in if needed or you may already have the locked message once you type in your e-mail. Look for the new Blue (work/school) Onedrive icon with a slash through it. Click on Gear -> Settings -> Unlink this PC.

    So far this seems to stop the SharePoint notification asking me for credentials.

    Last May I tried the onedrive reset command above, but even after a full reset, I was still getting the Sharepoint notifications to sign in with my old work/school email.

    • Michael Brooks's avatar
      Michael Brooks
      Brass Contributor
      Thanks for the suggestion. I have just checked there but unfortunately the username shown within "OneDrive Cached Credential" is merely a hexadecimal string, so I've no way of determining which account that actually refers to. That said, I would expect the Credential Manager to be what OneDrive is using, and I know that OneDrive generally is working - in addition to the admin dialog showing the correct account (see earlier screenshot), it is populating the OneDrive folder hierarchy with the correct files.
      The relevant questions are:
      1) given that Microsoft.SharePoint.exe is clearly something to do with OneDrive, why does it not use the same credential source as the rest of OneDrive?
      2) where does it obtain its cached credentials?
      3) how do I change or delete its cached credentials?
      • davenea's avatar
        davenea
        Copper Contributor

        Michael Brooks 

         

        I had the identical issue you're describing and solved it with the following link https://www.sharepointdiary.com/2021/06/how-to-reset-onedrive-for-business-sync-client.html#:~:text=%25localappdata%25%5CMicrosoft%5COneDrive%5C,sync%20all%20your%20OneDrive%20files. (shorten link)

        Just simply do:

        Step 3: Type in the Reset Command
        In the Command Prompt window, type in the below command and press enter:

        %localappdata%\Microsoft\OneDrive\onedrive.exe /reset

        , Where %localappdata% is the direct path to onedrive.exe

         

        Hope this resolve your issue

Resources