OrgDBOrgSettings tool for Microsoft Dynamics CRM

Applies to: Microsoft Dynamics CRM 2011Dynamics CRM 2013Microsoft Dynamics CRM 2013 Service Pack 1 More

Symptoms


Microsoft Dynamics CRM provides the OrgDBOrgSettings tool that gives administrators the ability to implement specific updates that were previously reserved for registry implementations. This article discusses the steps to extract the tool and update the settings.

Resolution


To use the OrgDBOrgSettings Tool, follow these steps:
 
  1. The tool is updated with each Update Rollup release, and can be downloaded from the Microsoft Download Center. The latest Update Rollup information and links to the Microsoft Download Center can be found in the following Microsoft website: Note To use the OrgDBOrgSettingsTool on a Windows client, you have to install Windows Identity Foundation 3.5. Also you need to match the version of the tool provided within the rollup you have installed.
  2. When you download CRM-Tools-KB#######-ENU-amd64.exe, extract the files to any folder location, such as to the C:\OrgDBSettingsTool folder.
  3. Open the OrgDBOrgSettingsTool folder.
  4. Open the OrgDBOrgSettingsTool.exe.config file for editing.
  5. Update the URLs to relate to your environment (see the samples for Online or OnPremise configuration file in the more information section) and save the changes.
  6. Open a command prompt.
  7. Run the following command and locate the OrgDbOrgSettings folder:
    Cd C:\OrgDbOrgSettings 
  8. You can use the following syntax to either retrieve or update the current settings:

    To update
    Microsoft.Crm.SE.OrgDBOrgSettingsTool.exe Update [/u] <OrgName> <SettingName> <Value> 
    To retrieve
    Microsoft.Crm.SE.OrgDbOrgSettingsTool.exe Retrieve [/u]<OrgName> 
    Note the /u symbol specifies that <Orgname> is the unique name. Without this option, <OrgName> is assumed to be the friendlyname.
     

    The options available to be retrieved or updated are as follows:


    Note
    Expand this table to see the Maximum and Minimum supported versions for each setting. Maximum supported versions ending in 9999 represents the latest available update for that version.

 

 
 
 
 
Option Name Default Value Type Description Minimum Supported Version Maximum Supported Version
ActivityConvertDlgCampaignUnchecked True Boolean Controls the default value of the Record Closed Campaign Response option. When you convert an activity to an opportunity, this default option controls whether the source campaign is set or not.

False- Record Closed Campaign Response checked and source campaign will be set.

True - Record Closed Campaign Response not checked and source campaign is not set.
5.0.9690.2720 N/A
ActivateAdditionalRefreshOfWorkflowConditions False Boolean Enables an additional refresh of workflows that contain wait conditions and that may have to be resumed. This is required to be enabled to enable a fix that was originally released as a Critical On Demand hotfix, and was publically released starting with Update Rollup 13. When events in a Wait Until condition are met, the condition is not triggered as documented in KB 2918320 . 5.0.9690.3445 5.0.9690.3731
AddressBookMaterializedViewsEnabled True Boolean Changes the way the CRM Client queries SQL CE 5.0.9690.2903 N/A
AllowPromoteDuplicates false Boolean False= Does not allow for the promotion of duplicate records.   True=  Allows for the promotion of duplicate records.  This setting is NOT SUPPORTED IN CRM2013 as of build 809 5.0.9690.3731

6.0.1.61
N/A

N/A
AllowSaveAsDraftAppointment False Boolean

Setting value to true will provide the capability to create appointments in Dynamics 365 as “draft” without synchronizing with Exchange. Appointment form will have a “Save as Draft” command and a “Send” command, so that you can save, add details and update an appointment activity without synchronizing to Exchange. Default value is set to false to preserve existing behavior.

9.0.2.2275 N/A
AutoCreateContactOnPromote True Boolean Disables the ability of the organization to create contact records automatically when an email message is tracked in CRM. This option can also be disabled from the user settings area for each user.

False - Disables the automatic creation of contacts.

