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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
DanrleiAlves
New Member

PBI Admin Datasource API error - DMTS_UserNotFoundInADGraphError

Hi everyone,

I'm running into an issue when trying to use the Power BI Admin API to retrieve datasource information for a specific dataset using its datasetId. Here's what I'm trying to do:

However, when I call the API, I get the following error: 

DMTS_UserNotFoundInADGraphError (image below)
DanrleiAlves_0-1753169259178.png

 

Has anyone seen this error before?

Any suggestions on how to get around this error or alternative ways to retrieve datasource details (especially the Synapse database and view/table name) would be greatly appreciated.

Thanks in advance!

2 REPLIES 2
v-hjannapu
Community Support
Community Support

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.

Hi @DanrleiAlves.,
I hope the information provided above assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.

Regards,
Harshitha.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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