Avatar of Kenzii
Kenzii
Flag for United Kingdom of Great Britain and Northern Ireland asked on

autodiscover directories

I seem to have messed somethign up with the autodiscover. I was going to rebuild the Autodiscover directory.

I ran Remove-AutodiscoverVirtualDirectory -Identity "sbsserver\autodiscover (Default Web Site)" and then manually removed the directory in IIS


It seemed to work. But now I cannot do NEW-autodiscovervirtualdirectory

The IIS virtual directory recreates but GET-Autodiscovervirtualdirectory does not display any results. For example:


[PS] C:\Windows\system32>Get-AutodiscoverVirtualDirectory
[PS] C:\Windows\system32>

although this was working before hand. we have had a number of issues with autoconfig not working and out of office not working.
Exchange

Avatar of undefined
Last Comment
Kenzii

8/22/2022 - Mon
ashunnag

what errors you are getting when running new-autodiscovervirtualdeirectory cmdlet?
Kenzii

ASKER
[PS] C:\Windows\system32>New-AutoDiscoverVirtualDirectory -websitename "Default Web Site" -WindowsAuthentication $true -
DigestAuthentication $true
The virtual directory 'Autodiscover' already exists under 'SBSSERVER.blizzard.local/Default Web Site'.
Parameter name: VirtualDirectoryName
    + CategoryInfo          : InvalidArgument: (SBSSERVER\Autod...fault Web Site):ADObjectId) [New-AutodiscoverVirtual
   Directory], ArgumentException
    + FullyQualifiedErrorId : 783F2AE3,Microsoft.Exchange.Management.SystemConfigurationTasks.NewAutodiscoverVirtualDi
   rectory
ASKER CERTIFIED SOLUTION
ashunnag

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Kenzii

ASKER
Worked perfectly.
Didnt do the ADSIEDIT part but the metapath explorer and delete from IIS worked.
Thanks very much
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy