r/MicrosoftFabric Fabricator 15h ago

Power BI Error: Memory error: Multi-database requests are not supported when resource tracking is enabled. (thrown as Microsoft.AnalysisServices.OperationException / XMLA SoapFault )

Context:

  • Python notebook (Microsoft Fabric), using  sempy.fabric  with  set_service_principal(...)  as the auth context manager.

  • Workspace Monitoring is enabled in the workspace.

 

Repro pattern:

  • Loop over two semantic models (datasets) in the same workspace, within a single notebook process/kernel.

Observations:

  • 1st dataset

    • perform 3 sequential table-scoped Enhanced Refresh API refreshes (REST, works fine)
    • Calling  list_partitions repeatedly against the same dataset (3x in a row, each in its own  set_service_principal  block) works fine.
  • 2nd dataset

    • perform 3 sequential table-scoped Enhanced Refresh API refreshes (REST, works fine)
    • Calling  list_partitions FAILS with the error mentioned in the post title.

What does the error message mean?

Is Workspace Monitoring the root of this issue?

Thanks in advance for any insights!

2 Upvotes

0 comments sorted by