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
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
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.