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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
AdelaItcon1
New Member

Problem Resfresh: credential interference between workspaces connected to Dynamic365BusinessCentral

Hi, I am currently working with different and independent companies which use Dynamic 365 Business Central ERP.

For each company we create its own workspace where the Dataset (whose origin is Dynamic 365 Business Central connector) and Dashboard are published.

 

Whenever we create a new workspace  for a new company in the Power BI service and add a dataset which is also using a Dynamic 365 Business Central connector and enter the new credentials , the automatic refresh of the rest of the workspaces (which also use Dynamic 365 Business Central connector)  is disabled, because the new credentials are spreaded to all the worksapces

 

As I explained before, each company is independent from the rest and so are their credentials. 

 

Is there a way to use more than one workspace connected to a Dynamic 365 Business Central connector without credentials interference?

 

AdelaItcon1_0-1673262830140.png

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi , @AdelaItcon1 

According to your case requirements, you seem to want to link to multiple workspaces of D365 data sources as data sources, but do not want to switch back and forth, too time-consuming, for your needs, I strongly recommend that you use Power query dynamic parameter as a parameter to connect to the data source in the desktop, so that after you publish the report to the service, you can also dynamically switch the parameter values according to your needs. For details, you can refer to the following steps:

In Power BI Desktop, select Home > Transform data > Transform data to open the Power Query Editor.

In the Power Query Editor, select New Parameters under Manage Parameters in the ribbon.

vyueyunzhmsft_0-1673317004161.png

In the Manage Parameters window, fill out the information about the parameter. For more information, refer to :
Parameters - Power Query | Microsoft Learn

vyueyunzhmsft_1-1673317032733.png

Select New to add more parameters.

vyueyunzhmsft_2-1673317042540.png

When you're done adding parameters, select OK.

You can then select these parameters when you connect to the data source:

vyueyunzhmsft_3-1673317066416.png

Then when publishing to the service, you can manually enter or select parameter values to choose which D365 workspace data source you can refresh.

vyueyunzhmsft_4-1673317088558.png

However, for this function you need to carefully refer to this restriction, it has restrictions on the type of parameters, you can choose to create a parameter of type "Text" to avoid encountering restrictions:

Grayed-out fields aren't editable. "Any" or "Binary" type parameters work in Power BI Desktop, but we currently don't support them in the service, for security reasons.

 

Please refer to these three official documents for details, they will be very helpful to you!

Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn

Deep Dive into Query Parameters and Power BI Templates | Microsoft Power BI Blog | Microsoft Power B...

Edit parameter settings in the Power BI service - Power BI | Microsoft Learn

 

There is also a blog with specific tutorial steps, which you can also refer to:
Power BI Desktop Query Parameters, Part 1 (biinsight.com)

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.