True - Enables the autoatic creation of contacts.
5.0.9688.583 N/A
AutoTrackSentFolderItems False Boolean Setting value to TRUE will result in Server Side Sync auto tracking of emails from Sent Items. This setting only applies if the mailbox is configured to track "All Email Messages"

Default value is set to False to preserve the existing behavior.

To enable functionality on the organization "AutoTrackSentFolderItems" should be set to True.
8.2.2.0840 N/A
BackgroundSendBatchSize 10 Int Sets the number of email messages to download in one batch for the BackgroundSend API. 5.0.9690.583 N/A
ChangeDoubleQuoteToSingleQuote False Boolean Changes double quotation marks to single quotation marks within KB articles when the article is viewed. 5.0.9690.3541 N/A
ClearSystemUserPrincipalsWhenDisable True Boolean Clear and/or populates SystemUserPrincipals values for systemUsers when they're disabled/enabled 6.1.1.123 N/A
ClientDisableTrackingForReplyForwardEmails False Boolean
Enables a user not to automatically track replies and forwarded email messages. Set this to "True" to disable tracking replies and forwarded email messages. 
 
NOTE: This setting only applies to Dynamics 365 for Outlook (not Dynamics 365 App for Outlook).
5.0.9690.2903 N/A
ClientUEIPDisabled False Boolean Disables the sending of customer experience feedback for the organization. This option can also be disabled from the user settings area for each user.

False - Enables the sending of experience feedback.

True - Disables the sending of experience feedback.
5.0.9688.583 N/A
CreateSPFoldersUsingNameandGuid True Boolean True: creates SharePoint folders using the format of {Name}+{GUID}.- false: Creates SharePoint folders using just the name
 
6.0.0.809 N/A
DefaultHeightForWizardReports 8.25 Double With a default value 0: CRM will use 8.25 inches (A4), any other double value will override the default of 8.25.  Some printers may reject printed reports if the height is any less than the height of the paper loaded in the tray, this setting will override the height used 5.0.9690.3541 N/A
DisableClientUpdateNotification False Boolean Setting DisableClientUpdateNotification to true will disable the outlook client from checking for newer versions 7.0.0000.3027 N/A
DisableIECompatMode False Boolean Changes the server-side, automatic, IE Compatibility Mode Flag for Internet Explorer browsers. If you want pages to render in the most recent version of Internet Explorer set this to True. If you have form scripts or other customizations that require earlier versions of Internet Explorer this should be set to False. This is also controlled via Settings | Administration | System Settings | Customization 5.0.9690.3233 N/A
DisableImplicitSharingOfCommunicationActivities False Boolean Changing this to "True" will disable implicit sharing of records to recipients that are added to existing activities. 5.0.9690.2903 N/A
DisableInactiveRecordFilterForMailMerge False Boolean When you perform a mail merge, inactive records are not included. This option lets you override that functionality.

False - Inactive records will not be included in the mail merge.

True - Inactive records will be included in the mail merge.
5.0.9688.583 N/A
DisableLookupMruOnOutlookOffline False Boolean LookupMRUItems in UserEntityUISettings can cause a large data volume when going online, setting this to true will stop MRU's from syncing back ONLINE 6.1.0002.0106 N/A
DisableMapiCaching False Boolean When this value is set to "True," users can still pin the views. However, the query is sent to the CRM Server to retrieve the results instead of to the local cache to prevent performance issues.  

Note This value is not valid with CRM 2013.
5.0.9690.2903 N/A
DisableSmartMatching False Boolean Disables the smart matching functionality and relies on the tracking token on the incoming e-mails for email tracking.

False - Enables smart matching.

True - Disables smart matching.
5.0.9688.583 N/A
DistinctPhysicalAndLogicalDeletesForExchangeSync False Boolean Server-Side synchronization needs a mechanism to distinguish between Logical and Physical deletes of entities in CRM

False : No distinction between physical and logical deletes for exchange sync delete scenario

True : Physical and logical deletes will be distinguished for exchange sync delete scenario
8.2.2.0840 N/A
DoNotIgnoreInternalEmailToQueues False Boolean If you disable the "Track email sent between CRM users as two activities" setting, email messages from a CRM user to a queue are not delivered. Additionally, if a workflow rule sends an email message to a queue, email messages that are sent by the workflow rule are not delivered.

