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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.