Hello Irin Sultana,
It seems you weren't able to resolve the issue what we discussed on this tread.
Were you able to review solutions from this => troubleshooting guidance?
Reference: Log in to a Windows virtual machine in Azure by using Microsoft Entra ID including passwordless
Sincerely, Olga Os.