It would be helpful for the HomeController example to be re-created to not rely on UserPasswordCredential, as the ADAL team has judged the use of UserPasswordCredential as such a poor practice they explicitly won't support implementing UserPasswordCredential in the .NET Core version of the ADAL library. (see https://github.com/AzureAD/azure-activedirectory-library-for-dotnet/issues/482)
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for your comment, @krouskop. We’ve forwarded your feedback to the writer, who should respond to this thread shortly.
Agree @krouskop, having trouble trying to figure out the .NET Core implementation.
@krouskop Apologizes for the delayed response. There are current discussions to make changes to this piece. I will update everyone once I have more information about this topic.
@krouskop
We are aligning to restructure the authentication portion to fit better best practices.
No ETA on when this information will be released. As such for now, UserPasswordCredential is the only current option.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
You closed this thread without proving any information, direction, timing, or help. Can you re-open it and/or provide the code to achieve what this page documents using the core library?
@markingmyname is there any update on this?
This issue has been reported multiple times, but MS just diverts to the (totally useless) PBI Community page. If you are like me and having this issue, you may have luck with https://www.c-sharpcorner.com/article/how-to-get-access-token-for-powerbi-embedding-in-net-core/
I did not write and have no affiliation with that site - it's just the solution that worked for me.
Most helpful comment
You closed this thread without proving any information, direction, timing, or help. Can you re-open it and/or provide the code to achieve what this page documents using the core library?