Advertisement
Guest User

3

a guest
Feb 10th, 2014
465
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. An internal error occurred. + CategoryInfo : InvalidArgument: (https://ps.outlook.com/powersh ell:Uri) [], PSInvalidOperationException + FullyQualifiedErrorId : CreateRemoteRunspaceFailed Import-PSSession : Cannot validate argument on parameter 'Session'. The argumen t is null. Supply a non-null argument and try the command again. At C:\powershell\include\automatedlogin-mso-import.ps1:11 char:17 + Import-PSSession <<<< $Session -AllowClobber | Out-Null + CategoryInfo : InvalidData: (:) [Import-PSSession], ParameterBi ndingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Power Shell.Commands.ImportPSSessionCommand Connect-MsolService : Exception of type 'Microsoft.Online.Administration.Automa tion.MicrosoftOnlineException' was thrown. At C:\powershell\include\automatedlogin-mso-import.ps1:15 char:20 + Connect-MsolService <<<< -Credential $LiveCred + CategoryInfo : OperationStopped: (:) [Connect-MsolService], Mic rosoftOnlineException + FullyQualifiedErrorId : 0x80070002,Microsoft.Online.Administration.Autom ation.ConnectMsolService Set-MsolUserPassword : You must call the Connect-MsolService cmdlet before calling any other cmdlets. At C:\powershell\PasswordReset\PasswordReset.ps1:24 char:21 + Set-MsolUserPassword <<<< -UserPrincipalName $username -NewPassword $password -ForceChangePassword $false + CategoryInfo : OperationStopped: (:) [Set-MsolUserPassword], MicrosoftOnlineException + FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.MicrosoftOnlineException,Microsoft.Online.Administration.Automation.SetUserPassword
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement