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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors