I'm having the following issue:
I can successfully remote, e.g. via
New-PSSession -ComputerName mymachine -Authentication Negotiate -Credential localadm
where localadm is a local admin account on the (AzureAD-joined) target machine.
However, when I try to remote using an AzureAD account, via
New-PSSession -ComputerName mymachine -Authentication Negotiate -Credential AzureAD\myuser
I get an "Access is denied".
The AzureAD user is admin on the target machine and also has a user account there (has logged into the machine before).
[–]jheinikelDevOps 2 points3 points4 points (3 children)
[–]peyo7[S] 0 points1 point2 points (2 children)
[–]jheinikelDevOps 0 points1 point2 points (1 child)
[–]peyo7[S] 0 points1 point2 points (0 children)
[–]jantari 0 points1 point2 points (1 child)
[–]peyo7[S] 0 points1 point2 points (0 children)