DDopo aver eseguito l'installazione di Adconnect e avviato la configurazione, una volta arrivato alla voce "Accesso ad Azure Ad" ed avendo inserito le credenziali la procedura va in errore:
Dal log:
ù[19:02:30.757] [ 15] [ERROR] PowershellHelper: Caught exception when connecting to Windows Azure.
Exception Data (Raw): Microsoft.Online.Deployment.PowerShell.PowerShellInvocationException: Si è verificato un errore durante l'esecuzione del comando 'Connect-MsolService'. Generata eccezione di tipo 'Microsoft.Online.Administration.Automation.MicrosoftOnlineException'. ---> Microsoft.Online.Administration.Automation.MicrosoftOnlineException: Generata eccezione di tipo 'Microsoft.Online.Administration.Automation.MicrosoftOnlineException'.
in Microsoft.Online.Administration.Automation.CommonFunctions.InvokeWebServiceMethodWithRetry(String methodName, Request request, MsolCmdlet currentCmdlet, Boolean fromRetry, Boolean fromBindingRedirection)
in Microsoft.Online.Administration.Automation.ConnectMsolService.Connect(MsolCmdlet currentCmdlet, Boolean fromRetry, Boolean fromBindingRedirection, Nullable`1 tenantId)
in Microsoft.Online.Administration.Automation.ConnectMsolService.MsolCmdletProcessRecord()
--- Fine della traccia dello stack dell'eccezione interna ---
in Microsoft.Online.Deployment.PowerShell.PowerShellHelper.InvokeCommand(IPowerShell powerShell, Command command)
in Microsoft.Online.Deployment.PowerShell.PowerShellHelper.ConnectMsolService(IPowerShell powerShell, Command connectCommand, String azureInstanceId)
[19:02:30.762] [ 22] [ERROR] A terminating unhandled exception occurred.
Exception Data (Raw): System.AggregateException: Si sono verificati uno o più errori. ---> Microsoft.Online.Deployment.PowerShell.PowerShellInvocationException: Si è verificato un errore durante l'esecuzione del comando 'Connect-MsolService'. Generata eccezione di tipo 'Microsoft.Online.Administration.Automation.MicrosoftOnlineException'. ---> Microsoft.Online.Administration.Automation.MicrosoftOnlineException: Generata eccezione di tipo 'Microsoft.Online.Administration.Automation.MicrosoftOnlineException'.
in Microsoft.Online.Administration.Automation.CommonFunctions.InvokeWebServiceMethodWithRetry(String methodName, Request request, MsolCmdlet currentCmdlet, Boolean fromRetry, Boolean fromBindingRedirection)
in Microsoft.Online.Administration.Automation.ConnectMsolService.Connect(MsolCmdlet currentCmdlet, Boolean fromRetry, Boolean fromBindingRedirection, Nullable`1 tenantId)
in Microsoft.Online.Administration.Automation.ConnectMsolService.MsolCmdletProcessRecord()
--- Fine della traccia dello stack dell'eccezione interna ---
in Microsoft.Online.Deployment.PowerShell.PowerShellHelper.InvokeCommand(IPowerShell powerShell, Command command)
in Microsoft.Online.Deployment.PowerShell.PowerShellHelper.ConnectMsolService(IPowerShell powerShell, Command connectCommand, String azureInstanceId)
in Microsoft.Online.Deployment.PowerShell.PowerShellHelper.ConnectMsolService(IPowerShell powerShell, String accessToken, String azureInstanceId)
in Microsoft.Online.Deployment.Types.Utility.MsolDomainExtensions.ConnectMsolService(IPowerShell powerShell)
in Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.GetAzureDomains(List1& verifiedDomains, List
1& unverifiedDomains)
in Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.ValidateScenario(Object o)
in System.Threading.Tasks.Task.Execute()
--- Fine della traccia dello stack dell'eccezione interna ---
---> (Eccezione interna 0) Microsoft.Online.Deployment.PowerShell.PowerShellInvocationException: Si è verificato un errore durante l'esecuzione del comando 'Connect-MsolService'. Generata eccezione di tipo 'Microsoft.Online.Administration.Automation.MicrosoftOnlineException'. ---> Microsoft.Online.Administration.Automation.MicrosoftOnlineException: Generata eccezione di tipo 'Microsoft.Online.Administration.Automation.MicrosoftOnlineException'.
in Microsoft.Online.Administration.Automation.CommonFunctions.InvokeWebServiceMethodWithRetry(String methodName, Request request, MsolCmdlet currentCmdlet, Boolean fromRetry, Boolean fromBindingRedirection)
in Microsoft.Online.Administration.Automation.ConnectMsolService.Connect(MsolCmdlet currentCmdlet, Boolean fromRetry, Boolean fromBindingRedirection, Nullable`1 tenantId)
in Microsoft.Online.Administration.Automation.ConnectMsolService.MsolCmdletProcessRecord()
--- Fine della traccia dello stack dell'eccezione interna ---
in Microsoft.Online.Deployment.PowerShell.PowerShellHelper.InvokeCommand(IPowerShell powerShell, Command command)
in Microsoft.Online.Deployment.PowerShell.PowerShellHelper.ConnectMsolService(IPowerShell powerShell, Command connectCommand, String azureInstanceId)
in Microsoft.Online.Deployment.PowerShell.PowerShellHelper.ConnectMsolService(IPowerShell powerShell, String accessToken, String azureInstanceId)
in Microsoft.Online.Deployment.Types.Utility.MsolDomainExtensions.ConnectMsolService(IPowerShell powerShell)
in Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.GetAzureDomains(List1& verifiedDomains, List
1& unverifiedDomains)
in Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.UserSignInConfigPageViewModel.ValidateScenario(Object o)
in System.Threading.Tasks.Task.Execute()<---
Utilizzando Powershell con il comando ConnectMsolService ci si autentica senza problemi