Office programs keeps asking credentials to connect to SharePoint

Do you recognize this?

You connected a document library to Office, because you want to be able to save Office documents directly to SharePoint, without looking for the right URL. With this ribbon button, you can create a SharePoint location in Word/Excel/etc that you can use as save location. Very usefull.

After some time however, I was going nuts because everytime I had Office documents opened on my machine, about every 15 minutes, I was asked credentials for a customer site I had connected to about a year ago. I didn’t have access to that site anymore, so removing the location thru the ribbon wasn’t possible.

Very annoying when you are in the middle of a training or demosession and every 15 minutes your screen is switched to the login screen. Arghhh!!

Btw: I also had another location Office kept bugging me for. I removed the location in SharePoint but this didn’t help either…

After some #sphelp tweets and a lot of Googling the internet I finally found the solution. Yeah! 🙂

The solution can be found in the registry, at the following key:

[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\Portal\Link Providers\*Name of link*]

Once you remove the sites for which you are asked credentials, the problem is gone. Puff!!

9 thoughts on “Office programs keeps asking credentials to connect to SharePoint

  1. Dave

    This has been annoying me for ages. Like you say when doing training it pops up in powerpoint on me. >:( it keeps trying to connect to MySite.

    I don’t have the key you mention in my registry. I have up to Common but not Portal.

    Where did you find this info?

    Reply
    1. Ernst Wolthaus Post author

      If you Google on this subject, you’ll find several answers, all with different locations in the registry. However, none of them worked for me (like my blog post unfortunately doesn’t work for you…).

      So, in the end, I scanned my entire registry by searching for the URL that Office tries to connect to.

      BTW: are you sure you use the correct path? Maybe you’re looking in an old Office location (version 12.0 maybe?). Make sure you are in “HKEY_CURRENT_USER\Software\Microsoft\Office\14.0” (14.0!)

      Good luck!

      Reply
  2. Florian

    Hi Ernst,

    Unfortunately I could not find the rest after HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\ there is no portal directory … 🙁

    Florian

    Reply
  3. JoeAtWork7

    Much appreciated…of course I was unable to find the exact registry key you mentioned, but a scan of the registry showed the culprit…
    …It amazes me how the client doesn’t have the ability to remove this without a reg hack…

    Anyway, thanks…my Google searches found lots of similar posts, but yours was the first that had the same issue…

    Reply
  4. Ahmad

    Mine was at:

    HKEY_CURRENT_USER\Software\AppDataLow\Microsoft\Office\14.0\Common\Portal

    Thank you very much for the help, this has annoyed me for a very long time.

    Reply
    1. Dove

      Thank you! Mine was here too and not in the original link posted. Thank goodness the internet delivers answers to your questions! (And how to avoid annoying MS pop ups… ;))

      Reply
  5. Gaz Zebo

    Registry hack is ok for you – but I am getting the credentials pop up in end users customers off one of our websites (anonymous all set up ok etc… )

    we cannot tell people to check their registries .- its easier for them to use another browser or download the file and save as

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *