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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
pceglie
Resolver I
Resolver I

Power BI Embedded - PostImportWithFileInGroup returns 'Not Found' generic error

Hi folks,  I'm struggling with the error in the object.

 

pceglie_1-1674147474159.png

Stack trace:

----

in Microsoft.PowerBI.Api.ImportsOperations.d__8.MoveNext() in Microsoft.PowerBI.Api.ImportsOperations.d__7.MoveNext()
in Microsoft.PowerBI.Api.ImportsOperationsExtensions.PostImportWithFile(IImportsOperations operations, Guid groupId,
Stream fileStream, String datasetDisplayName, Nullable`1 nameConflict, Nullable`1 skipReport, Nullable`1 overrideReportLabel, Nullable`1 overrideModelLabel)
in Ifv.MyProgram.SharepointProvisioning.Controllers.SharepointProvisioningController.publishPowerBiReport(Guid destinationGroupId) 
in C:\dev\temp\MyProgram\server\Ifv.MyProgram.SharepointProvisioning\src\Ifv.MyProgram.SharepointProvisioning\Controllers\SharepointProvisioningController.cs: riga 438

 

pceglie_0-1674147145998.png

 

I've tried with "serviceprincipal" and "masteruser" but the issue is the same.

The user and appid have ReadWite.All permission on Dataset, Report and Groups.

 

Any suggestions?

 

Thanks in advance

 

1 ACCEPTED SOLUTION
pceglie
Resolver I
Resolver I

Answer from myself:

the error was in ImportConflictHandlerMode.Overwrite (wrong!)

correct value is ImportConflictHandlerMode.CreateOrOverwrite

I hope it can be useful to someone else

--

PCeglie

View solution in original post

1 REPLY 1
pceglie
Resolver I
Resolver I

Answer from myself:

the error was in ImportConflictHandlerMode.Overwrite (wrong!)

correct value is ImportConflictHandlerMode.CreateOrOverwrite

I hope it can be useful to someone else

--

PCeglie

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.