Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • I don't see how this could help. My problem is that the popup window called by GetWebLoginClientContext does not stay open long enough to actually enter my credentials, and what you have posted concerning that is pretty much identical to my code. The part after where you actually access the context fails in my case because the user is not authorized as an admin. Commented Jun 6, 2020 at 20:08
  • Ok, check this if it helps Or try logging out from browser and clearing cache and then try again running this code. Commented Jun 7, 2020 at 5:02