I have a test demo tenant at GoDaddy I'm using to demo their Proofpoint solution.
I'm trying to connect to PowerShell, but I'm getting the following error.
Connect-MsolService : Authentication Error: Unexpected authentication failure. At line:4 char:1 + Connect-MsolService -Credential $UserCredential + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: ( [Connect-MsolService], Exception + FullyQualifiedErrorId : System.Exception,Microsoft.Online.Administration.Automation.ConnectMsolService
This is the script I'm using:
Note: it works perfectly fine with multiple Microsoft-direct tenants I manage daily
PS Z:\> # Connects to Azure and assigns the user as a variable >> $UserCredential = Get-Credential >> # Connects to the MSOL Service >> Connect-MsolService -Credential $UserCredential >> # Creates a new PowerShell session with Exchange Online and assigns it to a variable >> $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershel l-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection >> #Imports the new Exchange session into the current PowerShell session" >> Import-PSSession $Session
Does GoDaddy block PowerShell connections? Has anyone successfully connected before?
@fmisle - I am not sure if GoDaddy blocks Powershell connections (don't think so), but please call GoDaddy Support at (480) 505-8877 and they will be able to help you out with this.