The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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