Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Obtención de un error de token al conectar el almacén de fabric desde POWER BI DEKSTOP

DiKiI_0-1749832484695.png

Tipo de eedback:
Fruncir el ceño (error)

Timestamp:
2025-06-13T16:32:25.4181474Z

Hora local:
2025-06-13T17:32:25.4181474+01:00

ID de sesión:
dd27f918-f6bd-4065-9dbb-90a209e72755

Lanzamiento:
Mayo 2025

Versión del producto:
2.143.1378.0 (25.05)+4e1de9c957866bc5336e0d250838314aa54ff3a8 (x64)

Mensaje de error:
El servicio devolvió un token no válido. Póngase en contacto con su administrador de TI si el problema persiste.

Seguimiento de pila:
System.InvalidOperationException
en Microsoft.PowerBI.Client.Windows.LiveConnectHelpers.PowerBIService.PowerBIServiceConnector.<GetDatamartTokenCredential>d__28.MoveNext()
--- Fin del seguimiento de pila desde la ubicación anterior en la que se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.<ResolveDatamartQuery>d__57.MoveNext()
--- Fin del seguimiento de pila desde la ubicación anterior en la que se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.<GetDatamartInformationAndResolveDatmartQuery>d__42.MoveNext()
--- Fin del seguimiento de pila desde la ubicación anterior en la que se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.<ExecuteAddPowerBIDatahubSource>d__41.MoveNext()
--- Fin del seguimiento de pila desde la ubicación anterior en la que se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
en Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.<>c__DisplayClass40_0.<<AddPowerBIDatahubSource>b__1>d.MoveNext()
--- Fin del seguimiento de pila desde la ubicación anterior en la que se produjo la excepción ---
en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
en Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAwaitableAsyncExceptions>d__1.MoveNext()

Mensaje de seguimiento de pila:
El servicio devolvió un token no válido. Póngase en contacto con su administrador de TI si el problema persiste.

Seguimiento de pila de invocación:
en Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
en Microsoft.Mashup.Client.UI.Shared.StackTraceInfo.. ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
en 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)
en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)
en 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)
en System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
en 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)
en Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.<>c__DisplayClass40_0.<<AddPowerBIDatahubSource>b__1>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)
en System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
en 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)
en Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.<ExecuteAddPowerBIDatahubSource>d__41.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)
en System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
en 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)
en Microsoft.PowerBI.Client.Windows.PowerBIDataImporter.<GetDatamartInformationAndResolveDatmartQuery>d__42.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)
en System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
en System.Threading.Tasks.Task.FinishContinuations()
at System.Threading.Tasks.Task'1.TrySetResult(TResult result)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder'1.SetResult(TResult result)
en Microsoft.PowerBI.Client.Windows.LiveConnectHelpers.PowerBIService.PowerBIServiceConnector.<GetDatamartInformationForDatahubArtifact>d__25.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)
en System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
at System.Threading.Tasks.AwaitTaskContinuation.RunCallback(ContextCallback callback, Object state, Task& currentTask)
en System.Threading.Tasks.Task.FinishContinuations()
at System.Threading.Tasks.Task'1.TrySetResult(TResult result)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder'1.SetResult(TResult result)
en 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)
en System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] argumentos, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] argumentos)
en 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)
en System.Windows.Forms.Control.InvokeMarshaledCallbacks()
en System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
en 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)
en System.Windows.Forms.Form.ShowDialog(propietario de IWin32Window)
en Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func'1 showModalFunction)
en Microsoft.PowerBI.Client.Program.<>c__DisplayClass7_1.<RunApplicationLegacy>b__1()
en Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
en Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, acción de acción)
en Microsoft.PowerBI.Client.Program.RunApplicationLegacy(String[] args, IPowerBIRootTrace trace)
en Microsoft.PowerBI.Client.Program.Main(String[] args)


PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.143.1378.0","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.LiveConnectHelpers.PowerBIService.PowerBIServiceConnector+<GetDatamartTokenCredential>d__28","Error":"System.InvalidOperationException","MethodDef":"MoveNext","ErrorOffset":"154","ErrorCode":""}

Versión del sistema operativo:
Microsoft Windows NT 10.0.26100.0 (x64 en-US)

Versión de CLR:
4.8 o posterior [Número de versión = 533320]

Pico de memoria virtual:
70,8 GB

Memoria privada:
621 MB

Conjunto de trabajo máximo:
921 MB

Versión IE:
11.1882.26100.0

ID de usuario:
766B30B9-B28A-403B-A849-48D53053FAA3

Información del paquete del libro de trabajo:
1* - en-IE, Grupos de consultas: 0, fastCombine: Deshabilitado, runBackgroundAnalysis: Falso.

Telemetría habilitada:
Verdadero

