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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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