Forum Discussion
Power Bi Rest Api App Endpoints
I am trying to interact with an App on a workspace using a service principal.
Interact how? For what purpose?
I want to use the power bi rest api to query the app to get the lists of reports. I would like to not use a username and password to retrieve a token to do this.
- lbendlin1 year agoSuper User
That's not something you do with the app. You need to call the Group/Workspace endpoint for that.
- jmoore111 year agoRegular Visitor
I understand that and we do that for other use cases. However, this use case is to only get reports that are associated to an app. I'd also like to leverage a service principal to call the api endpoint.
I understand this functionality is not allowed and I am very interested to know why. As I said before, people are assigning an admin user to the app and using their credentials to retreive information about the app. That seems like a very bad practice and I am curious to know why this is the accepted route.- lbendlin1 year agoSuper User
I am of the opposite opinion. I consider service principals to be "very bad practice" as you completely lose the auditability. You will have no idea who to yell at when things go pear shaped.