Registros de seguimiento de instantáneas:
C:\Users\DimpyKumari\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot25d82891-c0bb-40fa-b062-4474ef0e89bd.zip

Modo predeterminado del modelo:
Vacío

Versión del modelo:
PowerBI_V1

Registros de seguimiento de rendimiento:
C:\Users\DimpyKumari\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip

Características de vista previa habilitadas:
PBI_snowflakeAdbcVersionEnabled
PBI_sparklines
PBI_scorecardVisual
PBI_fieldParametersSuperSwitch
PBI_setLabelOnExportPdf
PBI_oneDriveSave
PBI_oneDriveShare
PBI_odspSaveBackgroundUpload
PBI_modernOfficeFilePicker
PBI_useModernPublishDialogs
PBI_gitIntegration
PBI_tmdlInDataset
PBI_directLakeRemoteModeling
PBI_newCard
PBI_buttonSlicerAuthoring
PBI_EimLessElevatedUser
PBI_daxInlineCopilot
PBI_aiNarrativesVisual
PBI_generateMeasureDescriptionsButton
PBI_visualCalculationsAuthoring
PBI_copilotUnifiedTooling
PBI_UserInstalledVerticaODBCDriver
PBI_sqlDbNativeArtifactsOnDesktop

Características de vista previa deshabilitadas:
PBI_googleBigQueryAdbcVersionEnabled
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_metricsArtifactsOnDesktop
PBI_b2bExternalDatasetSharing
PBI_enhancedTooltips
PBI_onObject
PBI_publishDialogsSupportSubfolders
PBI_enhancedReportFormat
PBI_directLakeOnOneLake
PBI_advancedSlicerTypeList
PBI_textSlicer
PBI_qnaImproveLsdlCopilot
PBI_tmdlViewToggle
MashupFlight_EnableOracleBundledOdacProvider
PBI_dataFunctionActions

Opciones de DirectQuery deshabilitadas:
TreatHanaAsRelationalSource

Nube:
Nube global

PowerBIUserFeedbackServices_IsReported:
Verdadero

Escala de DPI:
150%

Servicios compatibles:
Power BI

Fórmulas:


sección Sección 1;

Versión en tiempo de ejecución de WebView2:
137.0.3296.68

Versión del SDK de WebView2:
1.0.2365.46

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

He hecho todos los pasos, pero sigue sucediendo cada vez, lo cual es realmente frustrante.

Syndicate_Admin
Administrator
Administrator

@DiKi-I ,

Gracias por ponerse en contacto con la comunidad de Microsoft Fabric.

¡Gracias @Nasif_Azam para la pronta respuesta.

Quiero comprobar si ha tenido la oportunidad de revisar la información proporcionada y resolver el problema. Si la respuesta ha abordado su consulta, acéptela como una solución y dé un 'Felicitaciones' para que otros miembros puedan encontrarla fácilmente.

Gracias.

Syndicate_Admin
Administrator
Administrator

Hola @DiKi-I ,

Aparece el error: "El servicio devolvió un token no válido" al intentar conectarse a Microsoft Fabric Warehouse desde Power BI Desktop. Esto suele indicar un problema de autenticación o expiración de tokens relacionado con la cuenta de Microsoft o la configuración del inquilino de la organización.

1. Cerrar sesión y volver a iniciarla en Power BI Desktop

  • Vaya a Opciones y configuración de > de archivos > Opciones > Global > Security.

  • Haga clic en Cerrar sesión.

  • A continuación, vaya a la esquina superior derecha de Power BI Desktop y vuelva a iniciar sesión con su cuenta de Microsoft 365 (preferiblemente con la misma cuenta que tiene acceso al área de trabajo de Fabric).

2. Borrar credenciales de Power BI Desktop

  • Vaya a Opciones y configuración de > de archivos > Configuración de la fuente de datos.

  • Busque la conexión Fabric (OneLake) o Warehouse, selecciónela y haga clic en Borrar permisos.

  • Intenta volver a conectarte.

3. Asegúrese de que Power BI Desktop esté actualizado

4. Comprobar el acceso de Microsoft Fabric y de inquilinos

  • Confirme que su cuenta de Power BI tiene el rol y el permiso correctos para acceder al almacén de tejidos.

5. Intente abrir primero desde el servicio Power BI (Web)

  • Vaya a Power BI Service.

  • Localice y abra el Fabric Warehouse directamente desde la web.

  • A continuación, intente conectarse de nuevo desde Power BI Desktop.

6. Si utiliza DirectLake o la conectividad mejorada de conjuntos de datos

Si esta solución le resultó útil, considere aceptarla y felicitarla (Me gusta), es muy apreciada y ayuda a otros a encontrar la solución más fácilmente.


Saludos
Nasif Azam

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors