.Net Web App and Power BI Report Server with Azure AD Authentication

Gerome Louie Gutierrez 1 Reputation point
2021-06-11T15:59:31.33+00:00

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!

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.