Forum Discussion
Environment Switching in Power BI Custom Connector Using M language(Staging <-> Production)
- 1 year ago
Hi Ravindra_,
Thank you for reaching out to the Microsoft Fabric Forum Community.For your scenario implementing environment switching in a Power BI Custom Connector the recommended best practice is to use user-defined parameters via the connector UI. This approach ensures:
- Compatibility with both Power BI Desktop and Power BI Service
- Compliance with security and sandbox restrictions
- Flexibility to scale across different environments without hardcoding or relying on local files
If this information is helpful, please “Accept it as a solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
Hi Guys,
new idea for it:
https://community.fabric.microsoft.com/t5/Fabric-Ideas/Skip-Credential-Validation-for-Queries-Excluded-from-Report/idi-p/4748177
Please vote!
It means that you can exclude query to be refreshed not only in power bi desktop - also within power bi service without failing because of data source credentials.
Best,
Jacek