Hi!
I’m pretty new to PowerShell, let alone remoting, and I’ve been trying like crazy to get PowerShell remoting (invoke-command / enter-pssession) to work with a Azure Active Directory joined device (Hypver-V VM actually) and Azure Active Directory user account. I searched Google but couldn’t find anything definitive about it being possible or not.
I’ve been trying (variations of):
Enter-Pssession -ComputerName [computername] -Credential AzureAD\[username]
The username I provided is the Azure Active Directory Global administrator. I can see the device I want to connect to if I run
Get-AzureADDevice
I have enable remoting via Enable-PSRemoting and am able to remote using the devices administrator account.
So, my questions would be: is this even possible? If so, how?
Regards,
Bram