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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
pragyamishra
Helper II
Helper II

data gateway

Hi All,

 

I am trying to add a Data Source to my gateway but I am getting an error that says the username needs to have a domain. 

Please find the screenshot attached.Data Gatewar Error.png

 

Does this mean I need to join a domain to be able to  use the Power BI Web Service?

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi pragyamishra,

 

Based on your description, your windows account are not included in a domain, right?

Please check which data source are you trying to configure in power bi service. The entered credential depends on the authentication used by data source.

If you are trying to connect to SSAS.

  1. If Data Gateway and SSAS instance are in different server, the username should be a domain account.
  2. If Data Gateway and SSAS instance are in same server, the username needn’t to be a domain account.

If you aren’t connecting to SSAS, in most of time, the username here needn’t to be a domain account. It can also be a local account. However, you can’t only enter your account name as the username because format of username should be like servername\user.

To achieve the correct format of username, please refer to steps below:

  1. Click WIN+R, enter cmd and open it.
  2. Input whoami in cmd to get username.

 

Regards,

Jimmy Tao

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

Hi pragyamishra,

 

Based on your description, your windows account are not included in a domain, right?

Please check which data source are you trying to configure in power bi service. The entered credential depends on the authentication used by data source.

If you are trying to connect to SSAS.

  1. If Data Gateway and SSAS instance are in different server, the username should be a domain account.
  2. If Data Gateway and SSAS instance are in same server, the username needn’t to be a domain account.

If you aren’t connecting to SSAS, in most of time, the username here needn’t to be a domain account. It can also be a local account. However, you can’t only enter your account name as the username because format of username should be like servername\user.

To achieve the correct format of username, please refer to steps below:

  1. Click WIN+R, enter cmd and open it.
  2. Input whoami in cmd to get username.

 

Regards,

Jimmy Tao

Worked for me as well 🙂

Thanks a lot for your response.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.