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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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