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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors