I have a CSV file that is saved to a document library in SharePoint. I've published my report to the Power BI service and it's refreshing using my credentials. I'm trying to configure the data source so it can be refreshed using a service principal doing the following:
- Created app registration in Entra
- Gave app registration SharePoint Sites.Read.All API permission
- Created a security group in Entra and added app registration to that group. Added security group to SharePoint site as a Member.
However, I get this error:
Failed to update data source credentials: The credentials provided for the Web source are invalid.
Based on other posts, it sounds like this is possibly a bug or just not supported, but I'm just wondering if I missed a step or if there is a better way to do this.