Skip to main content

XrmToolBox: AutoNumberUpdater - new StateCode filter

CRM 2013: Update Organization ID of a copied instance

Today I had an issue at the customer side when we tried to add a second CRM instance to the CRM 2013 Outlook Client. The second instance was a database copy of the original CRM instance which we planned to use as our Test (Q) system.

But as soon as we tried to test the connection to the Q instance we got the following error message:
Cannot find any organizations on the server. Try entering the URL again. If the problem persists, contact your system administrator.

The issue with copy instances is that the Organization ID of the OrganizationBase table will always stay the same, no matter if you import the instance with the Import function of the deployment manager.

The solution is an unsupported SQL script that can update all references to the organization id as well as id itself. Thanks to frenkie smart who posted a brilliant script for the old CRM 2011 version and which you can find here.

I modified the script so that it will copy the OrganizationBase entry with all the new columns that CRM 2013 offers.

I tried the script and so far it is working fine! And the customer is now able to have both instances Q and P in one Outlook CRM Client. SWEET!

DECLARE @OldOrganizationId uniqueidentifier, @NewOrganizationId uniqueidentifier

-- The Old OrganizationId

  SET @OldOrganizationId = (SELECT TOP(1) OrganizationId FROM OrganizationBase)

-- The New OrganizationId

  SET @NewOrganizationId = (SELECT NEWID())

--PRINT @OldOrganizationId   --PRINT @NewOrganizationId
-- Table with all Found Columns with the OrganizationId

  DECLARE @FoundOrganizationIds TABLE (Id bigint identity(1,1), TableName nvarchar(max), ColumnName nvarchar(max), ColumnValue nvarchar(max))
 
 
-- Table with all uniqueidentifier Columns in the Database

  DECLARE  @FoundUniqueIdentifierColumns TABLE(Id bigint identity(1,1), TableName nvarchar(max), ColumnName nvarchar(max))
 
 
-- Search for all uniqueidentifier Columns in the Database   INSERT INTO @FoundUniqueIdentifierColumns
 
SELECT
   
col.TABLE_NAME, col.COLUMN_NAME
 
FROM
  
INFORMATION_SCHEMA.TABLES tbl INNER JOIN
  
INFORMATION_SCHEMA.COLUMNS col ON tbl.TABLE_NAME = col.TABLE_NAME
 
WHERE
  
tbl.TABLE_TYPE = 'BASE TABLE' AND
  
col.DATA_TYPE IN ('uniqueidentifier')

DECLARE @ColumnCount bigint
 
SET @ColumnCount = (SELECT COUNT(*) FROM @FoundUniqueIdentifierColumns)
 
-- PRINT CAST(@ColumnCount as nvarchar) 
 
DECLARE @Iterator bigint
 
SET @Iterator = 1
 
 
-- Look through all found uniqueidentifier for the Old OrganizationId Columns and Save the TableName/ColumnName in @FoundOrganizationIds

  WHILE @Iterator <= @ColumnCount
  
BEGIN
   
DECLARE @execsql nvarchar(max)
   
DECLARE @TableName nvarchar(max)
   
DECLARE @ColumnName nvarchar(max)
   
   
SET @TableName = (SELECT TableName FROM @FoundUniqueIdentifierColumns WHERE Id = @Iterator)
   
SET @ColumnName = (SELECT ColumnName FROM @FoundUniqueIdentifierColumns WHERE Id = @Iterator)
   
   
--PRINT(@TableName)    --PRINT(@@ColumnName)   
   
SET @execsql = 'SELECT DISTINCT ' + CHAR(39) + @TableName + CHAR(39) + ','
   
SET @execsql = @execsql + CHAR(39) + @ColumnName + CHAR(39) + ','
   
SET @execsql = @execsql + @ColumnName
   
SET @execsql = @execsql + ' FROM '
   
SET @execsql = @execsql + @TableName
   
SET @execsql = @execsql + ' WHERE '
   
SET @execsql = @execsql + @ColumnName
   
SET @execsql = @execsql + ' = ' + CHAR(39) + CAST(@OldOrganizationId as varchar(50)) + CHAR(39)
   
   
INSERT INTO @FoundOrganizationIds (TableName, ColumnName, ColumnValue)
   
-- PRINT (@execsql)    EXEC (@execsql)
   
   
SET @Iterator = @Iterator + 1  
  
END

-- SELECT * FROM @FoundOrganizationIds
DECLARE @ColumnIterator bigint, @ColumnTotal bigint
 
SET @ColumnIterator = 1
 
SET @ColumnTotal = (SELECT COUNT(id) FROM @FoundOrganizationIds)
 
 
PRINT (@ColumnTotal)
 
 
-- INSERT New Organization in the OrganizationTable with the new OrganizationId (Copy of the Old Organization but with the new Id)

  INSERT INTO [dbo].[OrganizationBase]
           
([OrganizationId]
          
,[Name]
          
,[UserGroupId]
          
,[PrivilegeUserGroupId]
          
,[FiscalPeriodType]
          
,[FiscalCalendarStart]
          
,[DateFormatCode]
          
,[TimeFormatCode]
          
,[CurrencySymbol]
          
,[WeekStartDayCode]
          
,[DateSeparator]
          
,[FullNameConventionCode]
          
,[NegativeFormatCode]
          
,[NumberFormat]
          
,[IsDisabled]
          
,[DisabledReason]
          
,[KbPrefix]
          
,[CurrentKbNumber]
          
,[CasePrefix]
          
,[CurrentCaseNumber]
          
,[ContractPrefix]
          
,[CurrentContractNumber]
          
,[QuotePrefix]
          
,[CurrentQuoteNumber]
          
,[OrderPrefix]
          
,[CurrentOrderNumber]
          
,[InvoicePrefix]
          
,[CurrentInvoiceNumber]
          
,[UniqueSpecifierLength]
          
,[CreatedOn]
          
,[ModifiedOn]
          
,[FiscalYearFormat]
          
,[FiscalPeriodFormat]
          
,[FiscalYearPeriodConnect]
          
,[LanguageCode]
          
,[SortId]
          
,[DateFormatString]
          
,[TimeFormatString]
          
,[PricingDecimalPrecision]
          
,[ShowWeekNumber]
          
,[NextTrackingNumber]
          
,[TagMaxAggressiveCycles]
          
,[TokenKey]
          
,[SystemUserId]
          
,[CreatedBy]
          
,[GrantAccessToNetworkService]
          
,[AllowOutlookScheduledSyncs]
          
,[AllowMarketingEmailExecution]
          
,[SqlAccessGroupId]
          
,[CurrencyFormatCode]
          
,[FiscalSettingsUpdated]
          
,[ReportingGroupId]
          
,[TokenExpiry]
          
,[ShareToPreviousOwnerOnAssign]
          
,[AcknowledgementTemplateId]
          
,[ModifiedBy]
          
,[IntegrationUserId]
          
,[TrackingTokenIdBase]
          
,[BusinessClosureCalendarId]
          
,[AllowAutoUnsubscribeAcknowledgement]
          
,[AllowAutoUnsubscribe]
          
,[Picture]
          
,[TrackingPrefix]
          
,[MinOutlookSyncInterval]
          
,[BulkOperationPrefix]
          
,[AllowAutoResponseCreation]
          
,[MaximumTrackingNumber]
          
,[CampaignPrefix]
          
,[SqlAccessGroupName]
          
,[CurrentCampaignNumber]
          
,[FiscalYearDisplayCode]
          
,[SiteMapXml]
          
,[IsRegistered]
          
,[ReportingGroupName]
          
,[CurrentBulkOperationNumber]
          
,[SchemaNamePrefix]
          
,[IgnoreInternalEmail]
          
,[TagPollingPeriod]
          
,[TrackingTokenIdDigits]
          
,[NumberGroupFormat]
          
,[LongDateFormatCode]
          
,[UTCConversionTimeZoneCode]
          
,[TimeZoneRuleVersionNumber]
          
,[CurrentImportSequenceNumber]
          
,[ParsedTablePrefix]
          
,[V3CalloutConfigHash]
          
,[IsFiscalPeriodMonthBased]
          
,[LocaleId]
          
,[ParsedTableColumnPrefix]
          
,[SupportUserId]
          
,[AMDesignator]
          
,[CurrencyDisplayOption]
          
,[MinAddressBookSyncInterval]
          
,[IsDuplicateDetectionEnabledForOnlineCreateUpdate]
          
,[FeatureSet]
          
,[BlockedAttachments]
          
,[IsDuplicateDetectionEnabledForOfflineSync]
          
,[AllowOfflineScheduledSyncs]
          
,[AllowUnresolvedPartiesOnEmailSend]
          
,[TimeSeparator]
          
,[CurrentParsedTableNumber]
          
,[MinOfflineSyncInterval]
          
,[AllowWebExcelExport]
          
,[ReferenceSiteMapXml]
          
,[IsDuplicateDetectionEnabledForImport]
          
,[CalendarType]
          
,[SQMEnabled]
          
,[NegativeCurrencyFormatCode]
          
,[AllowAddressBookSyncs]
          
,[ISVIntegrationCode]
          
,[DecimalSymbol]
          
,[MaxUploadFileSize]
          
,[IsAppMode]
          
,[EnablePricingOnCreate]
          
,[IsSOPIntegrationEnabled]
          
,[PMDesignator]
          
,[CurrencyDecimalPrecision]
          
,[MaxAppointmentDurationDays]
          
,[EmailSendPollingPeriod]
          
,[RenderSecureIFrameForEmail]
          
,[NumberSeparator]
          
,[PrivReportingGroupId]
          
,[BaseCurrencyId]
          
,[MaxRecordsForExportToExcel]
          
,[PrivReportingGroupName]
          
,[YearStartWeekCode]
          
,[IsPresenceEnabled]
          
,[IsDuplicateDetectionEnabled]
          
,[DefaultRecurrenceEndRangeType]
          
,[InitialVersion]
          
,[HashFilterKeywords]
          
,[RecurrenceDefaultNumberOfOccurrences]
          
,[HashMinAddressCount]
          
,[AllowClientMessageBarAd]
          
,[ModifiedOnBehalfBy]
          
,[RequireApprovalForQueueEmail]
          
,[AllowEntityOnlyAudit]
          
,[RequireApprovalForUserEmail]
          
,[RecurrenceExpansionSynchCreateMax]
          
,[IsAuditEnabled]
          
,[GoalRollupExpiryTime]
          
,[BaseCurrencyPrecision]
          
,[FutureExpansionWindow]
          
,[FiscalPeriodFormatPeriod]
          
,[BaseISOCurrencyCode]
          
,[NextCustomObjectTypeCode]
          
,[ExpireSubscriptionsInDays]
          
,[OrgDbOrgSettings]
          
,[PastExpansionWindow]
          
,[EnableSmartMatching]
          
,[MaxRecordsForLookupFilters]
          
,[HashMaxCount]
          
,[ReportScriptErrors]
          
,[RecurrenceExpansionJobBatchSize]
          
,[GetStartedPaneContentEnabled]
          
,[SampleDataImportId]
          
,[PinpointLanguageCode]
          
,[CreatedOnBehalfBy]
          
,[HashDeltaSubjectCount]
          
,[GoalRollupFrequency]
          
,[FiscalYearFormatYear]
          
,[FiscalYearFormatPrefix]
          
,[BaseCurrencySymbol]
          
,[RecurrenceExpansionJobBatchInterval]
          
,[FiscalYearFormatSuffix]
          
,[IsUserAccessAuditEnabled]
          
,[UserAccessAuditingInterval]
          
,[AllowUserFormModePreference]
          
,[YammerGroupId]
          
,[IsDefaultCountryCodeCheckEnabled]
          
,[MetadataSyncLastTimeOfNeverExpiredDeletedObjects]
          
,[QuickFindRecordLimitEnabled]
          
,[YammerOAuthAccessTokenExpired]
          
,[UseSkypeProtocol]
          
,[DefaultCountryCode]
          
,[MetadataSyncTimestamp]
          
,[YammerNetworkPermalink]
          
,[YammerPostMethod]
          
,[UseReadForm]
          
,[EnableBingMapsIntegration]
          
,[MaximumActiveBusinessProcessFlowsAllowedPerEntity]
          
,[IncomingEmailExchangeEmailRetrievalBatchSize]
          
,[NotifyMailboxOwnerOfEmailServerLevelAlerts]
          
,[DefaultEmailServerProfileId]
          
,[GenerateAlertsForErrors]
          
,[EmailCorrelationEnabled]
          
,[IsAutoSaveEnabled]
          
,[DefaultEmailSettings]
          
,[EntityImageId]
          
,[EmailConnectionChannel]
          
,[BingMapsApiKey]
          
,[GenerateAlertsForInformation]
          
,[GenerateAlertsForWarnings]
          
,[AllowUsersSeeAppdownloadMessage]
          
,[SignupOutlookDownloadFWLink])
 
