cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
CCal
New Member

Why does PowerBI custom connector need "ReadWrite.All" permissions?

Hi, 

Just starting out to build and test a PowerBI custom connector to grab data from Azure AD. 
For testing purposes, the connector goes to this endpoint: https://graph.microsoft.com/beta/users and grab all the data and import that into PowerBI.

 

I added the connector to the data gateway for auto refresh and it works, but when I remove these two delegated permissions (Group.ReadWrite.All and User.ReadWrite.All), the auto refresh fails. If I added back the Write permissions, the refresh works again.

Since it is just reading information, wouldn't the Group.Read.All and User.Read.All permissions be sufficient?

 

Anyone have an idea why a Write permission is needed?

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @CCal ,

 

I think we need write permission to refresh dataset successfully.

Most of the operations in the Power BI Service are basically supported by calls using the API. You can refer to the refresh APIs to make sure what permission you need to.

vrzhoumsft_0-1684309586313.png

 

For reference:

Datasets - Refresh Dataset

 

Best Regards,

Rico Zhou

 

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

 

View solution in original post

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

Hi @CCal ,

 

I think we need write permission to refresh dataset successfully.

Most of the operations in the Power BI Service are basically supported by calls using the API. You can refer to the refresh APIs to make sure what permission you need to.

vrzhoumsft_0-1684309586313.png

 

For reference:

Datasets - Refresh Dataset

 

Best Regards,

Rico Zhou

 

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

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.