I'm trying to connect to a Azure Data Explorer (Kusto) source on a completely fresh install. You can try this for https://help.kusto.windows.net/ but I've had the same problem with our production data source as well.
When I click on sign-in a popup shortly flashes and closes again. Then it just reads: "We're unable to connect. Please delete your credentials and try again later."
In the trace I've found the following Exception:
DataMashup.Trace Critical: 24579 : {"Start":"2022-06-02T14:54:02.0534165Z","Action":"PBI.PQ.UnhandledException","message":"WebViewNavigationException","stackTrace":"WebViewNavigationException\r\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at Microsoft.Mashup.Client.UI.WebViews.WebViewOAuthDialog.<<OnWebViewCreated>b__15_0>d.MoveNext()\r\n--- Async stack ---\r\n at Microsoft.Mashup.Client.UI.WebViews.WebViewOAuthDialog.<HandleAsyncExceptions>d__14.MoveNext()","OSBitness":"64-bit","OSVersion":"Microsoft Windows NT 10.0.22000.0","location":"","powerBINonFatalError":"{\"AppName\":\"PBIDesktop\",\"AppVersion\":\"2.105.923.0\",\"ModuleName\":\"Microsoft.Mashup.Client.UI.Extension.dll\",\"Component\":\"Microsoft.Mashup.Client.UI.WebViews.WebViewOAuthDialog+\\u003c\\u003cOnWebViewCreated\\u003eb__15_0\\u003ed\",\"Error\":\"Microsoft.Mashup.WebViews.WebViewNavigationException\",\"MethodDef\":\"MoveNext\",\"ErrorOffset\":\"428\"}","stackTrace2":"","stackTrace3":"","stackTrace4":"","modelTraits":"{\"importTables\":0,\"directQueryTables\":0,\"dualTables\":0,\"directQuerySources\":0,\"proxyModelSources\":0,\"mashupEvaluatedCubeSources\":0}","sessionId":"5b7c6df3-d903-42c5-9f61-b9f7561ff7f5","deviceId":"df638c61","userId":"eef49f16-5714-48d6-bd5c-e7112c739baa","isInternal":"False","authenticatedUserId":"Unknown","ProductVersion":"2.105.923.0 (22.05)","ActivityId":"73449eb7-67e2-4bc2-bbe2-744abc884d90","Process":"PBIDesktop","Pid":30000,"Tid":1,"Duration":"-00:00:00.0105272"}
DataMashup.Trace Critical: 24579 : {"Start":"2022-06-02T14:54:02.0534165Z","Action":"Mashup.EngineExceptionEvent","uxVisible":"True","type":"WebViewNavigationException","stackTrace":"System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification\r\nMicrosoft.Mashup.Client.UI.WebViews.WebViewOAuthDialog.<<OnWebViewCreated>b__15_0>d.MoveNext\r\n--- End of stack trace from previous location where exception was thrown ---\r\nSystem.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw\r\nSystem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification\r\nMicrosoft.Mashup.Client.UI.WebViews.WebViewOAuthDialog.<HandleAsyncExceptions>d__14.MoveNext\r\n","sessionId":"5b7c6df3-d903-42c5-9f61-b9f7561ff7f5","deviceId":"df638c61","userId":"eef49f16-5714-48d6-bd5c-e7112c739baa","isInternal":"False","authenticatedUserId":"Unknown","ProductVersion":"2.105.923.0 (22.05)","ActivityId":"4b968012-ddbb-4551-b773-e29e00cf5c6a","Process":"PBIDesktop","Pid":30000,"Tid":1,"Duration":"-00:00:00.0103703"}
I've validated this problem on 3 different machines with the most current May 2022 version. I can also send you the full Diagnostic Information Dump, but I can't upload it here...
6 Comments
- AlexGorev
Power BI Team
This is aknown issue and we are investigating. Please use this workaround for now:
Power BI Desktop customers may experience authentication issues attempting to connect to data source using AAD and may see the following error message "We're unable to connect. Please delete your credentials and try again later". As a workaround customers can go to Power BI Desktop and enable Options -> Security -> Authentication Browser -> “Use my default web browser”. Engineers are investigating the issue and an update will be provided soon.
- AnonymousNot applicable
Hi stefan_c2d
It's a known issue , the ID is 311894322 . You can first solve your problem according to the solution provided by AlexGorev . I'll be back with an update if this issue develops .
Best Regards,
Community Support Team _ Ailsa Tao - stefan_c2dRegular Visitor
AlexGorev after I logged in I got no feedback that anything happend in the dialog, but when I click on connect it worked perfectly, thank you very much!
Anonymous yes, please keep me posted 🙂
- xli629b
Helper II
I am also seeing this problem with an OAuth connector with Oct 2021 and Nov 2021 versions of Power BI.
- AnonymousNot applicable
Hi stefan_c2d
The issue has been solved . Please update your Desktop version and then try again .Looking forword to your reply !
Best Regards,
Community Support Team _ Ailsa Tao - stefan_c2dRegular Visitor
Anonymous thank you, it's working now as expected.