SELECT
     @
NewOrganizationId,
    
[Name]
     
,[UserGroupId]
     
,[PrivilegeUserGroupId]
     
,[FiscalPeriodType]
     
,[FiscalCalendarStart]
     
,[DateFormatCode]
     
,[TimeFormatCode]
     
,[CurrencySymbol]
     
,[WeekStartDayCode]
     
,[DateSeparator]
     
,[FullNameConventionCode]
     
,[NegativeFormatCode]
     
,[NumberFormat]
     
,[IsDisabled]
     
,[DisabledReason]
     
,[KbPrefix]
     
,[CurrentKbNumber]
     
,[CasePrefix]
     
,[CurrentCaseNumber]
     
,[ContractPrefix]
     
,[CurrentContractNumber]
     
,[QuotePrefix]
     
,[CurrentQuoteNumber]
     
,[OrderPrefix]
     
,[CurrentOrderNumber]
     
,[InvoicePrefix]
     
,[CurrentInvoiceNumber]
     
,[UniqueSpecifierLength]
     
,[CreatedOn]
     
,[ModifiedOn]
     
,[FiscalYearFormat]
     
,[FiscalPeriodFormat]
     
,[FiscalYearPeriodConnect]
     
,[LanguageCode]
     
,[SortId]
     
,[DateFormatString]
     
