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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DepthOfFocus
Frequent Visitor

"EffectiveUserName' XML for Analysis property is not valid" error when refreshing from SSAS

We have a very simple Power BI report which connects to a SSAS (SQL Server Analysis Service) Tabular model, using an import query.

The goal is to have this published to our workspace, and have it refresh daily. To accomplish this, we've:


- Created a Windows Service Account

- Added that Windows service account to the SSAS tabular model, with Full Control (administator) 
- Added the SSAS server/Tabular model to the gateway - No issues 

- Set up the gateway connection in the Dataset details - No issues

DepthOfFocus_0-1630031458153.png

 

However, when we try and refresh the dataset (either manually/or scheduled), it generates the ""EffectiveUserName' XML for Analysis property is not valid" error, and refresh fails.

 

Any ideas?


Data source error: {"error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","pbi.error":{"code":"DM_GWPipeline_Gateway_MashupDataAccessError","parameters":{},"details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode","detail":{"type":1,"value":"-2147467259"}},{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AnalysisServices: The 'FirstName@CompanyDomain.ca' value of the 'EffectiveUserName' XML for Analysis property is not valid."}},{"code":"DM_ErrorDetailNameCode_UnderlyingHResult","detail":{"type":1,"value":"-2147467259"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourceKind","detail":{"type":1,"value":"AnalysisServices"}},{"code":"Microsoft.Data.Mashup.ValueError.DataSourcePath","detail":{"type":1,"value":"ssasServer123\\tabular;SalesDataModel"}},{"code":"Microsoft.Data.Mashup.ValueError.Reason","detail":{"type":1,"value":"DataSource.Error"}}],"exceptionCulprit":1}}} Table: FactDataSales.

 

 

1 ACCEPTED SOLUTION

Hi @DepthOfFocus ,

 

1. Add this Windows user as the administrator of the SSAS instance.

vkkfmsft_0-1630480949331.png

 

2. Use this Windows account as the connection credentials in the data source settings.

vkkfmsft_1-1630486726761.png

 

3. Map the Power BI login account to this Windows account.

tempsnipssssa.png

 

4. Use this gateway for the dataset, then refresh.

 

vkkfmsft_0-1630486576324.png

 

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

does it work with a regular account?

Hi @DepthOfFocus ,

 

1. Add this Windows user as the administrator of the SSAS instance.

vkkfmsft_0-1630480949331.png

 

2. Use this Windows account as the connection credentials in the data source settings.

vkkfmsft_1-1630486726761.png

 

3. Map the Power BI login account to this Windows account.

tempsnipssssa.png

 

4. Use this gateway for the dataset, then refresh.

 

vkkfmsft_0-1630486576324.png

 

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors