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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
astewart18
Frequent Visitor

Gateway connection setting lost when republishing from Power BI Desktop

I have a Power BI report that accesses a web page (anonymously), a spreadsheet stored on Ondrive for Business, and an in-house SQL server database through an Enterprise On Premises gateway.

 

When I publish a change to the pibx, the dataset is overwritten (there is no option to preserve it) and at the next scheduled refresh I get a failure message. I go into the Refresh settings, and find that the Gateway Connection option is not set to use a gateway. I have to reset this, select the gateway, and then edit the credentials for the datasource. Only then will a refresh occur successfully.

 

Until the next time I make a cosmetic change Smiley Sad

 

What can I do to avoid losing this setting every time? I have tried to add the spreadsheet as a datasource on the Gateway, but it will only let me select between Anonymous or Windows, and I do not want to store a password.

 

 

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @astewart18

I can reproduce your problem.

I create a report in Desktop with data sources of a web page(anonymously), an excel file stored on Ondrive for Business and an in-house SQL server database through an Enterprise On Premises gateway.

Then I face the same problem as you did.

However, when I don't add the file stored on Ondrive for Business as a datasource on the Gateway and select Anonymous. Instead I go to Schdule Refresh->Data source credential, create credential for it and select OAuth2 as the Authentication method.

And, I delete the  web page from desktop file, then republish the report to Service, it can refresh  without manually connecting to gateway and editing credentials.

Based on my test and research, I can explain why the problem happen. Since the data source contains any web source and its Authentication method is Anonymous, after republishing, the connection between web souce and gateway would be disconnect and needs to set manually.

 

Best Regatds

Maggie

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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