New-OwaVirtualDirectory – An error occurred while creating the IIS virtual directory

During a recent update to Exchange 2016 CU9, I encountered the following error whilst trying to recreate one of the secondary OWA sites that I have running. The command being executed was: New-OwaVirtualDirectory -Server $ServerName -WebsiteName “EAC_Secondary” | Out-Null The error I was getting: An error occurred while creating the IIS virtual directory ‘IIS://exch04.domain.local/W3SVC/3/ROOT/owa’ on
Continue reading New-OwaVirtualDirectory – An error occurred while creating the IIS virtual directory

Test-ActiveSyncConnectivity – 403 Forbidden at ‘Issue an HTTP OPTIONS command’

I have spent some time troubleshooting an alert from SCOM that ActiveSync was not working on all Exchange 2010 servers in an environment. The environment is currently in co-existence with Exchange 2016, with all client access services already pointed to 2016. Running the Test-ActiveSyncConnectivity cmdlet returned the following result: [PS] C:\Windows\system32>Test-ActiveSyncConnectivity -TrustAnySSLCertificate:$true | fl …
Continue reading Test-ActiveSyncConnectivity – 403 Forbidden at ‘Issue an HTTP OPTIONS command’

Exchange: Checking the CAS and MBX servers used in an EWS Request

Recently I have been working on an issue where EWS requests sent to an Exchange environment were not working with the expected Exchange Version. The environment was in transition so was running both Exchange 2016 and 2010. All mailboxes involved in the request were hosted on 2016 and the CAS services had already been cut
Continue reading Exchange: Checking the CAS and MBX servers used in an EWS Request

WSUS: Failed to run WSUS Server Cleanup. Error: The DELETE statement conflicted with the REFERENCE constraint

I received the following error when running the ‘Invoke-WsusServerCleanup -CleanupObsoleteComputers’ command on a WSUS instance. From searching through the database the problem appears to have been caused by a computer changing its Target Computer Group, but not being completely unassigned from the old computer group. Failed to run WSUS Server Cleanup. Error: The DELETE statement
Continue reading WSUS: Failed to run WSUS Server Cleanup. Error: The DELETE statement conflicted with the REFERENCE constraint

WSUS Update Manager – Manage & View Updates for Computer Groups

One of the most annoying flaws in the WSUS MMC snap-in is how the filter for Approval status filters updates on whether they have any approvals rather than whether they are approved for a specific computer group. We found out that due to an automatic approval rule for a test group, a whole group of
Continue reading WSUS Update Manager – Manage & View Updates for Computer Groups

DHCP Option 119 – DNS Search Suffix – PowerShell Array Builder

Although Microsoft clients may not support DHCP Option 119, it is nonetheless a very important option for Linux and OSX clients. However, configuring such an option is not exactly the friendliest thing in the world. The RFC 3397 (http://tools.ietf.org/html/rfc3397) defines the standard. It requires that all options be presented as a byte array. One of
Continue reading DHCP Option 119 – DNS Search Suffix – PowerShell Array Builder