Forum Discussion

m4pv's avatar
m4pv
Frequent Visitor
8 years ago
Solved

problem getting authentication token from AAD

Hello,                 I’m trying to embed a report for non power bi users (existing ASP.NET web form app, not MVC). Basically new aspx page should be added to an existing asp.net app and report sho...
  • m4pv's avatar
    m4pv
    8 years ago

    Hi v-ljerr-msft,

    It seems that the issue was related to deadlocking. Found couple ways to fix it:

    1) Add ConfigureAwait(false) at the end of AcquireTokenAsync call;

    2) Use RegisterAsyncTask method in page_load event.

     

    Thanks