Hello
I`m running the following code in PowerShell as an Administrator
PS C:\Windows\system32> Import-Module ExchangeOnlineManagement
PS C:\Windows\system32> Connect-IPPSSession
And received an error: ПРЕДУПРЕЖДЕНИЕ: Ваше подключение перенаправлено на следующий URI:
"https://eur06b.ps.compliance.protection.outlook.com/Powershell-LiveId?BasicAuthToOAuthConversion=true;PSVersion=5.1.19
041.1645"
New-ExoPSSession : Сбой обработки данных, полученных от удаленного сервера
eur06b.ps.compliance.protection.outlook.com. Сообщение об ошибке: The request for the Windows Remote Shell with
ShellId 432FF59F-54E2-412B-A0D6-C9D1A6CD765E failed because the shell was not found on the server. Possible causes
are: the specified ShellId is incorrect or the shell no longer exists on the server. Provide the correct ShellId or
create a new shell and retry the operation. Подробности см. в разделе справки "about_Remote_Troubleshooting".
C:\Program
Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\2.0.5\netFramework\ExchangeOnlineManagement.psm1:475 знак:30
- ... PSSession = New-ExoPSSession -ExchangeEnvironmentName $ExchangeEnviro ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ResourceUnavailable: (:) [New-ExoPSSession], PSRemotingTransportException
- FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException,Microsoft.Exchang
e.Management.ExoPowershellSnapin.NewExoPSSession
Please help
P.S. All permissions are provided according to this instruction https://www.youtube.com/watch?v=M2GUQtIOkgk