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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.