@NarenderSingh-5750 Are you trying to login Azure Sphere for the first time?
If you've never logged in to Azure Sphere before, use the register-user command to register a user with the Azure Sphere Security Service:
AADSTS50020 - Error while Loggin in Azure Sphere Dev Kit
Request Id: 119b86d9-ceab-4068-8fb6-a116de1a8f00
Correlation Id: 5f8ddad6-8b28-460e-8c43-4074cd1e34b8
Timestamp: 2020-12-06T14:06:23Z
Message: AADSTS50020: User account 'azsphere@varnit.onmicrosoft.com' from identity provider 'https://sts.windows.net/cd1c5c77-8d8c-420d-8c18-47f3bcbcb5f5/' does not exist in tenant 'Azure Sphere' and cannot access the application '0b1c8f7e-28d2-4378-97e2-7d7d63f7c87f'(Azure Sphere Utility) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.
-
AshokPeddakotla-MSFT 33,851 Reputation points
2020-12-07T12:09:40.943+00:00