False - Internal email messages to queues will not be delivered.

True - Internal email messages to queues will be delivered.
5.0.9690.1533 N/A
EnableAppointmentBroadcastingForOutlookSync 0 Number Setting for Appointment broadcasting for Outlook Synchronization 7.0.1.121 N/A
EnableBulkReparent True Boolean Disables and reparents using a one record at a time approach 6.0.0.809 N/A
EnableCrmStatecodeOnOutlookCategory True Boolean Enables Statecode data on contact sync 6.1.0.581 N/A
EnableQuickFindOptimization 1 Int For more information, see the "Optimizing the Performance of Quick Find Queries" section in the Optimizing and Maintaining the Performance of a Dynamics CRM 2011 Server Infrastructure. 5.0.9690.2720 N/A
EnableRetrieveMultipleOptimization 0 Int For more information, see the "Optimizing the Performance of Queries against Large Datasets section" in the Optimizing and Maintaining the Performance of a Dynamics CRM 2011 Server Infrastructure. 5.0.9690.1533 N/A
EnableReLinkingToExistingCRMRecord 0 Int Enables a user to re-track contact records. 5.0.9690.3445 N/A
EnableSssItemLevelMonitoring False Boolean Setting value to True will enable a new dashboard accessible by users and administrators called Server-Side Synchronization Failures. This dashboard allows the owner of a mailbox to have information about all non-synched incoming/outgoing emails and also appointment, contact, and task (ACT) items. Information is provided for the reason items are not synchronized. Default value is set to False to preserve the existing behavior. You can use the ExchangeSyncIdMappingPersistenceTimeInDays setting to control how long the data for failed emails is retained. 8.2.2.1661 N/A
ExchangeSyncIdMappingPersistenceTimeInDays 3 Int The number of days for which the ExchangeSyncIdMappings are to be persisted for failed emails. This setting is used in relation to the EnableSssItemLevelMonitoring setting. It is not recommended to increase this value higher than 7 days as it can lead to the table growing very large. 8.2.2.2059 N/A
ExportedExcelRetentionWindow 5 Number The number of days to temporarily store Excel exported Office Document Records. 30 days max was selected arbitrarily as this is only a cache. Must be at least 2. 7.1.0.1059 N/A
ForceRetrievePublishedMetadataForRetrieveAllEntities False Boolean All RetrieveAllEntities requests will ignore the AsIfPublished flag so that it always retrieves the published metadata from cache. 8.1.1.1020 N/A
FullTextSpecialCharactersToRemoveFromSearchToken null String This allows an organization to remove certain characters from a fulltext search string.

Example: To remove a wildcard character from a FullText search, add “*”. To remove multiple characters, add them all together in a single string value “*.’#”. The characters are separated by ToCharArray.
8.1.1.1020 N/A
GrantFullAccessForMergeToMasterOwner True Boolean When two records owned by the same team are merged, the final record is shared with the owner of the record it was merged from. This creates redundant POA records, as a result, if the owner of the record is changed in the future it will be visible to team members of the previously owning team. To do this, set to false. 5.0.9690.4449 N/A
GrantSharedAccessForMergeToSubordinateOwner True Boolean To turn this setting off, this must be set to false. Records are shared with inherited access to subordinate owners during merge. This will not occur when set to false. 5.0.9690.3911 N/A
HierarchyLevelForHierarchyFeature 3 Number The hierarchy level used for hierarchal security 7.0.0000.3027 N/A
IfdAuthenticationMethod null String Changes the request sent to the ADFS server, this settings default value 5.0.9690.2835 N/A
IncludeHTC true Boolean Set whether forms should support HTML component.  The CRM 4.0 API uses this feature which is deprecated and will no longer be included after the next major release.  If you  have javascript code relying on CRM 4.0 javascript API's you should enable this and work to update your code to support CRM 2011. This is also controlled via Settings | Administraton | System Settings | Customization. This setting is NOT SUPPORTED IN CRM 2013 5.0.9690.3233 N/A
IdsCountBeforeUsingJoinsForSecurity 1000 Int Not documented in optimization paper. 5.0.9690.2720 N/A
IdsCountForUsingGuidStringsForSecurity 20 Int Not documented in optimization paper. 5.0.9690.2720 N/A
IntegratedAuthenticationMethod null String Changes the request sent to the ADFS server, this settings default value 5.0.9690.2835 N/A
JumpBarAlphabetOverride null String How to customize the Alphabet Bar for the CRM Application Grids for Microsoft Dynamics CRM 4.0 5.0.9690.2243 N/A
JumpBarNumberIndicatorOverride null String How to customize the Alphabet Bar for the CRM Application Grids for Microsoft Dynamics CRM 4.0 5.0.9690.2243 N/A
ListComponentInstalled false Boolean If CRM and SharePoint use ADFS and users click to create a folder for a record in CRM 2011, intermittently, the SharePoint page is shown instead of the list part grid page causing confusion with users. This setting allows you to force CRM to use the installed list grid component in SharePoint when using ADFS. false: use the standard method of detecting Sharepoint Authentication  -true: If CRM and SharePoint have ADFS enabled, force CRM to use the grid display. 5.0.9690.3911

