web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerBIIntegration.Ref...
Power Apps
Answered

PowerBIIntegration.Refresh(); in Canvas app outside of a default enfironment

(1) ShareShare
ReportReport
Posted on by 20
Long story short I had a numerous attempts of creating Canvas app nested in Power BI report.
It mostly works fine, except of PowerBIIntegration.Refresh();
 
I already know that to make PowerBIIntegration.Refresh(); to work the app has to be created inside of Power BI service
as a visual.
 
The think is, its only seems to work when a default environment is selected. As soon as I choose another environment
the app stops to recognise the PowerBIIntegration.Refresh(); as a valid formula
 
Is this is the thing? Does the app must be saved in a default environment for PowerBIIntegration.Refresh(); to work?
 
Categories:
I have the same question (0)
  • Verified answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 2 on at
    Hi  ,
     
    The PowerBIIntegration object is specifically tied to the environment where the app is created as a visual in Power BI. The default environment has a predefined setup that ensures seamless integration between Power Apps and Power BI.
     
    When you switch to a non-default environment, the app operates outside of the tightly coupled configuration that exists between Power BI and Power Apps in the default environment. This breaks the recognition of PowerBIIntegration.Refresh().
     
    Currently, Microsoft doesn't support full cross-environment functionality for apps using PowerBIIntegration within embedded Power BI reports.
     
    thanks
  • MRoger Profile Picture
    20 on at
    @@SaiRT14 Thank you for the clarification !

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard