Open rabusiak opened 3 years ago
@rabusiak Have you solved the case? I got the same error even if Computer object is already created in on-prem AD in the proper OU.
@igomat unfortunately not. I ended up with profiles on local fileserver.
I believe all issues I had were caused by... me ;) I messed up with setting everything up using few Microsoft docs. I didn't know there were 2 versions of wvd, old which requires all those powershell commands, creating tenant etc and new one where you can just click through portal. When I setup environment for other client "new way" all went smoothly :)
When I try to run command:
Join-AzStorageAccountForAuth -ResourceGroupName $ResourceGroupName -StorageAccountName $StorageAccountName -DomainAccountType ComputerAccount Getting this error:
It doesn't matter if I run this as regular user or domain admin, from domain joined computer or domain controller, with or without elevated powershell / ISE.