microsoft / AADConnectConfigDocumenter

AAD Connect configuration documenter is a tool to generate documentation of an AAD Connect installation.
Other
245 stars 49 forks source link

Does not support running on a machine with AADConnect v1.2.70.0 installed #20

Closed KeithwNZ closed 5 years ago

KeithwNZ commented 5 years ago

If executed on a computer with AADConnect v1.2.70.0 installed, AzureADConnectSyncDocumenter v1.18.928.0 results in the 9009 error "It seems you may have downloaded the source code instead of a release package. Please download the latest release..."

It does seem to support configuration comparison between AADConnect v1.1.880.0 and v1.2.70.0, but needs to be run on the machine with AADConnect v1.1.880.0 installed.

M1kep commented 5 years ago

I just finished running it on a server with 1.2.70.0 installed. The first time I ran it I was on a different version, but I don't think that'd matter?

NileshGhodekar commented 5 years ago

@KeithwNZ, so do you rerally have the file AzureADConnectSyncDocumenterCmd.exe? This check was put in the .cmd batch file because some people were downloading the source code (which does not have the compiled executable) instead of the actual release from the link mentioned in the instructions (which does come with the compiled executable).

@M1kep, if you delete the .exe, I expect you to get the same error message.

PS: There is no mention in the instructions that you need to run it on a machine with AADC installed. I use it on my Win10 desktop.

KeithwNZ commented 5 years ago

Ok - my situation was this: I happened to be running AzureADConnectSyncDocumenterCmd on a server which had AADConnect 1.1.880.0 installed and it worked fine. I did an in-place upgrade of AADConnect to 1.2.70.0 and then AzureADConnectSyncDocumenterCmd started throwing the error as stated.

NileshGhodekar commented 5 years ago

Well, if you open AzureADConnectSyncDocumenter-Contoso.cmd in notepad, you'll see that the only reason for this error meesage is if AzureADConnectSyncDocumenterCmd.exe is not found. There is no other check and like I mentioned the AADC connect version upgrade has no bearing on the error you received as AADC is not even required to be installed to use the tool. So another likely cause you are launching the .cmd file from another folder. It will be helpful if you report back what was the cause of this error.

NileshGhodekar commented 5 years ago

Hi @KeithwNZ , I'm closing this as no repro. If you have any additional information on why you got this error, please comment.