6.1.0.581
N/A

N/A
LookupNameMatchesDuringImport False Boolean Importing a solution that was created from an upgraded 4.0 deployment fails. Changing this setting makes the import solution look up the names for forms, views, workflows and security roles. 5.0.9690.583 N/A
MailboxStatisticsPersistenceTimeInDays 3 Number If value is 0, dont store ANY MailboxStatistics Data, if the value is greater than zero then store that number of days statistics data. Max value arbitrarily chosen at 1 year, this generates at lot of data so 1 year should be plenty of time 8.0.0.1088 N/A
MaximumChildUsersCountLimitBeforeUsingJoinForHSM 80 Number Maximum Child/Subordinate Users Count Before Using a Join Query for Heirarchical Security Model 7.0.0000.3027 N/A
MinRowCountForFKIndexCreateInReferencingEntity 100 Number Setting min row count in referencing table for ForeignKey index creation 7.0.0000.3027 N/A
MinRowCountForFKIndexCreateInReferencedEntity 100 Number Setting min row count in referenced table for ForeignKey index creation 7.0.0000.3027 N/A
OfficeDocumentPersistenceTimeInDays 7 Number The number of days to temporarily store Office Document Records. 30 days max was selected arbitrarily as this is only a cache. 7.1.0.1059 N/A
officeShellServiceTimeout 5 Int This setting controls the length, in seconds, that the browser will wait to render the Office Waffle within Dynamics 365. If there are issues with the Office Shell Service, it could impact the browser performance of Dynamics 365. 8.2.2.0101 N/A
OutlookClientEmailTaggerEnabled False Boolean here are 3 values for this Boolean setting - true, false, and NULL (which is the value when NOT set). True: Will override any and all client registry setting to True. False: Will override any and all client registry setting to False. NULL: If the setting is NULL the outlook clients will use whatever is in the registry of the client. TO SET THIS VALUE TO NULL YOU WILL NEED TO CLICK EDIT, THEN REMOVE THE VALUE TO HAVE IT DEFAULT TO NULL. 7.0.1.121 N/A
OutlookSyncDataSubscriptionClientsBatchSize 100 Number This setting is used to determine how many record changes (deletes, inserts, and updates) to send back to a syncing client for each request. 7.1.0.1059 N/A
OverrideTrackInCrmBehaviour 0 Int When this option is Enabled, the "Track in CRM" button functions as the Set Regarding button.

0 - Normal behavior of the "Track in CRM" button not having to set a Regarding record. 
 
1 - The "Track in CRM" button functions as the "Set Regarding" button, and makes you select a regarding record.
 
NOTE: This setting only applies to Dynamics 365 for Outlook (not Dynamics 365 App for Outlook).
5.0.9690.2720 N/A
OverrideV5SenderConflictResolution False Boolean When multiple records with the same email address exist in the Dynamics CRM Organization and email is automatically tracked, the email address is resolved to the record for the owner record that was created first. This option lets you override that functionality.

False - E-mails are tracked to the first record created.

True - E-mails are not tracked automatically if there are multiple records with the same email address.
5.0.9690.2243 N/A
PageSizeForHierarchyFeature 5 Number The hierarchy page size used for hierarchal security 7.0.0000.3027 N/A
ReassignAllExtendedTimeout 0 Number Increase script timeout for reassigning all records of a user or team - this allows you to exceed the default extended timeout value. Default extended timeout is 1000000 ms (roughly 15 minutes). WARNING: Care should be taken when increasing this value above the default - always double check the number of minutes before setting this to a value higher than the default 7.1.2.1020 N/A
RecordCountLimitToSwitchToCteSecuritySql 75000 Int For more information see the Optimizing the Performance of Queries against Large Datasets" section in the Optimizing and Maintaining the Performance of a Dynamics CRM 2011 Server Infrastructure. 5.0.9690.2720 N/A
RestrictIRMEmailItems False Boolean Setting value to TRUE will result in Server Side Sync NOT synchronizing ALL emails that are marked as IRM emails.

Default value is set to False to preserve the existing behavior.

To enable this restriction on the organization " RestrictIRMEmailItems " should be set to True.
8.2.2.0840 N/A
RetrieveMultipleSharingCountThreshold 1000 Int For more information, see the "Optimizing the Performance of Queries against Large Datasets section" in the Optimizing and Maintaining the Performance of a Dynamics CRM 2011 Server Infrastructure. 5.0.9690.2720 N/A
SecuritySettingForEmail 1 Number 1: Display a Warning Message And give an option to open - 2: Display a Warning Message and do not give an option to open -3: Do not display a Warning Message and do not give any option to open. This setting is NOT SUPPORTED IN CRM2013 as of build 809 5.0.9690.3731

6.1.0.581
N/A

N/A
SecurityQueryHint 1 Number Used to hint the query within GetRightsFromPrincipalObjectAccess. 0=None; 1=Recompile (default); 2=OptimizeForUnkown 8.1.0.141 N/A
SendEmailSynchronously 0 Int If you have a plugin registered on the email send flow, you should change this setting to "1." 

0 - Email is sent asynchronously.

1 - Email is sent synchronously.
5.0.9690.2720 N/A
SetRegardingLookupDefaultEntityType null String Changes default entity for Regarding Lookup Dialog. 5.0.9690.2835 N/A
SharingLimitForPOASnapshotTable 10 Int Not documented in optimization paper. 5.0.9690.2720 N/A
SkipGettingRecordCountForPaging False Boolean Disables the record count query. This query is responsible for retreiving the total number of records returned for each view. This query can cause longer search times and may cause SQL timeouts or exceptions.

False - Enables record depend on views.

True - Disables record depend on views.
5.0.9690.1992 N/A
SkipGettingRecordCountForPagingForAudit False Boolean Disabled the record count query for just the Audit entity. False enables the record count, and True disables the record count 8.2.0.0503 N/A
SkipSuffixOnKBArticles False Boolean Disables the suffix from being used on the automatically generated KB article numbers.

False - Enables the suffix on KB articles.

True - Disables the suffix on KB articles.
5.0.9690.1992 N/A
SortEmailByReceivedOn False Boolean When the Activities tab of the social pane is show, the data ordered by the 'modifiedon' date in descending order, toggling this setting to True will enable the social pane to sort emails by RecievedOn Desc instead of modifiedon 8.0.1.79 N/A
StoreOutlookSyncDataInSensitivityProperty True Boolean true:Preserve existing behavior.- false: Stop storing CRM Sync information in the PidTagSensitivity MAPI property which causes the error: error in the XML document on GetItem for IPM.MSCRMUserId on BlackerBerry Server Traces. 5.0.9690.3911

6.1.0.581

N/A

N/A

