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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors