Forum Discussion
PBI Admin Datasource API error - DMTS_UserNotFoundInADGraphError
- 1 year ago
Hi DanrleiAlves ,
Thank you for reaching out to the Microsoft fabric community forum.
Make sure you have these permissions
- The user must be a Fabric administrator or authenticate using a service principal.
Also try to follow this article Datasets - Get Datasources In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
and try to get the data source by following the provided HTTP code .
Make sure you have these permissions
Dataset.ReadWrite.All or Dataset.Read.All
Hope this helps if you have any queries we are happy to assist you further.
Regards,
Harshitha. - 1 year ago
Hi DanrleiAlves
1. Check if the dataset is in deleted state - powerbi - Power BI REST Admin - Datasets GetDatasourcesAsAdmin return DMTS_UserNotFoundInADGraphError - Stack Overflow
2. If you have access to Fabric Workspace you can try Sempy python library (fabric.list_datasources()). Even if it doesn't work.
3. Open the semantic model on Tabular Editor and under Tables->Partitions->Expressions you can see the Power Query used to build that table.
Hi DanrleiAlves
1. Check if the dataset is in deleted state - powerbi - Power BI REST Admin - Datasets GetDatasourcesAsAdmin return DMTS_UserNotFoundInADGraphError - Stack Overflow
2. If you have access to Fabric Workspace you can try Sempy python library (fabric.list_datasources()). Even if it doesn't work.
3. Open the semantic model on Tabular Editor and under Tables->Partitions->Expressions you can see the Power Query used to build that table.