Virtual Machines sign in pin not being saved

OlivierCristolRAZORCONSULTINGSOLUT-1427 96 Reputation points Microsoft Vendor
2021-11-19T21:38:48.54+00:00

Hi,

I am using a group of VM to run desktop flows on unattended mode. For the last few days, my flows don't run anymore because of authentication issues. When I logged into on of the VM to troubleshoot, I see my desktop ui flows couldn't start because my hello pin was requested to sign in again. I have checked Hello Pin certificate, it is valid until 02/2022.
Has something changed ? Is there a way to save the Hello pin so that desktop flows can run unattended?

Thanks

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,376 questions
0 comments No comments
{count} votes

Accepted answer
  1. OlivierCristolRAZORCONSULTINGSOLUT-1427 96 Reputation points Microsoft Vendor
    2021-11-23T14:35:13.733+00:00

    @Sumarigo-MSFT,
    Thanks for the answer. I have checked on expiration date for the authentication certificate and it is valid for few more months. For some reasons, my credentials were requested when my desktop UI flow were running and I had to reset/reinitialize my pin on all VMs.
    In case it is useful for anybody, for the reset to "stick", I had to do following:

    1. use my email address and password instead of Hello pin when connecting to the VM
    2. enter my Hello pin on the authentication window prompted by my desktop flow. This brought me to another window where I selected to certificate. This action also kills the desktop flow since it is meant to run unattended
    3. Sign out from the VM
    4. Sign in again in the VM with email and password
    5. Retrigger the Desktop UI flow from my local machine

    The flows are now running successfully and no longer prompt the authentication window. My guess is resetting the certificate/hello pin doesn't work when signing in the VM and authentication on this VM is already requested for the UI flow
    Anyway, everything is back to normal and flows are running fine now

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sumarigo-MSFT 47,496 Reputation points Microsoft Employee
    2021-11-23T06:09:43.09+00:00

    @OlivierCristolRAZORCONSULTINGSOLUT-1427 Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    Can you confirm all login/authentication cert will have expiry period and it has to be periodically renewed. This is default and can't be changed due to security concerns. And if you application in being interrupted by Hello Pin or other authentication calls, then you may have to identify in what scenario/situation does the authentication request comes and how it can be made unattended mode/session. Also, this requires understanding about system logs & Desktop UI Flows logs to understand more about why the authentication call was prompted, which might required depth troubleshooting.

    Can you check with desktop UI Flow app/program developer first and then reach out to Windows support also with the developers analysis to get any help if required for windows team

    I would recommend you to contact support, so If you have a support plan, I request you file a support ticket, else please do let us know, we will try and help you get a one-time free technical support.

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

    Please do not forget to 151620-image.pngand “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.