stgeorgi / wvdquickstart

26 stars 31 forks source link

inputValidationRunbook failures #19

Open ohwellwhatever opened 3 years ago

ohwellwhatever commented 3 years ago

I have set up a test environment on my MSDN sub with Azure AD DS, and can deploy WVD without issue in the portal. But every time I try to deploy the quickstart and supplying the same credentials it fails with:

Connect-AzureAD : One or more errors occurred.: unknown_user_type: Unknown User Type At line:57 char:3 + Connect-AzureAD -Credential $domainCredentials + ~~~~~~~~~~ + CategoryInfo : AuthenticationError: (:) [Connect-AzureAD], AadAuthenticationFailedException + FullyQualifiedErrorId : Connect-AzureAD,Microsoft.Open.Azure.AD.CommonLibrary.ConnectAzureAD

and then

Invalid domain join username or password entered - Connecting to Azure AD failed. + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException

stgeorgi commented 3 years ago

Can you please share the output of the Automation runbook...Also is the account MFA enabled? Also is the account OAuth? The way WVD quickstart works (that is different from standard deploy) is that we do not pick up the context of the ARM account? Hence we rely on the validation which right now is failing.