Forum Discussion
RajCZ
1 year agoFrequent Visitor
PowerBIResAPI: Dataset failing with Invalid credential : (Mez file, M code, Gateway connection)
I have two Semantic models(connecting with PowerBIRESP API via MEZ file) , Connector(MEZ file) is setup on Gateway server.. one needs admin permission on PowerBI API and another doesn't need. both a...
- 1 year ago
Considering you have service principal id and secret hardcoded in the M code of .MeZ file, you dont need to enter any other credentails while configuring the gateway connection. You can use anonymous authentication.
Power BI user credentials and the service account used for gateway installation has nothing to do with the data refresh failure due to invalid credentails.
Need a Power BI Consultation? Hire me on Upwork
Connect on LinkedIn
Did I answer your question? Mark my post as a solution! If I helped you, click on the Thumbs Up to give Kudos.
Proud to be a Super User!
RajCZ
1 year agoFrequent Visitor
4th credential is userid/service id logged on Power bi Gateway.