Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tbaccouche-ext
New Member

Issue when Importing Paginated Report

Hi, 

I'm trying to import a paginated powerBi report to a workspace. The report is well imported and I get the importId.

I need then to get the newly created reportId for another task. For that I use the REST API  GET import.

But when I get the import, there is no information about the report in the json response.

 

 

GET https://api.powerbi.com/beta/myorg/imports/0f8a76afXXXXXXXXXXXXXXXXXXX5514

The response's json body:

{
    "id""xxxxxxf-170c-42-dddddd3-df7edddd14",
    "importState""Succeeded",
    "createdDateTime""2022-06-29T15:24:32.517",
    "updatedDateTime""2022-06-30T10:44:45.667",
    "reports": [],
    "name""Objectif-XXXXXXXXXXXXX-SD-1.0.4.rdl"
}

 

As a workaround, I am doing get reports in group and get the reportId using the report name (using a python code that I wrote).

 

Any help is a much appreciated !

thanks

 

1 REPLY 1
v-rongtiep-msft
Community Support
Community Support

Hi @tbaccouche-ext ,

You need to set up permission before your invoke rest api, I don't think power bi service will allow anonymous authorization to get specific power bi contents.

Register an Azure AD app to embed Power BI content

 

Please verify that the data source is available and your credentials are correct.

 

Best Regards
Community Support Team _ Polly

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors