Error connecting to SharePoint on prem
I installed the latest version of the Power BI Desktop. It didn't fix the issue for me.
Here is a stact trace if it helps you to solve this:
---> System.Net.CookieException: Cookie format error.
at System.Net.CookieContainer.CookieCutter(Uri uri, String headerName, String setCookieHeader, Boolean isThrow)
--- End of inner exception stack trace ---
at System.Net.CookieContainer.CookieCutter(Uri uri, String headerName, String setCookieHeader, Boolean isThrow)
at System.Net.CookieContainer.SetCookies(Uri uri, String cookieHeader)
at Microsoft.Mashup.OAuth.CookieHelper.TryGetCookies(Uri url, HashSet`1 cookieNames, CookieCollection& cookies)
at Microsoft.Mashup.OAuth.SharePointOAuthProvider.FinishLogin(Byte[] serializedContext, Uri callbackUri, String state)
at Microsoft.Mashup.Client.ClientShared.OAuthManager.OpenOAuthDialog(Form parentWindow, WindowsHost windowsHost, String resourceKind, String accessToken, String resourceUrl)
at Microsoft.Mashup.Client.ClientShared.OAuthManager.<>c__DisplayClass4.<OpenOAuthDialog>b__3()
at Microsoft.Mashup.Client.ClientShared.OAuthManager.<>c__DisplayClass7.<AsyncGetOAuthResult>b__6()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
Br,
Antti