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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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