Forum Discussion
jamelbouzidi
Apr 13, 2023Copper Contributor
Unable to Connect to EMS Server
Hello, I am writing to report an issue that I am currently experiencing with my EMS setup. Specifically, I am unable to connect to one of two EMS servers, and I'm receiving this error message: ...
jamelbouzidi
Apr 14, 2023Copper Contributor
for the SessionOption, yes I skip the Certificate Checks.
This is what Get-PowerShellVirtualDirectory give me
RunspaceId : 10bb7a81-7bea-4958-b4aa-55581bff7d1e
RequireSSL : False
CertificateAuthentication : True
VirtualDirectoryType : PowerShell
Name : PowerShell (Default Web Site)
InternalAuthenticationMethods : {}
ExternalAuthenticationMethods : {}
LiveIdNegotiateAuthentication : False
WSSecurityAuthentication : False
LiveIdBasicAuthentication : False
BasicAuthentication : False
DigestAuthentication : False
WindowsAuthentication : False
OAuthAuthentication : False
AdfsAuthentication : False
MetabasePath : IIS://srvexc03.mydomain.local/W3SVC/1/ROOT/PowerShell
Path : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\PowerShell
ExtendedProtectionTokenChecking : None
ExtendedProtectionFlags : {}
ExtendedProtectionSPNList : {}
AdminDisplayVersion : Version 15.2 (Build 1118.7)
Server : SRVEXC03
InternalUrl : https://srvexc03.mydomain.local/powershell
ExternalUrl : https://exc.mydomain.com/powershell
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=PowerShell (Default Web Site),CN=HTTP,CN=Protocols,CN=SRVEXC03,CN=Servers,CN=Exchange Administrative Group
(FYDIBOHF23SPDLT),CN=Administrative Groups,CN=MY Organization,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=mydomain,DC=local
Identity : SRVEXC03\PowerShell (Default Web Site)
Guid : d68ba73b-2cd8-4b37-a1a4-7df9ca794109
ObjectCategory : mydomain.local/Configuration/Schema/ms-Exch-Power-Shell-Virtual-Directory
ObjectClass : {top, msExchVirtualDirectory, msExchPowerShellVirtualDirectory}
WhenChanged : 14/04/2023 08:21:36
WhenCreated : 09/03/2023 10:40:27
WhenChangedUTC : 14/04/2023 07:21:36
WhenCreatedUTC : 09/03/2023 09:40:27
OrganizationId :
Id : SRVEXC03\PowerShell (Default Web Site)
OriginatingServer : SrvLdap02.mydomain.local
IsValid : True
ObjectState : Changed
Andres-Bohren
Apr 14, 2023Iron Contributor
No Authentication Protocol is active on the PowerShell Directory
Set-PowerShellVirtualDirectory -Server srvexc03 -BasicAuthentication $true -WindowsAuthentication $true
Set-PowerShellVirtualDirectory -Server srvexc03 -BasicAuthentication $true -WindowsAuthentication $true
- jamelbouzidiApr 15, 2023Copper Contributor
I fix then Authentification Protocol,
RunspaceId : 10bb7a81-7bea-4958-b4aa-55581bff7d1e RequireSSL : False CertificateAuthentication : True VirtualDirectoryType : PowerShell Name : PowerShell (Default Web Site) InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated} ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated} LiveIdNegotiateAuthentication : False WSSecurityAuthentication : False LiveIdBasicAuthentication : False BasicAuthentication : True DigestAuthentication : False WindowsAuthentication : True OAuthAuthentication : False AdfsAuthentication : False MetabasePath : IIS://srvexc03.mydomain.local/W3SVC/1/ROOT/PowerShell Path : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\PowerShell ExtendedProtectionTokenChecking : None ExtendedProtectionFlags : {} ExtendedProtectionSPNList : {} AdminDisplayVersion : Version 15.2 (Build 1118.7) Server : SRVEXC03 InternalUrl : https://srvexc03.mydomain.local/powershell ExternalUrl : https://exc.mydomain.com/powershellBut still doesn't work.
I forgot to tell you that neither the OWA nor the ECP doesn't work, only when I enter https://127.0.0.1/ecp