Forum Discussion

Juramirez's avatar
Juramirez
Icon for Resolver I rankResolver I
8 years ago

Parsing WS-Trust Power BI embedded

Hi all

 

I'm having a problem when embedding a report, the following excepction appears:

parsing_wstrust_response_failed: Parsing WS-Trust response failed 

 

What could it be?

 

Regards

J.

14 Replies

  • v-ljerr-msft's avatar
    v-ljerr-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi Juramirez,

     

    Could you do some debugging on your application to find out which code you're using is throwing this error, and post the code here? So that we can better assist on this issue. :smileyhappy:

     

    Regards

    • Juramirez's avatar
      Juramirez
      Icon for Resolver I rankResolver I

      Hi v-ljerr-msft

       

      Thanks for reply. This is the code that is giving me the exception:

       

      var authenticationResult = await authenticationContext.AcquireTokenAsync("https://analysis.windows.net/powerbi/api", "CLIENT ID FROM AZURE", credential);

      It works inside a development server but in a production server it marks the exception. How can I solve it? Why is it happening?

       

      Regards

      JR