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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.