I have installed Exchange 2019 in a exchange 2013 org.
I have some problems accessing exchange 2019.
I cannot login to /ecp from the web. The login page is coming up, but when I enter my credentials the site blinks and I can type in my credentials again. I have no problem internally.
In my troubleshooting I found out that internal and external url for autodiscover is blank. Trying to correct it just gives my more errors.
I have tried running these commands:
Get-AutodiscoverVirtualDirectory -Server exch2k19 |set-AutodiscoverVirtualDirectory -ExternalUrl https://autodiscover.domainname.XXX/Autodiscover/Autodiscover.xml
and
Get-AutodiscoverVirtualDirectory -Server exch2k19 |set-AutodiscoverVirtualDirectory -InternalUrl https://autodiscover.domainname.XXX/Autodiscover/Autodiscover.xml
both returns an error:
A parameter cannot be found that matches parameter name 'ExternalUrl'.
A parameter cannot be found that matches parameter name 'InternalUrl'.
I then tried running this command:
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
I still get same errors when trying to set Internal and External URL for autodiscover
Please help me.