Are there any tips/documentation on managing a Windows Essentials domain with o365 integration using Adaxes?
I believe I need to run a PS command to link the accounts in the essentials dashboard, to connect it to o365:
$username = "******"
$password = "********"
$secstr = New-Object -TypeName System.Security.SecureString
$password.ToCharArray() | ForEach-Object {$secstr.AppendChar($_)}
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $secstr
Invoke-Command -ComputerName <ipaddress> -ScriptBlock {& Set-O365AssignedUser -LocalAccountName "%firstname%.%lastname%" -O365AccountUPN "%firstname%.%lastname%@domainname.com"} -credential $cred
But i am having trouble getting it to run remotely. Anyone else doing this?
TIA