Forum Discussion

Padmanabhan's avatar
Padmanabhan
Helper II
8 months ago
Solved

DatasetNotFoundException when extracting the performance data using metrics app

I created a notebook inside the auto-generated workspace of the Fabric Metrics App and wrote a script to extract performance data.
But I am getting this error:
DatasetNotFoundException: Dataset 'Fabric Capacity Metrics' not found in workspace 'Microsoft Fabric Capacity Metrics'
But the dataset is actually present in the same workspace.
And also the same script worked previously but i am facing this issue for the past two weeks.
Why is this error happening?

  • Hi Padmanabhan ,
    Glad the first issue is fixed

     

    This new error usually means you don’t have enough access to the Fabric Capacity Metrics dataset.

    Please check whether You have Viewer (or above) permission on the dataset. You are still Capacity Admin for that Fabric capacity. Other users who run the notebook also need Viewer access.

    After giving the correct permissions, the notebook should be able to read the data without this error.

    Best Regards, 
    Community Support Team 

12 Replies

  • I created a notebook inside the auto-generated workspace of the Fabric Metrics App and wrote a script to extract performance data.
    But I am getting this error:
    DatasetNotFoundException: Dataset 'Fabric Capacity Metrics' not found in workspace 'Microsoft Fabric Capacity Metrics'
    But the dataset is actually present in the same workspace.
    I am using a free account now.
    Which license do I need to use?
    Why is this error happening?

    • suparnababu8's avatar
      suparnababu8
      Super User

      Hi Padmanabhan 

       

      I think it's throwing error bcz you're using Free account. You need to have Pro, Premium Per User, or a Power BI individual trial) to access and use the app. The auto genearted workspace of capacity metrics app is  a special case and it enforces license checks very strictly than regular workspace. 

       

      So I would recomemd you should be activate Fabric Trail accoutn and make sure you shold be your capcity admin(pls see below image) to conenct the datasets.

       

      Please go through below threads, it might helps you

      Install the Microsoft Fabric capacity metrics app - Microsoft Fabric | Microsoft Learn

      Solved: Capacity Metrics app not working - Microsoft Fabric Community

       

      Hope this helps you

       

      Thank you!!

       

      Did I answer your question? Mark my post as a solution!

      Proud to be a Super User!

       

       

      • Padmanabhan's avatar
        Padmanabhan
        Helper II



        Currently it is in trial mode. Whether this mode need to be changed to overcome this issue?
        Whether it consumes any cost for changing the license or only for the configured sku capacity f2, f4, etc