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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.