Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
Hello
I'm trying to implement a custom visual that uses the authentication API following the documentaion.
Though I'm using API 5.9.1, I don't have access to the service this.acquireAADTokenService(). It is not part of the IVisual interface. Any clue how to access this service ? Is there some sort of injection mecannism?
Thanks for your help.
Sorry, I missed your answer. Thanks for your help ! I managed to get an access token in my visual.
You can access it as part of constructor(options: VisualConstructorOptions) { ... } using options.host.acquireAADTokenService
BR, Holger
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.