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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.