Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi folks, I'm struggling with the error in the object.
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
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
Solved! Go to Solution.
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
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |