Forum Discussion

Boxmodern's avatar
Boxmodern
Advocate IV
5 years ago

Endorsement Details from Power BI REST API

Although it is possible to certify reports I am unable to retrieve Endorsement Details from the Power BI REST API. 

 

In the API documentation it says Endorsement Details should be returned in the response. 

 

https://docs.microsoft.com/en-us/rest/api/power-bi/apps/getreports#endorsementdetails

https://docs.microsoft.com/en-us/rest/api/power-bi/apps/getreport#endorsementdetails

 

Is the documentation incorrect? Is the documentation ahead of the implementation and will it be added in the near future?

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Boxmodern,

    >>A Power BI report. Below is a list of properties that may be returned for a report. Only a subset of the properties will be returned depending on the API called, the caller permissions and the availability of the data in the Power BI database.

    As the documented mention, these API normally return some subset of report properties instead of all properties. (they can be limited by user permission reasons or power bi settings)

    Regards, 

    Xiaoxin Sheng

  • jgehani's avatar
    jgehani
    Frequent Visitor

    Your answer is what is written in documentation. What would have helped here is what kind of caller permission is required to get the information. I hope to see your valid response

    • Boxmodern's avatar
      Boxmodern
      Advocate IV

      It doesn't matter what caller permission you use, the API will not return Endorsement details. 

      • jgehani's avatar
        jgehani
        Frequent Visitor

        Any other way to get Endorsement details?

  • rnique's avatar
    rnique
    Frequent Visitor

    It looks like they removed endorsement details from the Reports API.

    The links provided above don't have the section #endorsementdetails:

    https://docs.microsoft.com/en-us/rest/api/power-bi/apps/get-reports#endorsementdetails

    Reports - Get Report - REST API (Power BI Power BI REST APIs) | Microsoft Docs

     

    I can't find any reference to endorsement field in the Power BI API at all.

    However, when I use Azure Purview to get Poewr BI asset information, I can see a reference to the Certification status.

    Please any help to get this field via Power BI API would be appreciated.

     

    Regards,

    Roman.