,[TimeFormatString]
     
,[PricingDecimalPrecision]
     
,[ShowWeekNumber]
     
,[NextTrackingNumber]
     
,[TagMaxAggressiveCycles]
     
,[TokenKey]
     
,[SystemUserId]
     
,[CreatedBy]
     
,[GrantAccessToNetworkService]
     
,[AllowOutlookScheduledSyncs]
     
,[AllowMarketingEmailExecution]
     
,[SqlAccessGroupId]
     
,[CurrencyFormatCode]
     
,[FiscalSettingsUpdated]
     
,[ReportingGroupId]
     
,[TokenExpiry]
     
,[ShareToPreviousOwnerOnAssign]
     
,[AcknowledgementTemplateId]
     
,[ModifiedBy]
     
,[IntegrationUserId]
     
,[TrackingTokenIdBase]
     
,[BusinessClosureCalendarId]
     
,[AllowAutoUnsubscribeAcknowledgement]
     
,[AllowAutoUnsubscribe]
     
,[Picture]
     
,[TrackingPrefix]
     
,[MinOutlookSyncInterval]
     
,[BulkOperationPrefix]
     
,[AllowAutoResponseCreation]
     
,[MaximumTrackingNumber]
     
,[CampaignPrefix]
     
,[SqlAccessGroupName]
     
,[CurrentCampaignNumber]
     
,[FiscalYearDisplayCode]
     
,[SiteMapXml]
     
,[IsRegistered]
     
,[ReportingGroupName]
     
,[CurrentBulkOperationNumber]
     
,[SchemaNamePrefix]
     
,[IgnoreInternalEmail]
     
,[TagPollingPeriod]
     
,[TrackingTokenIdDigits]
     
,[NumberGroupFormat]
     
,[LongDateFormatCode]
     
,[UTCConversionTimeZoneCode]
     
,[TimeZoneRuleVersionNumber]
     
,[CurrentImportSequenceNumber]
     
,[ParsedTablePrefix]
     
,[V3CalloutConfigHash]
     
,[IsFiscalPeriodMonthBased]
     
,[LocaleId]
     
,[ParsedTableColumnPrefix]
     
,[SupportUserId]
     
,[AMDesignator]
     
,[CurrencyDisplayOption]
     
,[MinAddressBookSyncInterval]
     
,[IsDuplicateDetectionEnabledForOnlineCreateUpdate]
     
,[FeatureSet]
     
,[BlockedAttachments]
     
,[IsDuplicateDetectionEnabledForOfflineSync]
     
,[AllowOfflineScheduledSyncs]
     
,[AllowUnresolvedPartiesOnEmailSend]
     
,[TimeSeparator]
     
