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 Automate / PowerBI paginated repo...
Power Automate
Unanswered

PowerBI paginated report to OneDrive generating 401 error

(0) ShareShare
ReportReport
Posted on by 4

Simply trying to use the power automate template to export a paginated report to an excel file. I am getting a 401 error upon testing.  Seen similar posts from a few years ago but none of the suggestions seem to apply. I am the author of the paginated report so I dont think it is a permission issue. Using the same user name in automate. I confirmed the reportid is correct thru the url. 

Hoping some one can provide some advice. New to automate so it may be something silly with the set up. Apologize if that turns out to be the case. Below is the code view of the request.

 

{
    "host": {
        "connectionReferenceName""shared_powerbi",
        "operationId""InitiateExportToFileForPaginatedReports"
    },
    "parameters": {
        "groupid""myworkspace",
        "reportid""77d83186-340a-460e-b663-34f60533ad3f",
        "ExportPayloadPaginatedReport/format""XLSX",
        "ExportPayloadPaginatedReport/paginatedReportConfiguration/identities": [
            {
                "username""mxxxxxx@axxxx.com",
                "identityBlob": {
                    "value"null
                }
            }
        ]
    }
}
Categories:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    on at

    Hi , @mlbowie01 

    This action in Power Automate is using the Power BI Rest API , so you need to first check if you can call the rest api in Power BI side.

    Export Power BI embedded analytics paginated reports API - Power BI | Microsoft Learn

     

    And you need to check if you meet the License requirements:

    vyueyunmsft_0-1710986078980.png

     

    If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance! 

     

    Best Regards,

    Yueyun Zhang

     

     

  • mlbowie01 Profile Picture
    4 on at

    Thanks,  it is likely the license issue. 

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard