Forum Discussion
m4pv
8 years agoFrequent Visitor
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...
- 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
m4pv
8 years agoFrequent Visitor
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
v-ljerr-msft
8 years agoMicrosoft Employee
Hi m4pv,
Great to hear the problem got resolved! Could you accept your reply above as solution to close this thread, which could also help others who have similar issue easily find the solution? :smileyhappy:
Regards