,[CurrentParsedTableNumber]
     
,[MinOfflineSyncInterval]
     
,[AllowWebExcelExport]
     
,[ReferenceSiteMapXml]
     
,[IsDuplicateDetectionEnabledForImport]
     
,[CalendarType]
     
,[SQMEnabled]
     
,[NegativeCurrencyFormatCode]
     
,[AllowAddressBookSyncs]
     
,[ISVIntegrationCode]
     
,[DecimalSymbol]
     
,[MaxUploadFileSize]
     
,[IsAppMode]
     
,[EnablePricingOnCreate]
     
,[IsSOPIntegrationEnabled]
     
,[PMDesignator]
     
,[CurrencyDecimalPrecision]
     
,[MaxAppointmentDurationDays]
     
,[EmailSendPollingPeriod]
     
,[RenderSecureIFrameForEmail]
     
,[NumberSeparator]
     
,[PrivReportingGroupId]
     
,[BaseCurrencyId]
     
,[MaxRecordsForExportToExcel]
     
,[PrivReportingGroupName]
     
,[YearStartWeekCode]
     
,[IsPresenceEnabled]
     
,[IsDuplicateDetectionEnabled]
     
,[DefaultRecurrenceEndRangeType]
     
,[InitialVersion]
     
,[HashFilterKeywords]
     
,[RecurrenceDefaultNumberOfOccurrences]
     
,[HashMinAddressCount]
     
,[AllowClientMessageBarAd]
     
,[ModifiedOnBehalfBy]
     
,[RequireApprovalForQueueEmail]
     
,[AllowEntityOnlyAudit]
     
,[RequireApprovalForUserEmail]
     
,[RecurrenceExpansionSynchCreateMax]
     
,[IsAuditEnabled]
     
,[GoalRollupExpiryTime]
     
,[BaseCurrencyPrecision]
     
,[FutureExpansionWindow]
     
,[FiscalPeriodFormatPeriod]
     
,[BaseISOCurrencyCode]
     
,[NextCustomObjectTypeCode]
     
,[ExpireSubscriptionsInDays]
     
,[OrgDbOrgSettings]
     
,[PastExpansionWindow]
     
,[EnableSmartMatching]
     
,[MaxRecordsForLookupFilters]
     
,[HashMaxCount]
     
,[ReportScriptErrors]
     
,[RecurrenceExpansionJobBatchSize]
     
,[GetStartedPaneContentEnabled]
     
,[SampleDataImportId]
     
,[PinpointLanguageCode]
     
,[CreatedOnBehalfBy]
     
,[HashDeltaSubjectCount]
     
,[GoalRollupFrequency]
     
,[FiscalYearFormatYear]
     
,[FiscalYearFormatPrefix]
     
,[BaseCurrencySymbol]
     
,[RecurrenceExpansionJobBatchInterval]
     
,[FiscalYearFormatSuffix]
     
,[IsUserAccessAuditEnabled]
     
,[UserAccessAuditingInterval]
     
,[AllowUserFormModePreference]
     
,[YammerGroupId]
     
,[IsDefaultCountryCodeCheckEnabled]
     
,[MetadataSyncLastTimeOfNeverExpiredDeletedObjects]
     
,[QuickFindRecordLimitEnabled]
     
,[YammerOAuthAccessTokenExpired]
     
,[UseSkypeProtocol]
     
,[DefaultCountryCode]
     
,[MetadataSyncTimestamp]
     
,[YammerNetworkPermalink]
     
,[YammerPostMethod]
     
,[UseReadForm]
     
,[EnableBingMapsIntegration]
     
,[MaximumActiveBusinessProcessFlowsAllowedPerEntity]
     
,[IncomingEmailExchangeEmailRetrievalBatchSize]
     
,[NotifyMailboxOwnerOfEmailServerLevelAlerts]
     
,[DefaultEmailServerProfileId]
     
,[GenerateAlertsForErrors]
     
,[EmailCorrelationEnabled]
     
,[IsAutoSaveEnabled]
     
,[DefaultEmailSettings]
     
,[EntityImageId]
     
,[EmailConnectionChannel]
     
,[BingMapsApiKey]
     
,[GenerateAlertsForInformation]
     
,[GenerateAlertsForWarnings]
     
,[AllowUsersSeeAppdownloadMessage]
     
