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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors