Hi, I'm a complete noob at .net core so please be kind :)
I'm trying to write an web API for powerbi to use. Everything works good exept for the powerbi part.
I'm using Azure AD to authenticate the user to the app. I added a new API controller and added [Authorize] to it. The user experience is perfect, when i call the API i get redirected to Microsoft for authentication and after i login I get the data as expected.
Now I want to use my organisation account to call the API from PowerBI. When adding a web source from powerbi there is an authentication option called "Oraganizational account". But when i click login i get "We were unable to connect because this credential type isn't supported for this resource." it's like powerbi is't even trying. Anyone knows how to do this right. plz point me in the right direction :)