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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Error generating an asymmetric key. Exception message: Keyset as registered is invalid.

Installation of gateway is successful, but I get this message every time I try to sign in.

 

One or more errors occurred.
Error generating an asymmetric key.
Exception message: Keyset as registered is invalid.

at Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.GenerateAsymmetricKey()
at Microsoft.PowerBI.DataMovement.GatewayCommon.DmtsGatewayCreation.CreateAndUpdateLocalService(String gatewayName, SecureString recoveryKey, String salt, Uri dmtsBackendUri, GatewayServiceBusDetails senderDetails, GatewayServiceBusDetails listenerDetails)
at Microsoft.PowerBI.DataMovement.GatewayUiCommon.WizardSignInViewModel.<ReconcileAndCreatePGWIfNeededAsync>d__55.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.<StartSignInAsync>d__54.MoveNext()

 

I've tried moving the RSA folder as recommended in other similar posts and no luck. Please help!

3 REPLIES 3
JPwend
New Member

For those who were unsuccessful renaming or moving the RSA folder, if you haven't already, try it with the data gateway sign-in window still up.  It worked for me this way.

v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

You may check if the following post helps.

ERROR installing On-premises data gateway (persona... - Microsoft Power BI Community


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,

 

I have same issue (same error message) and I don´t know what to do. I've tried moving the RSA folder as recommended in other similar posts but no luck also. I downloaded logs but I don´t know which file do you need for detailed information. 

 

Thank you

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors