Forum Discussion
Anonymous
8 years agoNot applicable
Power BI apis not accessible
hello, before I was accessing the following services ( https://analysis.windows.net/powerbi/api ) . The problem is that the route is no longer working, as if the service was deleted . Any hel...
Jayendran
6 years agoSolution Sage
Hi Anonymous ,
The URL you are mentioning is the resourceURL which is used for Autentication
// Create a user password cradentials.
var credential = new UserPasswordCredential(Username, Password);
// Authenticate using created credentials
var authenticationContext = new Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext(AuthorityUrl);
var authenticationResult = await authenticationContext.AcquireTokenAsync(ResourceUrl, ClientId, credential);
For me it's still working.