Forum Discussion
isthisworking
Microsoft Employee
6 years agoAcquire a token when PlatformParameters definition change migrating to .NET Core 3.1
Hi All, I've run into a problem with a C# console app that (for reasons) is being moved from .NET Framework to .NET Core. In the process of retargeting the app, the following line of code to get ...
michaelx2
Microsoft Employee
6 years agoHello isthisworking ,
The seconed parameter ICustomWebUi is extension method enabling ADAK.NET extenders for public client applications to set a custom web ui that will let the user sign-in with Azure AD, present consent if needed, and get back the authorization code. You may refer to a sample implement here:
In your scenario, you want to run the app in headless mode, since that, you may try to use 3rd party library PowerBI.Api.Client which already implemented Automatic OAuth2 authentication.
Best Regards