,[SignupOutlookDownloadFWLink]
  
FROM
  
[dbo].[OrganizationBase]
  
WHERE
  
OrganizationId = @OldOrganizationId
  
 
-- Loop through the Found Columns and Update them with the new OrganizationId

  WHILE @ColumnIterator <= @ColumnTotal
  
BEGIN
   
DECLARE @CurrentTable nvarchar(max)
   
DECLARE @CurrentColumn nvarchar(max)
   
   
SET @CurrentTable = (SELECT TableName FROM @FoundOrganizationIds WHERE Id = @ColumnIterator)
   
SET @CurrentColumn = (SELECT ColumnName FROM @FoundOrganizationIds WHERE Id = @ColumnIterator)
   
   
--PRINT (@CurrentTable)    --PRINT (@CurrentColumn)   
   
-- Skip the OrganizationBase table now, since we have allready added the new OrganizationId

     IF @CurrentTable <> 'OrganizationBase'
    
BEGIN
     
DECLARE @UpdateScript nvarchar(max)
     
SET @UpdateScript = ' UPDATE ' + @CurrentTable + ' SET ' + @CurrentColumn + ' = ' + CHAR(39) + CAST(@NewOrganizationId as varchar(50)) + CHAR(39) + ' WHERE ' + @CurrentColumn + ' = ' + CHAR(39) + CAST(@OldOrganizationId as varchar(50))+ CHAR(39)
     
-- PRINT (@UpdateScript)      EXEC (@UpdateScript)
    
END
   
SET @ColumnIterator = @ColumnIterator + 1
  
END
 
 
-- Delete the Old Organization from the OrganizationBase

  DELETE FROM OrganizationBase WHERE OrganizationId = @OldOrganizationId

Comments

Popular posts from this blog

Yet Another Address Autocomplete PCF Control–powered by Bing

In this blog post I will not go into detail in how to install all the pre-requisites that are required to build and run PCF controls. My goal was to build a new PCF control and get into coding of PCF controls as fast as possible. Here are a few links to articles that will help you installing the pre-requisites (Microsoft PowerApps CLI)  https://docs.microsoft.com/en-us/powerapps/developer/component-framework/get-powerapps-cli Other good references to get into this topic: https://toddbaginski.com/blog/how-to-create-a-powerapps-pcf-control/ https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf I looked through the Guido Preite’s https://pcf.gallery/ which will help you find appropriate use cases / examples for your own needs. It did not take very long to find a simple example to start with: Andrew Butenko's https://pcf.gallery/address-autocomplete/ A few moments later I had the idea to create yet another address autocomplete...

Regarding SPFieldMultiLineText (Add HTML/URL content to a field) programmatically

I recently tried so set some HTML content in a SharePoint list column of type SPFieldMultiLineText. My first approach was this piece of code: SPFieldMultiLineText field = item.Fields.GetFieldByInternalName( "Associated Documents" ) as SPFieldMultiLineText; StringBuilder docList = new StringBuilder(); docList.Append( " " ); foreach (DataRow docRow in addDocs) { DataRow[] parent = dr.Table.DataSet.Tables[0].Select( "DOK_ID=" + docRow[ "DOK_MGD_ID" ].ToString()); if (parent != null && parent.Length > 0) { docList.AppendFormat( " {1} " , parent[0][ "FilePath" ].ToString(), parent[0][ "Title" ].ToString()); } } if (docList.Length > 0) { // remove trailing tag docList.Remove(docList.Length-5, 5); } docList.Append( " " ); string newValue = docList.ToString(); item[field.Title] = newValue; What this code does is to get all associated documents to the main document and to add these docu...

XrmToolBox: AutoNumberUpdater - new StateCode filter

Mayank Pujara's AutoNumberUpdater plugin for the XrmToolBox is a great tool to add missing auto number values to an auto number field for an entity/table. In his blog you can find more details about the original version of his plugin: https://mayankp.wordpress.com/2021/12/09/xrmtoolbox-autonumberupdater-new-tool/ For my purposes I had to update accounts with missing account numbers, but in my use case this should only be done for those accounts that have the status value "Active".   As this plugin did not have this feature I quickly implemented it and Mayank merged my changes to his plugin source code. You can download the new version 1.2024.0.1 in the Tool Library of the XrmToolBox.