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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
tusharj
Microsoft Employee
Microsoft Employee

Getting oauth token in template app

Hi Folks,

I am trying to create a report with datasource being an api which needs oauth token. 

I am planning to publish this report as a template app in the appsource and that is when this app should ask for the some required parameters and ask for users org sign-in account get a token and than call the configured webapi with the token passed as header (typical auth rest api mechanism)

 

I want to know how can I get the oauthtoken in the report and refresh it?

Any pointers on this will be helpful.

Thanks

Tushar J

1 REPLY 1
RoRtm
Frequent Visitor

Hi

 

Same here.

We wrote an API serving data via REST to a PowerBI Template App. The API currently implements OpenID Connect (OIDC) connected to a KeyCloak server. Our idea is to have this API secured by using the OAuth option while configure the data sourcen in our template app.

Couldn't find any documentation for such a scenario.

 

Thank you

Roman

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.