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 / Copilot Studio / Export To File For Pow...
Copilot Studio
Unanswered

Export To File For Power BI Reports not working

(1) ShareShare
ReportReport
Posted on by 29
 

I have set up a connection to power BI and it seems to run successfully when I trigger my flow. However, the expected output, File Content is always null. I set a dynamic expression with File Content as an attachment in my Send Email V2 action.
If it is possible, I would even prefer to embed the image in the body of the email message if anyone can let me know a way.
 
The output of the Export To File is always 
{
    "statusCode""OK"
}
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    679 on at
    Hi,
     
    Can you tell us if you are using "regular" Power Automate, or is this an Agent Flow from Copilot Studio?

    How do you build your Power BI report? Have you checked the previous steps if the output is having content or is it already empty at an earlier step?
  • NA-20020143-0 Profile Picture
    29 on at
    Hello , this is an Agent Flow from Copilot Studio. Attempting this in Power Automate with the exact same settings actually gives me a FeatureNotAvailableError (which I did also get with Agent Flow previously using a different account for the connection with the incorrect license).
    What do you mean by how did I build my Power BI report? My intention is to export one of the charts (visuals) from one of the pages of a report.
    I have not seen any output from this Export to File action. The previous step is a recurrence trigger.
    This is what I want to do: https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-automate-power-bi-report-export
     
  • André Arnaud de Calavon Profile Picture
    679 on at
    Thanks for the clarification. I wasn't familiar with this Power BI action which is clear to me now. I do assume you have selected the correct report. The report has data? Are you running the flow with the correct credentials?
  • NA-20020143-0 Profile Picture
    29 on at
    I selected the workspace and reports based on what is available to me on the account I used for the Power BI connection, so I think it is correct as well.
    There is data in the report and it is being refreshed daily.
    I think the credentials should be correct as the rest of the Agent Flow actions are able to run without issues. Like I mentioned in my question, the Export To File for Power BI Reports also shows as having successfully run but it only returns {"statusCode":"OK"} as its output. I assume there should be File Content as well, right?
  • NA-20020143-0 Profile Picture
    29 on at
    I just found that this account is also on Premium Per User. Would this cause this issue? Why does it not show FeatureNotAvailableError on Agent Flow like the account I tried previously?
  • André Arnaud de Calavon Profile Picture
    679 on at
    When I compare the details in the thread with the documentation, it seems like you are doing the correct thing. 
    Export and Email a Report with Power Automate - Power BI | Microsoft Learn
     
    The end of the documentation has some words about limitations for default slicer values. Can this be related in your case? Have you also tested another workspace and/or report?

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard