Forum Discussion

AITOURHARBIY's avatar
AITOURHARBIY
New Member
4 months ago
Solved

Gateway powerBI

Une ou plusieurs erreurs se sont produites.
Error generating an asymmetric key.
Exception message: Le profil pour cet utilisateur est un profil temporaire.

à Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.RunWithExceptionHandling[T](Func`1 function, String exceptionMessage)
à Microsoft.PowerBI.DataMovement.GatewayCommon.DmtsGatewayCreation.CreateAndUpdateLocalService(String gatewayName, SecureString recoveryKey, String salt, Uri dmtsBackendUri, GatewayServiceBusDetails senderDetails, GatewayServiceBusDetails listenerDetails, String registrationTenantObjectId, String registrationUserObjectId, String clientScope)
à Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardServiceConfigurationViewModel.<ValidateAndCreateGatewayAsync>d__93.MoveNext()

  • Hello everyone I have resolve this problem and want to thank you for your time and your support for my problem🙏

4 Replies

  • That exception is coming from Windows, not the gateway logic itself. The gateway tries to persist its recovery / asymmetric key under the profile of the account configuring it, and Windows is reporting that account is currently loaded with a temporary profile, so there is nowhere to store the key.

    What I would try, in this order:

    1. Sign fully out of Windows and sign back in. Temporary profiles often appear after a failed profile load and clear on the next login.

    2. Check Event Viewer under Windows Logs > Application for User Profile Service events around the time you signed in. Event 1511 or 1515 confirms the profile failed to load and Windows fell back to a temp one.

    3. Run the gateway installer / configuration from a Windows account that you know has a real persistent profile, or fix the affected profile first.

    Once the account configuring the gateway has a normal, non-temporary profile, the asymmetric key generation will succeed and the gateway should register without this error.

     

    If this helped, a thumbs up and accepting the solution would be appreciated.

     

    Best,
    Shai Karmani

    Let's connect in LinkedIn

  • Log out of the VM, and then log in to it with a user account that has admin permissions.

  • Hello everyone I have resolve this problem and want to thank you for your time and your support for my problem🙏

  • v-echaithra's avatar
    v-echaithra
    Icon for Community Support rankCommunity Support

    Hi AITOURHARBIY ,

    Thanks for sharing the update on your issue. Glad to know it helped resolve the concern. 
    Please feel free to stay connected with the community for any further discussions or questions.