TabletClientMaxFields 75 Number Maximum Tablet Fields max-500/ min- 1 6.0.0.809 N/A
TabletClientMaxLists 10 Number Maximum Tablet Lists max-50/min-1 6.0.0.809 N/A
TabletClientMaxMashups 3 Number Maximum Tablet Mashups 7.0.0000.3027 N/A
TabletClientMaxTabs 5 Number Maximum Tablet Tabs max-50/min-1 6.0.0.809 N/A
TraceExchangeSyncData true Boolean Enables exchange sync tracing 6.0.0.809 N/A
traceLogPersistenceTimeInDays 30 Int This sets the amount of time that TraceLog data is maintained before being removed by the Deletion Service. 8.1.1.1020 N/A
TrackCategorizedItems False Boolean Setting value to TRUE will result in Server Side Sync creating a track to Dynamics category to be used for Exchange items.

Default value is set to False to preserve the existing behavior.
8.2.2.0840 N/A
UseCrmOrganizerForEmptyExchangeOrganizer False Boolean Use the CRM Organizer of an Appointment if the Exchange Organizer doesn't exist. 8.1.1.1020 N/A
UseOrganizationServiceForMultiEntityQuickFind False Boolean Allows Multi-entity Quick Find to run serially rather than in parallel. This allows plugins to be executed on RetrieveMultiple. 8.2.1.0135 N/A
UsePlainTextForEmailTemplateBody False Boolean Changes the Email Template to use plain text where otherwise text with the following symbols would not appear <text>. 5.0.9690.2720 N/A

VerboseErrorsOnPromoteToCRM

0 Int Enables verbose user error messaging when tracking items from Outlook to Dynamics CRM. By default, some error messages during the tracking are suppressed from being shown to the end-user, and this setting enables those errors to be shown.

0 - Disables the verbose errors.

1 - Enables the verbose errors.
5.0.9690.2165 N/A

 

 

More Information


An example on a onPremise configuration file:
 
<?xml version="1.0" encoding="utf-8" ?><configuration>    <configSections>        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >            <section name="OrgDBOrgSettingsTool.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />        </sectionGroup>    </configSections>    <applicationSettings>        <OrgDBOrgSettingsTool.Properties.Settings>            <setting name="OrgDBOrgSettingsTool_CrmService_CrmService" serializeAs="String">              <!--- Please change CrmServer to your Crm Server Name -->                <value>http://CRMServer:5555/MSCrmServices/2007/CrmService.asmx</value>            </setting>            <setting name="OrgDBOrgSettingsTool_CrmDiscoveryService_CrmDiscoveryService"                serializeAs="String">              <!--- Please change CrmServer to your Crm Server Name -->                <value>http://CRMServer:5555/XrmServices/2011/Discovery.svc</value>            </setting>            <setting name="OrgDBOrgSettingsTool_SKU" serializeAs="String">              <!--- Possible values here are Online/SPLA/OnPrem -->                <value>OnPrem</value>            </setting>            <setting name="OrgDBOrgSettingsTool_UserName" serializeAs="String">              <!--- Please change the value below to your email Id/User Name for Online / SPLA -->                <value>administrator</value>            </setting>          <setting name="OrgDBOrgSettingsTool_Domain" serializeAs="String">            <value>CONTOSO</value>          </setting>          <setting name="OrgDBOrgSettingsTool_OrgServiceUri" serializeAs="String">            <value>http://CRMServer:5555/{0}/XrmServices/2011/Organization.svc</value>          </setting>          <setting name="OrgDBOrgSettingsTool_RegistrationEndPointUri" serializeAs="String">            <value></value>          </setting>            <setting name="OrgDBOrgSettingsTool_Partner" serializeAs="String">              <!--- This is applicable only for Online -->                <value></value>            </setting>            <setting name="OrgDBOrgSettingsTool_Environment" serializeAs="String">              <!--- This is applicable only for Online -->                <value></value>            </setting>        </OrgDBOrgSettingsTool.Properties.Settings>    </applicationSettings></configuration>
An example on a onPremise IFD configuration file:
 
<?xml version="1.0" encoding="utf-8" ?><configuration>    <configSections>        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >            <section name="OrgDBOrgSettingsTool.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />        </sectionGroup>    </configSections>    <applicationSettings><OrgDBOrgSettingsTool.Properties.Settings>            <setting name="OrgDBOrgSettingsTool_CrmService_CrmService" serializeAs="String">              <!--- Please change CrmServer to your Crm Server Name -->               <value>https://org.domain.com:port/MSCrmServices/2007/CrmService.asmx</value>            </setting>           <setting name="OrgDBOrgSettingsTool_CrmDiscoveryService_CrmDiscoveryService"                serializeAs="String">              <!--- Please change CrmServer to your Crm Server Name -->                <value>https://dev.domain.com:port/XrmServices/2011/Discovery.svc</value>            </setting>            <setting name="OrgDBOrgSettingsTool_SKU" serializeAs="String">              <!--- Possible values here are Online/SPLA/OnPrem -->                <value>Online</value>            </setting>            <setting name="OrgDBOrgSettingsTool_UserName" serializeAs="String">              <!--- Please change the value below to your email Id/User Name for Online / SPLA -->                <value>crmadministrator@domain.com</value>            </setting>          <setting name="OrgDBOrgSettingsTool_Domain" serializeAs="String">            <value>domain.com</value>          </setting>          <setting name="OrgDBOrgSettingsTool_OrgServiceUri" serializeAs="String">            <value>https://org.domain.com:port/XrmServices/2011/Organization.svc</value>          </setting>          <setting name="OrgDBOrgSettingsTool_RegistrationEndPointUri" serializeAs="String">            <value>https://login.live.com/ppsecure/DeviceAddCredential.srf</value>          </setting>            <setting name="OrgDBOrgSettingsTool_Partner" serializeAs="String">              <!--- This is applicable only for Online -->                <value>Crm.Dynamics.com</value>            </setting>            <setting name="OrgDBOrgSettingsTool_Environment" serializeAs="String">              <!--- This is applicable only for Online -->                <value>INT</value>            </setting>        </OrgDBOrgSettingsTool.Properties.Settings>    </applicationSettings></configuration>


An example of a CRM Online configuration file:

 
<?xml version="1.0" encoding="utf-8" ?><configuration>    <configSections>        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >            <section name="OrgDBOrgSettingsTool.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />        </sectionGroup>    </configSections>    <applicationSettings>        <OrgDBOrgSettingsTool.Properties.Settings>            <setting name="OrgDBOrgSettingsTool_CrmService_CrmService" serializeAs="String">              <!--- Please change CrmServer to your Crm Server Name -->                <value>http://CrmServer/MSCrmServices/2007/CrmService.asmx</value>            </setting>            <setting name="OrgDBOrgSettingsTool_CrmDiscoveryService_CrmDiscoveryService"                serializeAs="String">                <value>https://disco.crm.dynamics.com/XrmServices/2011/Discovery.svc</value>            </setting>            <setting name="OrgDBOrgSettingsTool_SKU" serializeAs="String">              <!--- Possible values here are Online/Office365/SPLA/OnPrem -->                <value>Office365</value>            </setting>            <setting name="OrgDBOrgSettingsTool_UserName" serializeAs="String">              <!--- Please change the value below to your email Id/User Name for Online / SPLA -->                <value>username@contoso.onmicrosoft.com</value>            </setting>          <setting name="OrgDBOrgSettingsTool_Domain" serializeAs="String">            <value>crmdom</value>          </setting>          <setting name="OrgDBOrgSettingsTool_OrgServiceUri" serializeAs="String">            <value>https://{0}.crm.dynamics.com/XrmServices/2011/Organization.svc</value>          </setting>          <setting name="OrgDBOrgSettingsTool_RegistrationEndPointUri" serializeAs="String">            <value>https://login.live.com/ppsecure/DeviceAddCredential.srf</value>          </setting>            <setting name="OrgDBOrgSettingsTool_Partner" serializeAs="String">              <!--- This is applicable only for Online -->                <value>Crm.Dynamics.com</value>            </setting>            <setting name="OrgDBOrgSettingsTool_Environment" serializeAs="String">              <!--- This is applicable only for Online -->                <value></value>            </setting>        </OrgDBOrgSettingsTool.Properties.Settings>    </applicationSettings></configuration>