Hi, I used the example "integrate report into webapp" and this works. But now i'm trying to get this code into a MVC structure and i'm getting errors from the redirect. I have installed the package for using Microsoft.IdentityModel.Clients.ActiveDirectory, but the following gives an error:
AuthenticationResult AR = AC.AcquireTokenByAuthorizationCode(code, new Uri(redirectUri), cc);
It can't find the AcquireTokenByAuthorizationCode(code, new Uri(redirectUri), cc); method.
Does anybody have an idea how to solve this?