Skip to content

Commit 21d75e3

Browse files
authored
Merge pull request #192390 from mepples21/master
Update howto-vm-sign-in-azure-ad-linux.md
2 parents 78adb12 + 71c9c7f commit 21d75e3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/active-directory/devices/howto-vm-sign-in-azure-ad-linux.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,14 @@ Solution 2: Perform these actions:
463463
464464
Virtual machine scale set VM connections may fail if the virtual machine scale set instances are running an old model. Upgrading virtual machine scale set instances to the latest model may resolve issues, especially if an upgrade hasn’t been done since the Azure AD Login extension was installed. Upgrading an instance applies a standard virtual machine scale set configuration to the individual instance.
465465
466+
### AllowGroups / DenyGroups statements in sshd_config cause first login to fail for Azure AD users
467+
468+
Cause 1: If sshd_config contains either AllowGroups or DenyGroups statements, the very first login fails for Azure AD users. If the statement was added after a user already has a successful login, they can log in.
469+
470+
Solution 1: Remove AllowGroups and DenyGroups statements from sshd_config.
471+
472+
Solution 2: Move AllowGroups and DenyGroups to a "match user" section in sshd_config. Make sure the match template excludes Azure AD users.
473+
466474
## Next steps
467475
468476
[What is a device identity?](overview.md)

0 commit comments

Comments
 (0)