Domain Username mapping (user mapping) is required when using Powerbi to connect the local as database in real time via On-premisis Gateway. The domain user is created as follows.
1. Select "Start → Administrative tools →active Directory users and Computers" to open the user management tool as shown in:
2. Right-click on the Users option on the left and select "new → user" to pop up the dialog box as shown and fill in the appropriate content.
3. Click "Next" to enter the password and confirm the password, and remove the "User must change password at next logon" option.
4. Click "Next" to complete the creation of the domain user.
This is where the domain user is set up, followed by the user property setting, where the main setting is the UPN account attribute:
Note the contents of this red box, in the Powerbi gateway user settings, this is the UPN mapping account.
Windows Server creates and configures a domain user account, powerbi_user_mapping requires