Forum Discussion
Shelley
Post Prodigy
5 years agoHow to Change Live Connection on Report Published in Service and Maintain Same Report URL
Hi All, I've been searching the Internet and can't seem to find an answer to this one, so help is greatly appreciated. We have a report published in the service, which has its unique URL. This is c...
- 5 years ago
v-xiaotang I had to publish it, take the new URL and we had to reprogram our portal using the new URL. I never did figure out how to get this to work as expected.
SebMarlier
1 year agoFrequent Visitor
Hi,
Use Power BI rest API :
Replace <tenant_id>, <report_id>, <target_dataset_id>, ...
curl -X POST "https://api.powerbi.com/v1.0/myorg/groups/<tenant_id>/reports/<report_id>/Rebind"
--header "Content-Type: application/json"
--header "Authorization: Bearer <token>"
-d '{"datasetId" : "<target_dataset_id>"}'