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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Wizygran
New Member

UI Import - Not replacing reports in folders

Hi.

 

I've come across very weird issue. I couldn't find if it's already a known issue.

 

I have python script deploying my reports to the workspace using imports API. At first I though it is something wrong with my code, because the reports which had path Workspace/someFolder were not replaced - instead new report with exact same name and connection was created in Workspace, instead of replacing the one in the Folder. When the report is in the workspace, not within the folder, then replacing works fine.

 

I know it's not issue with the code because by using simple Import in the workspace, I come across the same exact issue. It seems weird to me..

 

Anyone came across that? Thank you in advance.

1 ACCEPTED SOLUTION
Shai_Karmani
Resolver II
Resolver II

Could you share a quick example of the Python request you’re using? Specifically: any query parameters you’re passing (subfolderObjectId, etc.)

It would help confirm whether the call is folder-aware. Microsoft recently added the subfolderObjectId parameter, so if your code doesn’t include that, the import will always create the report at the workspace root even when a folder exists.

View solution in original post

3 REPLIES 3
lbendlin
Super User
Super User

I seem to recall that folders are not yet supported for the import calls.

Shai_Karmani
Resolver II
Resolver II

Could you share a quick example of the Python request you’re using? Specifically: any query parameters you’re passing (subfolderObjectId, etc.)

It would help confirm whether the call is folder-aware. Microsoft recently added the subfolderObjectId parameter, so if your code doesn’t include that, the import will always create the report at the workspace root even when a folder exists.

Hi, this answer is actually amazingly valuable. That's the fact, /imports call expects subfolderObjectId. The biggest problem was which call to retrieve that as I was expecting it from GET /reports. The one listing reports and its folders is Fabric API GET /items. I added both to the flow and it's working fine! Thank you!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors