Skip to content

Commit 06d7e68

Browse files
Renamed sample script to AzureADConnectSyncDocumenter-Contoso.cmd
1 parent 5d5c31a commit 06d7e68

File tree

9 files changed

+44
-21
lines changed

9 files changed

+44
-21
lines changed

ChangeLog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ All notable changes to AADConnectConfigDocumenter project will be documented in
88

99
------------
1010

11+
### Version 1.18.0928.0
12+
13+
#### Fixed
14+
- Fixed issue where the "Download Sync Rule Changes Script" link was not working in Chrome / Firefox.
15+
16+
------------
17+
1118
### Version 1.18.0613.0
1219

1320
#### Fixed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ Prerequisites:
2525

2626
How to use the tool:
2727

28-
* Download the latest release AzureADConnectSyncDocumenter.zip from the [releases](https://github.com/Microsoft/AADConnectConfigDocumenter/releases) tab under the Code tab tab, UNBLOCK the downloaded zip file and extract the zip file to an empty local folder on a machine which has .NET Framework 4.5 installed.
28+
* Download the latest release AzureADConnectSyncDocumenter.zip from the [**releases**](https://github.com/Microsoft/AADConnectConfigDocumenter/releases) tab under the Code tab tab.
29+
* UNBLOCK the downloaded zip file using the **Right Click** | **Properties** menu and then checking the **Unblock** check-box from the **General** tab.
30+
* Extract the zip file to an empty local folder on a machine which has .NET Framework 4.5 installed.
2931
* This will extract the Documenter application binaries along with the sample data files for "Contoso".
30-
* Make sure that the tool runs by double-clicking on the cmd file AzureADConnectSyncDocumenter.cmd.
32+
* Make sure that the tool runs by double-clicking on the cmd file AzureADConnectSyncDocumenter-Contoso.cmd.
3133
* Export the Server Configuration of your pilot / test Azure AD Connect sync server by running Get-ADSyncServerConfiguration cmdlet defined in ADSync module shipped with Azure AD Connect.
3234

3335
```PowerShell
@@ -38,14 +40,14 @@ How to use the tool:
3840
```
3941

4042
* Copy the configuration export files produced in the previous step to a folder under the "Data" directory of the Documenter tool.
41-
* e.g. the "Pilot" configuration files for the customer "Contoso" are provided as a sample under the "Data\Contoso\Pilot" folder.
43+
* e.g. the "Pilot" configuration files for the customer "Contoso" are provided as a sample under the "Data\Contoso\Pilot" folder. This is the folder where the files of the ***to be*** or ***end-state*** configuration are located. So, for example, in a swing migration project the "Pilot" or "Target" configuration will be the configuration of the "old" server, since the goal is to build a new server with the configuration as close to the old server as possible.
4244
* If you want to document the changes from a specific baseline, export the server configuration of your baseline / production Azure AD Connect server and copy the output to a folder under the Documenter "Data" directory.
43-
* e.g. the "Production" configuration files for the customer "Contoso" are provided as a sample under the "Data\Contoso\Production" folder.
44-
* Edit AzureADConnectSyncDocumenter.cmd for the values of "Pilot" and "Production" directories.
45+
* e.g. the "Production" configuration files for the customer "Contoso" are provided as a sample under the "Data\Contoso\Production" folder. This is the folder where the files of the ***as-is*** or ***baseline*** configuration are located.
46+
* Make a copy of AzureADConnectSyncDocumenter-Contoso.cmd with a name appropriate for your enviroment (say AzureADConnectSyncDocumenter-Fabrikam.cmd) and edit your copy for the values of "Pilot" and "Production" directories.
4547
* If you don't have a baseline / production config, specify the same path as the "Pilot" config.
46-
* Run the updated batch file. Upon successful execution, the generated report will be found in the Documenter "Report" folder.
48+
* Run your updated updated batch file. Upon successful execution, the generated report will be found in the Documenter "Report" folder.
4749

48-
**!!NOTE!!** _**If the names of the connector(s) do(es) not exactly match between the supplied "Pilot" and "Production" configuration files, then before running the tool, "prep" the exported config files by manually editing the xml files located in the "Connectors" folder so that the name of the connector(s) match. The name of the connector is located inside the "name" element at the start of the content.**_
50+
**!!NOTE!!** _**If the name(s) of the connector(s) do(es) not exactly match between the supplied "Pilot" and "Production" configuration files, then before running the tool, "prep" the exported config files by manually editing the xml files located in the "Connectors" folder so that the name of the connector(s) match. The name of the connector is located inside the "name" element at the start of the content.**_
4951

5052
A sample report generated by the tool can be found listed in the [Wiki](https://github.com/Microsoft/AADConnectConfigDocumenter/wiki/Sample-Report) section.
5153

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
AzureADConnectSyncDocumenterCmd.exe "Contoso\Pilot" "Contoso\Production"
2+
3+
ECHO OFF
4+
5+
IF %ERRORLEVEL% EQU 9009 (
6+
ECHO ****************************************************************************************************
7+
ECHO It seems you may have downloaded the source code instead of a release package. Please download the latest release from https://github.com/Microsoft/AADConnectConfigDocumenter/releases...
8+
ECHO ****************************************************************************************************
9+
) ELSE (
10+
ECHO ****************************************************************************************************
11+
ECHO Execution complete. Please check any errors or warnings in the AADConnectSyncDocumenter-Error.log...
12+
ECHO ****************************************************************************************************
13+
)
14+
15+
@pause

src/AzureADConnectSyncDocumenter.cmd

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/AzureADConnectSyncDocumenter.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 2013
4-
VisualStudioVersion = 12.0.31101.0
3+
# Visual Studio 14
4+
VisualStudioVersion = 14.0.25420.1
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AzureADConnectSyncDocumenterCmd", "AzureADConnectSyncDocumenterCmd\AzureADConnectSyncDocumenterCmd.csproj", "{C6098A15-5BAC-4FD1-BD5A-9E44315D6C09}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BE2A6C7E-C38D-4210-8966-66CF07CB5C03}"
99
ProjectSection(SolutionItems) = preProject
10-
AzureADConnectSyncDocumenter.cmd = AzureADConnectSyncDocumenter.cmd
10+
AzureADConnectSyncDocumenter-Contoso.cmd = AzureADConnectSyncDocumenter-Contoso.cmd
1111
CodeAnalysisDictionary.xml = CodeAnalysisDictionary.xml
1212
Documenter.snk = Documenter.snk
1313
Settings.StyleCop = Settings.StyleCop

src/AzureADConnectSyncDocumenter/Documenter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ protected void WriteReport(string reportHeader, string reportHtml, string tocHtm
13371337
this.ReportWriter.WriteBeginTag("span");
13381338
this.ReportWriter.WriteAttribute("class", cellClass);
13391339
this.ReportWriter.WriteLine(HtmlTextWriter.TagRightChar);
1340-
this.ReportWriter.Write("(" + syncVersionPilot + ")");
1340+
this.ReportWriter.Write("(" + syncVersionPilot + "):");
13411341
this.ReportWriter.WriteEndTag("span");
13421342
}
13431343

@@ -1358,7 +1358,7 @@ protected void WriteReport(string reportHeader, string reportHtml, string tocHtm
13581358
this.ReportWriter.WriteBeginTag("span");
13591359
this.ReportWriter.WriteAttribute("class", cellClass);
13601360
this.ReportWriter.WriteLine(HtmlTextWriter.TagRightChar);
1361-
this.ReportWriter.Write("(" + syncVersionProduction + ")");
1361+
this.ReportWriter.Write("(" + syncVersionProduction + "):");
13621362
this.ReportWriter.WriteEndTag("span");
13631363
}
13641364

src/AzureADConnectSyncDocumenterCmd/AzureADConnectSyncDocumenterCmd.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<PropertyGroup>
8181
<PostBuildEvent>xcopy /I /Y "$(TargetDir)$(TargetName).exe" "$(SolutionDir)SolutionOutput"
8282
xcopy /I /Y "$(TargetDir)$(TargetName).exe.config" "$(SolutionDir)SolutionOutput"
83-
xcopy /I /Y "$(SolutionDir)AzureADConnectSyncDocumenter.cmd" "$(SolutionDir)SolutionOutput"
83+
xcopy /I /Y "$(SolutionDir)AzureADConnectSyncDocumenter-Contoso.cmd" "$(SolutionDir)SolutionOutput"
8484
</PostBuildEvent>
8585
</PropertyGroup>
8686
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

src/AzureADConnectSyncDocumenterCmd/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ public static void Main(string[] args)
2929
{
3030
if (args == null || args.Length < 2)
3131
{
32-
string errorMsg = string.Format(CultureInfo.CurrentUICulture, "Missing commnad-line arguments. Usage: {0} {1} {2}.", new object[] { Assembly.GetExecutingAssembly().GetName().Name, "{Pilot / Target Config Folder}", "{Production / Reference / Baseline Config Folder}" });
32+
var errorMsg = string.Format(CultureInfo.CurrentUICulture, "Missing commnad-line arguments. Usage: {0} {1} {2}.", new object[] { Assembly.GetExecutingAssembly().GetName().Name, "{Pilot / Target Config Folder}", "{Production / Reference / Baseline Config Folder}" });
3333
Console.Error.WriteLine(errorMsg);
34+
35+
errorMsg = string.Format(CultureInfo.CurrentUICulture, "Example: \t{0} {1} {2} {3}", new object[] { Environment.NewLine, Assembly.GetExecutingAssembly().GetName().Name, "\"Contoso\\Pilot\"", "\"Contoso\\Production\"" });
36+
Console.Error.WriteLine(errorMsg);
37+
3438
Console.ReadKey();
3539
return;
3640
}

src/VersionInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal static class VersionInfo
2222
/// Build Number (MMDD)
2323
/// Revision (if any on the same day)
2424
/// </summary>
25-
internal const string Version = "1.18.0613.0";
25+
internal const string Version = "1.18.0928.0";
2626

2727
/// <summary>
2828
/// File Version information for the assembly consists of the following four values:
@@ -31,6 +31,6 @@ internal static class VersionInfo
3131
/// Build Number (MMDD)
3232
/// Revision (if any on the same day)
3333
/// </summary>
34-
internal const string FileVersion = "1.18.0613.0";
34+
internal const string FileVersion = "1.18.0928.0";
3535
}
3636
}

0 commit comments

Comments
 (0)