Forum Discussion
Cannot retrieve Contacts from API
- 4 months ago
It seems to not be possible.
I have submitted it as an idea to the ideas forum: https://community.fabric.microsoft.com/t5/Fabric-Ideas/Add-Contacts-and-Endorsement-as-fields-to-Admin-REPORTS-API/idi-p/5151362
I could not find this endpoint in power bi api documentation or in fabric api documentation
GET /v1.0/myorg/reports/{reportId}/contacts
From the screenshot you shared I believe you found this API in network traces. Please correct me if I am wrong.
I believe you are trying to extract the report contacts by running this API call. Its hard to identify the supported authentication mechanisms for the APIs which are not exposed by Microsoft in their docuementation.
I also checked the GetReportUsersAsAdmin and GetReportsAsAdmin API none of these APIs expose "report contact" details. If you check this recent thread, in that Community team has confirmed that this detail is not exposed in any API
https://community.fabric.microsoft.com/t5/Service/Owner-Contact-Field-on-reports/m-p/4927085
You can post this idea in Fabric ideas forum
https://community.fabric.microsoft.com/t5/Fabric-Ideas/idb-p/fbc_ideas
Connect on LinkedIn
read my blogs here: techietips.co.in
|
- stephan_4 months agoRegular Visitor
I found the URL by modifying the URL found in this StackOverflow post: https://stackoverflow.com/questions/76102839/powerbi-api-getting-all-reports-contact-owner-i-can-only-see-the-infos-or-wo#:~:text=I%20was%20able%20to%20get,reportId/contacts%22%20-Method%20Get