Forum Discussion

FelipeDBA's avatar
FelipeDBA
Frequent Visitor
5 years ago
Solved

Azure Analysis Services - December Update Problem

Hi! My PowerBI Desktop has updated to December/20 version this morning and suddenly my pbix files that uses Live Connection to  Azure Analysis services stoped to open. I'm getting 2 erros messages:

"Windows authentication isn't supported in DirectQuery mode for this data source"
and

"Name validation is not supported for readonly schemas"

 

Looking at the PowerBI blog I found a post from yesterday explaining the possibility of use Direct Query for Analysis Services and for this error messages the connection is being forced to use direct query and it is with problems.


If anyone know a better channel to adress this problem direct with microsoft, I appreciate.

 

 

 

Regards!

 

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi  FelipeDBA  ,

    You can try to clear the permission of the Azure Analysis Services connection from the data source settings

    1. Open a blank power Bi report and enter the data source settings
    2. Select the correct global permission and delete it
    3. Open power Bi report to connect with Azure Analysis Services for live connection. You should be prompted to log in. Select Microsoft / organization to log in. You should be able to connect again

    For your question, I found a similar post for you to check:

    https://community.powerbi.com/t5/Issues/Azure-cube-connection-issue/idi-p/1556258

    https://community.powerbi.com/t5/Issues/DirectQuery-for-Power-BI-datasets-and-Analysis-Services-Error/idi-p/1556478

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hello,

     

    I was also facing this issue and was able to resolve the live connection issue with you suggestion. Thank you.

     

    However, for reports which has other data sources ( sharepoint online and OData ) and Azure Analysis Service with import mode, I'm still not able to connect.

     

    Once uploaded to Power BI Online, I'm required to add the datasource to the gateway and encountering error as below:

     

    Unable to create data source. An invalid connection string has at least one of the passed arguments which does not meet the parameter specification. Please check the data source connection string.

     

    Details:

    Prod-GW01: Authentication failed: User ID and Password are required when user interface is not available. 

     

     

  • I have a similar issue but a totally different scenario

     

    I have a dataset report builded by a user (User-A) and uploaded to PBI service (named Report-X)

    I have another report that uses Report-X as datasource (named Report-Y)

     

    I shared Report-X dataset to an external user (user-X)

    Opened report-Y in power bi desktop and changed my user from user-A to user-X

    Clicked dataset settings within ribbon and select external data tab, clicked Report-X and clicked connect.

    the table selection menu was opened, i clicked all the tables within database and clicked Submit !!! Error comes out

     

    Feedback Type:
    Frown (Error)
    
    Error Message:
    Name validation is not supported for readonly schemas
    
    Stack Trace:
    System.NotSupportedException
       at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
       at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
       at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state)
       at Microsoft.PowerBI.Client.Windows.Services.UIBlockingService.SetUIBlockingStateToAllowModalDialogs(Action action)
       at Microsoft.PowerBI.Client.Windows.LiveConnectHelpers.LiveConnectionPropertiesValidator.TryGetValidLiveConnectionProperties(IPowerBIWindowService windowService, ILiveConnectionProperties connectionProperties, Report report, ILiveConnectionCompleter liveConnectionPropertiesCompleter, ILiveConnectionProperties& validLiveConnectionProperties, Boolean& resultIsSameConnection, ValidationStatus& validationStatus)
       at Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.AreAnalysisServicesConnectionPropertiesValid(IPowerBIWindowService windowService, Report report, ILiveConnectionProperties connectionProperties, AnalysisServicesConnectionMode connectionMode, ILiveConnectionCompleter completer, ILiveConnectionProperties& validConnectionProperties)
       at Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.ValidateAndCreateAnalysisServicesConnection(ILiveConnectionProperties connectionProperties, Boolean addToFormulaHistory, Boolean isExternalDataset)
       at Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.<>c__DisplayClass36_0.<<AddPowerBIDatahubSource>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAwaitableAsyncExceptions>d__1.MoveNext()
    
    Stack Trace Message:
    Name validation is not supported for readonly schemas
    
    Invocation Stack Trace:
       at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
       at Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
       at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
       at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
       at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
       at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
       at Microsoft.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)
       at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAwaitableAsyncExceptions>d__1.MoveNext()
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
       at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
       at System.Threading.Tasks.Task.FinishContinuations()
       at System.Threading.Tasks.Task.Finish(Boolean bUserDelegateExecuted)
       at System.Threading.Tasks.Task`1.TrySetException(Object exceptionObject)
       at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetException(Exception exception)
       at Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.<>c__DisplayClass36_0.<<AddPowerBIDatahubSource>b__0>d.MoveNext()
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
       at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
       at System.Threading.Tasks.Task.FinishContinuations()
       at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
       at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetResult(TResult result)
       at Microsoft.PowerBI.Client.Windows.LiveConnectHelpers.PowerBIService.PowerBIServiceConnector.<SelectDatahubArtifactFromPowerBIService>d__17.MoveNext()
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
       at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
       at System.Threading.Tasks.Task.FinishContinuations()
       at System.Threading.Tasks.Task`1.TrySetResult(TResult result)
       at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetResult(TResult result)
       at Microsoft.PowerBI.Client.Windows.PowerBIService.Flows.AuthenticatedWebRequestor.<Execute>d__5`1.MoveNext()
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
       at Microsoft.PowerBI.Client.Program.<>c__DisplayClass7_0.<RunApplicationLegacy>b__0()
       at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
       at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
       at Microsoft.PowerBI.Client.Program.RunApplicationLegacy(String[] args)
       at Microsoft.PowerBI.Client.Program.Main(String[] args)
    
    
    PowerBINonFatalError:
    {"AppName":"PBIDesktop","AppVersion":"2.132.1053.0","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.Services.UIBlockingService","Error":"System.NotSupportedException","MethodDef":"SetUIBlockingStateToAllowModalDialogs","ErrorOffset":"43","ErrorCode":""}
    
    AS Live Connection:
    True
    
    Performance Trace Logs:
    C:\Users\kadir\Microsoft\Power BI Desktop Store App\PerformanceTraces.zip
    
    Enabled Preview Features:
    PBI_b2bExternalDatasetSharing
    PBI_sparklines
    PBI_scorecardVisual
    PBI_NlToDax
    PBI_fieldParametersSuperSwitch
    PBI_setLabelOnExportPdf
    PBI_dynamicFormatString
    PBI_oneDriveSave
    PBI_oneDriveShare
    PBI_useModernPublishDialogs
    PBI_gitIntegration
    PBI_newCard
    PBI_buttonSlicerAuthoring
    PBI_EimLessElevatedUser
    PBI_mobileAutoReportLayout
    PBI_daxInlineCopilot
    PBI_aiNarrativesVisual
    PBI_qnaImproveLsdlCopilot
    PBI_generateMeasureDescriptionsButton
    PBI_desktopReportAuthoringCopilot
    
    Disabled Preview Features:
    PBI_shapeMapVisualEnabled
    PBI_SpanishLinguisticsEnabled
    PBI_qnaLiveConnect
    PBI_enhancedTooltips
    PBI_onObject
    PBI_odspSaveBackgroundUpload
    PBI_publishDialogsSupportSubfolders
    PBI_tmdlInDataset
    PBI_enhancedReportFormat
    PBI_visualCalculationsAuthoring
    
    Disabled DirectQuery Options:
    TreatHanaAsRelationalSource
    
    Cloud:
    GlobalCloud
    
    PowerBIUserFeedbackServices_IsReported:
    True
    
    Formulas:
    
    
    section Section1;