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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
walid140891
Helper III
Helper III

Rest API credentials issues in power bi service

Hello Saviors,

 

We have created a power bi report in power bi desktop and we made the incremental refresh configurations and we, for the first time, published our report to pbi service:

walid140891_0-1603461409222.png

walid140891_4-1603462447836.png

 


The normal refresh button works fine in PBI Desktop, but The problem is that when trying to set a Scheduled Refresh or connecting our dataset to the a Gateway we face credential issues like shown below:

 

walid140891_1-1603461514123.png

 

And when editing the credentials we faced this error:

 

walid140891_2-1603461578290.png

 

And when it comes to adding a datasource to the GateWay here's the issue:

 

walid140891_3-1603461816593.png

 

We have checked many solutions in the web but none of them was good for us.

Please Help Us!!! 😣

 

 

 

1 ACCEPTED SOLUTION
v-msft-pazhen
Frequent Visitor

Hi @walid140891 ,

Whether the setting of data source in Power BI Desktop and Power BI Service? Please refer the method in the following links, hope they can help you resolve the problem.

Invalid connection credentials Refresh issue

THE HIDDEN GEMS OF THE FUNCTION WEB.CONTENTS()

data source setting.JPG

Best Regards
Rena
Community Support Team _ Rena Ruan
If this post helps, then please consider Accept it as the solution to help the other members find it more.

View solution in original post

3 REPLIES 3
florianh
Frequent Visitor

I had the exact same issue. For me it worked to turn on the “skip test connection”. I use the following setting:

florianh_0-1737036414636.png

 

v-msft-pazhen
Frequent Visitor

Hi @walid140891 ,

Whether the setting of data source in Power BI Desktop and Power BI Service? Please refer the method in the following links, hope they can help you resolve the problem.

Invalid connection credentials Refresh issue

THE HIDDEN GEMS OF THE FUNCTION WEB.CONTENTS()

data source setting.JPG

Best Regards
Rena
Community Support Team _ Rena Ruan
If this post helps, then please consider Accept it as the solution to help the other members find it more.

@v-msft-pazhenThank you for your response, the problem was also small, I was trying to connect to the localhost but when I connected to the live API it worked fine.

 

Thank you again.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.