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.
Hello, I'm trying to set PowerBI datasets target storage mode to Premium files. I did a Get-PowerBIDataset and it worked and showed me the actual storage value 'abf' alongside datasetid. But its not letting me SET.
Itried this by giving dataset name and dataset id but none worked.
WITH DATASETID
Set-PowerBIDataset -Id 506136cb-9f42-45ad-8201-9d103681a401 -TargetStorageMode PremiumFiles -WorkspaceId f04180c5-338f-4e53-b11d-7431fe220862
Set-PowerBIDataset : Operation returned an invalid status code 'BadRequest'
At line:1 char:1
+ Set-PowerBIDataset -Id 506136cb-9f42-45ad-8201-9d103681a401 -TargetSt ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (Microsoft.Power...tPowerBIDataset:SetPowerBIDataset) [Set-PowerBIDataset], HttpOperationException
+ FullyQualifiedErrorId : Operation returned an invalid status code 'BadRequest',Microsoft.PowerBI.Commands.Data.SetPowerBIDataset
@geekometer
I was not not reproduce this issue, so I would recommend you scroll down and create the support ticket.
Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.