Forum Discussion

theflashczech's avatar
theflashczech
New Member
1 year ago
Solved

PowerBI semantic model's parameters get removed/not recognized after uploading through API

Hello everyone,   we've stumbled upon an issue with PowerBI reports. We're deploying semantic models to PowerBI Online using PowerShell scripts in Azure DevOps Pipeline and while doing so we also s...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi theflashczech,

    Thank you for reaching out in Microsoft Community Forum.

    Please follow below steps to resolve the error;

    1.When deploying PBIX via PowerShell, parameters may not get promoted to the dataset metadata, causing the API to return an empty list.

    2.Manually publish the PBIX once using Power BI Desktop to verify if parameters appear via the API.

    3.Migrate to PBIP (Power BI Project) format for better DevOps support, where parameters are fully supported and accessible via REST APIs.

    4.Use the GetDataset API to ensure the dataset is properly loaded and not in a partial or invalid state.

    Please continue using Microsoft community forum.

    If you found this post helpful, please consider marking it as "Accept as Solution" and give it a 'Kudos'. if it was helpful. help other members find it more easily.

    Regards,
    Pavan.