Hope you are doing great!
I am creating a windows service(.net core) project that will fetch all the reports from Power BI Reporting Server and send emails to the users as per schedules. There will be a link in email to access the report or the report will be already attached (pptx,pdf,doc,txt) in email in whatever format the user has scheduled.
I have used Power Bi Reporting Server API using this reference link: PBIRS | 2.0 | Microsoft-Rs | Swagger
My issue is that this api is accessible directly using windows credentials. I have called the api using CredentialCache.DefaultNetworkCredntials property inside HttpClientHandler class. But this is not what we are planing in production environment. I want to access these api using a custom authentication so that the user can just click that link which has a token/authenticated and can see or download/view the report. How do i configure my Power BI server to have custom authentication?
Can anyone please help me? Early response is appreciated.
Thank You!