Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello I would like to get value from contens (url) and I would like to use it for oauth2, I cant find the way how can I pass the value from input window and pass it to the OAuth2 flow or put it to the global variable.
I follow the manual https://docs.microsoft.com/en-us/power-query/creatingfirstconnector
from here
I need my url for my TripPinNavTable and OAuth2
shared TripPin.Contents= Value.ReplaceType(TripPinNavTable, type function (url as text) as any);
//OAuth2 values
client_id = "asdfgg98765sad4f35";
redirect_uri = "https://oauth.powerbi.com/views/oauthredirect.html";
token_uri = TripPin.Contents[url]&"/identity/connect/token";
authorize_uri = TripPin.Contents[url]&"/identity/connect/authorize";
logout_uri = "https://login.microsoftonline.com/logout.srf";
client_Secret = "123456789asdf";
Hi @Anonymous
Well this is beyond my knowledge. The resources I found online are all specifying a fixed url in the OAuth2 code. As users may enter different URLs in the connector, will it be possible that the token_uri and authorize_uri have different suffixes for different URLs?
Best Regards,
Community Support Team _ Jing
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
15 | |
13 | |
7 | |
7 | |
6 |