March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Our staging environment has 3 dashboards on it. After completing the 3 we decided to rename them to be more fitting. After doing so, our powershell deployment script that communicates with the REST API was blowing up. Upon some investigation we discovered that renaming dashboards does not remove them from being returned from the "https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dashboards" endpoint. This was returning 4 dashboards, despite our staging environment only having 3. Our script was blowing up because we had renamed some dashboards to new names, and then renamed other dashboards to names that were previously in use, but this endpoint was only finding the dashboards that first used the name, but with invalid reportId's (they did not exist in any of our workspaces).
Solved! Go to Solution.
My mystery dashboard seems to have just appeared in my list out of the blue, so I was able to delete it. Everything seems to be as expected now, thanks!
HI dwales,
I have requirement to pubish reports in a workspace through CI/CD and rename reports. Could you please share me powershell code to rename report/Dashboards. I am new to powershell
Hi @Anonymous,
As the issue is now, I will close this thread. If the issue happens again next time, please create a new thread.
Best Regards,
Qiuyun Yu
My mystery dashboard seems to have just appeared in my list out of the blue, so I was able to delete it. Everything seems to be as expected now, thanks!
Hi @v-qiuyu-msft,
I've done some further investigating. It appears that this endpoint returns dashboards that are in use in an app as well as visible on the workspace. This was a portion of our issue, as I would rename and it would appear to me that it was still there, but I was at the time unaware that it was marked as readonly and therefore was the version published in the app. Until I published the new dashboard it would of course not update the name for the readonly version.
I am still in a position where we have 3 dashboards in our workspace and the endpoint returns 7 dashboards, so there is still one that is unaccounted for. It is marked as not read only, so I would have expected it to show up in the service UI for me to delete, but it does not. I have not been able to duplicate this behavior, so I am uncertain how to proceed. Our script is using PowerShell to make REST calls to the Power BI REST API, but I am using Postman for debugging purposes, which is showing me the 7 dashboards from the endpoint.
Hi @Anonymous,
Would you please share detail steps for us to reproduce the issue? Do you use Powershell to call the Power BI rest API? If it is, please share detail script.
I have tested with https://api.powerbi.com/v1.0/myorg/groups/%7BgroupId%7D/dashboards in Postman before and after renaming dashboards, but not reproduce the issue, dashboard only returned with updated name.
Best Regards,
Qiuyun Yu
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
37 | |
22 | |
20 | |
10 | |
9 |
User | Count |
---|---|
60 | |
56 | |
22 | |
14 | |
12 |