.Net Web App and Power BI Report Server with Azure AD Authentication
Hi,
I have a .NET web app that is using Azure AD Authentication and is deployed in IIS. Within that web app, I need to access reports from Power BI report server. I have a couple of questions regarding this:
I want to use the logged in user's token to authenticate to Power BI Report Server. Should I be using CredentialCache.DefaultCredentials in my C# code?
I noticed that when I view the reports from the web app, it is using the IIS App pool identity. How can I prevent this? In IIS, I have disabled everything except from Anonymous Authentication for the Azure AD auth to work.
I have configured Kerberos Constrained Delegation in the server where the Power BI Report server is. Are there any other things that I need to do in the Web App or IIS where the app is deployed for it to know to use KCD?
Any help would be greatly appreciated.
Thanks!