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
acbg
Resolver III
Resolver III

SPN with Analysis Services

I have embedded reports which uses SPN to connect to Power BI.

 

It works when the power bi report is imported / data stored in service. 

 

But when the data is stored in Analysis Service I am either getting Forbidden or Bad Request.

 

Getting Bad Reqeuest when UserName is not passed through and Forbidden when UserName is passed through. I don't need username to be passed through since this is using SPN to access the report and CustomData for RLS.

Both Imported Data report and AS Report are in the same workspace, which makes me think the issue is with AS access.

I have given Server Admin Access via SSMS, added the SPN to the security roles within the database and also given Owner access using Azure portal. 

Is anyone seeing anything wrong with the way the SPN is setup in AS or anything else I need to do for embed report to work?

1 ACCEPTED SOLUTION
acbg
Resolver III
Resolver III

Was able to finally figure this one out.

 

Username being passed through had to be Object ID of the SPN when the power bi report is connected to AS.

 

You can get the Object ID in Azure portal by just looking up the SPN:

acbg_1-1597871039224.png

 


Thanks to the link here:

https://github.com/MicrosoftDocs/powerbi-docs/issues/910

 

View solution in original post

1 REPLY 1
acbg
Resolver III
Resolver III

Was able to finally figure this one out.

 

Username being passed through had to be Object ID of the SPN when the power bi report is connected to AS.

 

You can get the Object ID in Azure portal by just looking up the SPN:

acbg_1-1597871039224.png

 


Thanks to the link here:

https://github.com/MicrosoftDocs/powerbi-docs/issues/910

 

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.