Forum Discussion

14 Replies

  • v-ljerr-msft's avatar
    v-ljerr-msft
    Microsoft 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
      Resolver 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