Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connecting to PowerShell



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
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.

I did, the guy had no clue what Powershell is. I ended up cancelling since it was just a demo tenant and had already tested what I needed