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

Announcements

News and Announcements icon
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 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard