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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RoopaC
Regular Visitor

Power BI Personal gateway signin error

While installaing Power BI personal gateway as a part of self learning, I am getting the below error while signing in after installation. I had earlier installed 'On premises data gateway (recommended)' version and then uninstalled it to install 'On premises data gateway (personal mode)', and facing this error. Is there a way to rectify this?

 

Error generating an asymmetric key.
at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.GenerateAsymmetricKey()
at Microsoft.PowerBI.DataMovement.GatewayCommon.DmtsGatewayCreation.CreateAndUpdateLocalService(String gatewayName, SecureString recoveryKey, String salt, Uri dmtsBackendUri)
at Microsoft.PowerBI.DataMovement.GatewayUiCommon.WizardSignInViewModel.ReconcileAndCreatePGWIfNeeded(IHttpClientDecorator httpDecorator)
at Microsoft.PowerBI.DataMovement.GatewayUiCommon.WizardSignInViewModel.<StartSignIn>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.GatewayUiCommon.WizardSignInViewModel.<DoNext>d__29.MoveNext()

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @RoopaC,

Have you checked your device policy and network status? In addition, you can also take a look at below documents about gateways:

Use personal gateways in Power BI 

Troubleshooting Power BI gateway (personal mode) 
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

HI Xiaoxin, 

Thank you. I have gone through the documents that you shared but couldn't find any solution for this error. I was able to install and signin when I wrongly installed the recommended version than personal gateway version. So I am assuming that the organisational policies are all OK. Problem arose when I uninstalled and reinstalled personal version. May be something to do with system files which are created in the first installation but not sure what is causing the issue.

 

 

Hi @RoopaC,

>>May be something to do with system files which are created in the first installation but not sure what is causing the issue.

AFAIK, you can install both two versions of gateways on same device without any compatibility issue, so this issue should not related to uninstalling.

According to your description, it sounds like you can install a personal gateway successful but you can't sign in the same account that you test with on-premise version? 
If this is a case, I'd like to suggest you use fiddler to trace sign-in operations to confirm it these requests sent/received succeeded. (e.g. policy, ports, firewall rules...)

Fiddler - Free Web Debugging Proxy - Telerik 
BTW, can you confirm your test account has enough permissions to operate on this device? Have you tested with an admin account?

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors