JoinDomain VMExtensionProvisioningError when deploying WVD (aka Conflict Error)

Deploying WVD Fails with a conflict error and when clicking for more information it presents a conflict and not much else that is useful by way of toubleshooting. Hopefully this helps someone else as it had me head scratching for a little while.. When creating the Host Pool, make sure that you haven't made the fatal error of using the Azure Active Directory Credential INSTEAD of the Local AD Domain Credential.  i.e do not use USER@m365xxxxx.onmicrosoft.com to domain join, even if it links back to the domain - this is where the conflict arrises.    Instead, use your full internal domain UPN.  USER@prefix.domain.co.uk  Re-deploy your same configuration and you should find it goes through now without any problems. Additional findings.... Albeit my mistake above was an easy one, it does appear the error is directly linked to the domain join process. If you go into your resource groups, locate the session host and MSTSC directly to it.  Try the domain join pr

Exchange 2007 - How to Purge Disconnected Mailbox

A feature that took me a little while to click onto was the process of purging Mailboxes. In Exchange 2003 it was simple, delete the user, enter the exchange console, run the cleanup agent and then purge or reconnect.

In exchange 2007 this ability seems to have left the Exchange console and entered the shell world...

Should you face this scenario of having to rebuild an Exchange Mailbox the process of purging is as follows, firstly remove the mailbox in the Exchange console as normal then enter the Exchange Management Shell.

You need to run two commands (Remember - Case Sensitive):

List all of the disconnected mailboxes in the domain so you can find the GUID.
Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

Then modify the following command with the GUID of the Mailbox you wish to delete:
Remove-Mailbox -Database "Mailbox Database" -StoreMailboxIdentity -confirm:$false

Be careful though when deleting Exchange Mailboxes before you even get to the purging stage make sure you don't accidently delete the user account which is very possible in Exchange now that it has the added Active Directory Integration.

Did I solve your problem? Buy me a virtual beer by clicking on a Google ad :). Thanks!

Comments

  1. Hehe, just had to use this - thanks :-)

    Googled 'exchange 2007 purge mailbox' and saw a familiar name!

    ReplyDelete

Post a Comment

Popular posts from this blog

This product type does not match the list of supported product types

SBS 2008 hangs on Applying Computer Settings

LSASS.EXE - System Error / Rebuilding Active Directory Indices. When booting windows server 2003