Teams asking for credentials on logoff-login

Zeno152 111 Reputation points
2021-06-22T06:25:10.637+00:00

Teams is always asking for credentials after logoff-login, giving the following error when clicking on "Allow my organization to manage this device":
CAA50021 - Number of retry attempts exceeds expectation.

Strange fact: if I run this command on the machine prior to launching Teams, it start correctly:
dsregcmd /leave

Which simply unjoin the device from Azure AD.

Azure AD registration status when not working (always asking for credentials):

*C:\Windows\system32>dsregcmd /status

+----------------------------------------------------------------------+
| Device State |
+----------------------------------------------------------------------+

         AzureAdJoined : YES
      EnterpriseJoined : NO
          DomainJoined : YES*

Whereas when it's working after the command above:
C:\Windows\system32>dsregcmd /status
+----------------------------------------------------------------------+
| Device State |
+----------------------------------------------------------------------+
AzureAdJoined : NO
EnterpriseJoined : NO
DomainJoined : YES

Do you guys know why it's behaving like this?

Thanks

Zeno

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,008 questions
{count} votes

Accepted answer
  1. Zeno152 111 Reputation points
    2021-06-30T09:51:28.78+00:00

    Hello @JimmyYang-MSFT ,

    I actually found the solution to this issue: turned out that the golden image was registered to Azure AD a long time ago, therefore the registration has expired.

    I followed this procedure in order to re-register the golden image and now the VDIs seem to be working just fine.

    One last question: do you know if it's necessary to have those devices showing as registered in Azure AD or it's fine to keep them as "pending"?

    Thanks

    Zeno


0 additional answers

Sort by: Most helpful