Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I've just started using PowerShell and the REST APIs / cmdlets to pull Power BI data...and I'm finding cases where a command returns duplicate records. For example, if I run the following commands (where $workspace.Id is the value for a given workspace):
Connect-PowerBIServiceAccount
Get-PowerBIDataset -Scope Organization -WorkspaceId $workspace.Id
I sometimes see the same dataset listed twice. Every attribute on both listing is exactly the same including the Dataset ID...and I don't see two datasets with the same names when looking through the Power BI service.
Does anyone know why I might be getting duplicates? It's not just on datasets, I think I've seen this behavior on other types of objects as well. This is making some of the PowerShell scripting more complicated (especially as I know very little Powershell...)
Thanks!
Scott
I am having same issue , how to filter and get only 1?
Regards
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |