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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
m-colbert
Resolver III
Resolver III

Scanner API - Dataset Users Whole Organization

I'm pulling worksapces scans using the Scanner API to load meta data into SQL. While writing a simple merge I got an unexpected condition where the same dataset id and same graph id have two differenet access rights. as indicated by the "MERGE statement attempted to UPDATE or DELETE the same row more than once" error.

 

This happens only when the user display name is "Whole Organization", not for an actual user, group or service prinicipal. It's not on every workspace or every dataset, just some. It has the princiaplType of None. However, when reviewing permissions on the dataset in the service, Whole Organization is never displayed. I'd like to understand how it got there and how I can remove it.

 

mcolbert_0-1662501037252.png

 

Thanks

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @m-colbert ,

 

princiaplType none is  Used for whole organization level access.

Datasets - Get Dataset Users In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs

 

Maybe you can delete it by rest api

Groups - Delete User In Group - REST API (Power BI Power BI REST APIs) | Microsoft Docs

 

Best Regards

Community Support Team _ chenwu zhu

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

More of the issue is why is this only on some workspaces, how did it get there and how can the service report more than one access level for the same object/group?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.