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
gjatteau
New Member

Custom Viz and authentication API

Hello,

I try to acquire a token from a PowerBI custom visual, but when I call
options.host.acquireAADTokenService.acquireAADTokenstatus(),
I get the status DisabledByAdmin.
 
How can I enable the authentication API in the PowerBI settings? Which parameter must be enabled? Any license restrictions?
 
Thanks
1 ACCEPTED SOLUTION
dm-p
Super User
Super User

Hi @gjatteau, 

The setting is named AppSource Custom Visuals SSO, under the Power BI Visuals section

 
power-bi-visuals-tenant-settings.png

You can read more in the developer documentation on the Authentication API, and this also links to the official doc on tenant settings.

 

There are no licensing restrictions, but bear in mind that if you're building this functionality in as a key dependency and planning to distribute your visual, any users will need this setting available to use any functionality that your visual leverages around SSO. As such, you may need some logic and UX to handle the scenario where this isn't permitted/enabled in a users' tenant.

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




View solution in original post

1 REPLY 1
dm-p
Super User
Super User

Hi @gjatteau, 

The setting is named AppSource Custom Visuals SSO, under the Power BI Visuals section

 
power-bi-visuals-tenant-settings.png

You can read more in the developer documentation on the Authentication API, and this also links to the official doc on tenant settings.

 

There are no licensing restrictions, but bear in mind that if you're building this functionality in as a key dependency and planning to distribute your visual, any users will need this setting available to use any functionality that your visual leverages around SSO. As such, you may need some logic and UX to handle the scenario where this isn't permitted/enabled in a users' tenant.

 

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




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.