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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.