Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
When I use Power BI Desktop to get data from SQL Server, I use the form of 'servername : portnumber' to connect to database. Then I publish the report to Power BI on the web.
I can refresh my data in Power BI Desktop. But when I want to configure schedule refresh, the tip shows that 'Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again'. The credentials is in the form of 'servername : portnumber'. But on the web, I can only connect to database by using the form of 'servername,portnumber'.
Now I can only refresh the data in my report and then publish it to Power BI on the web.
So, how can I configure schedule refresh successfully on the web?
PS: Gateway and datasource is good to go. The form of connection is 'servername,portnumber' on the web.
Solved! Go to Solution.
@Violet,
Please change your server name to "Servername,portnumber" format in Power BI Desktop. In order to successfully refresh the dataset in Power BI Service, the connection strings(server name, database name) should match between Power BI Desktop and gateway.
Regards,
Lydia
@Violet,
Please change your server name to "Servername,portnumber" format in Power BI Desktop. In order to successfully refresh the dataset in Power BI Service, the connection strings(server name, database name) should match between Power BI Desktop and gateway.
Regards,
Lydia
Hi Lydia,@v-yuezhe-msft
I tried this way before, but I cannot connect to the SQL Server if I use "Servername,portnumber" format.
Is there any configuration I need to change?
Best regards,
Violet
@Violet,
What error message do you get? Are you able to use the servername, port format in SSMS? Everything works in my Power BI Desktop.
Regards,
Lydia
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
13 | |
9 | |
7 | |
6 |