Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
damanpradhan
Helper I
Helper I

SOS: Access token through ADAL library is not working

Hi,

 

I've just started with PoweBI-JS and I need to get an access token to start off with. 

I looked though various posts and decided to follow the solution provided at 

 

https://community.powerbi.com/t5/Developer/get-Access-token-using-js/m-p/352093#M10472

 

As mentioned in the sample, on clicking "Sign In", a popup window opens whose URL is the redirect-url mentioned and followed by a token.

However, that is all that happens and there is no output displayed, even on the console.

I've tried various combinations of the re-direct url's etc, but nothing has helped.

 

I'm lost on this and would appreciate help in solving this issue. 

1 ACCEPTED SOLUTION

If it helps anyone, there was a Property setting that had to be done on the MetaData part of the App Registration that solved this issue.

View solution in original post

2 REPLIES 2
damanpradhan
Helper I
Helper I

Anyone ???

If it helps anyone, there was a Property setting that had to be done on the MetaData part of the App Registration that solved this issue.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.