%3CLINGO-SUB%20id%3D%22lingo-sub-1525765%22%20slang%3D%22en-US%22%3EAssess%20an%20Enterprise%20With%20Data%20Migration%20Assistant%20(update)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1525765%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20latest%20version%20of%20the%20related%20article%2C%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fsql%252Fdma%252Fdma-consolidatereports%253Fview%253Dsql-server-2017%26amp%3Bdata%3D02%257C01%257CChris.Lound%2540microsoft.com%257C3626878a624149d97d0308d828ee5279%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637304351385948311%26amp%3Bsdata%3D42arI%252F%252BGG%252BtP4%252FqgNFtEAgbfqwyQ%252BvuJ4NB66j6f9lA%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAssess%20an%20enterprise%20and%20consolidate%20assessment%20reports%20with%20DMA%3C%2FA%3E%2C%20has%20been%20updated%20to%20include%20support%20for%20SQL%20Server%202019%20and%20Azure%20SQL%20Managed%20Instance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20refer%20to%20the%20technical%20documentation%20for%20the%20step-by-step%20instructions%20associated%20with%20completing%20this%20task.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1525765%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1775222%22%20slang%3D%22en-US%22%3ERe%3A%20Assess%20an%20Enterprise%20With%20Data%20Migration%20Assistant%20(update)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1775222%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20there%20seems%20to%20be%20a%20mismatch%20in%20the%20dimRules%20title%20values%20(line%20609%20%26amp%3B%26nbsp%3B%20742)%20of%20the%20createDMAWarehouse.psm1%20script%3A%20The%20title%20inserted%20into%20dimRules%20contains%20'autogrow'%2C%20this%20should%20be%20'autogrowth'%20(as%20recorded%20by%20the%20DMA)%20%2C%20failing%20the%20'LoadWareHouse%20script'%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsql%2Fdma%2Fdma-consolidatereports%3Fview%3Dsql-server-ver15%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Esource%20reference%3C%2FA%3E%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fgxcuf89792%2Fattachments%2Fgxcuf89792%2FMicrosoftDataMigration%2F161%2F3%2FLoadWarehouse1.zip%22%20target%3D%22_self%22%3Esource%20location%3C%2FA%3E%26nbsp%3B%26amp%3B%20referenced%20above)%20that%20populates%20the%20warehouse%20from%20the%20reportdata%20table%20(and%20left%20joins%20on%20RuleID%20%26amp%3B%20title).%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20fix%3A%26nbsp%3B%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3Eupdate%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3Bdimrules%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eset%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3Btitle%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E'Detected%26nbsp%3Bstatements%26nbsp%3Bthat%26nbsp%3Breference%26nbsp%3Bremoved%26nbsp%3Bsystem%26nbsp%3Bstored%26nbsp%3Bprocedures%26nbsp%3Bthat%26nbsp%3Bare%26nbsp%3Bnot%26nbsp%3Bavailable%26nbsp%3Bin%26nbsp%3Bdatabase%26nbsp%3Bcompatibility%26nbsp%3Blevel%26nbsp%3B110%26nbsp%3Band%26nbsp%3Bhigher.'%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Ewhere%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3Bruleid%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E'Microsoft.Rules.Data.Upgrade.UR00313'%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%3CBR%20%2F%3Eupdate%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%26nbsp%3Bdimrules%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3Eset%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%26nbsp%3Btitle%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%3D%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E'Turn%26nbsp%3Bon%26nbsp%3Bautogrowth%26nbsp%3Bfor%26nbsp%3Ball%26nbsp%3Bdata%26nbsp%3Band%26nbsp%3Blog%26nbsp%3Bfiles%26nbsp%3Bafter%26nbsp%3Bthe%26nbsp%3Bmigration%26nbsp%3Bis%26nbsp%3Bcompleted%26nbsp%3Bon%26nbsp%3Bthe%26nbsp%3Btarget%26nbsp%3Bserver.'%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CSPAN%3Ewhere%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3Btitle%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3E'Set%26nbsp%3Bautogrow%26nbsp%3Bis%26nbsp%3Bturned%26nbsp%3Bon%26nbsp%3Bfor%26nbsp%3Ball%26nbsp%3Bdata%26nbsp%3Band%26nbsp%3Blog%26nbsp%3Bfiles%26nbsp%3Bafter%26nbsp%3Bthe%26nbsp%3Bmigration%26nbsp%3Bis%26nbsp%3Bcompleted%26nbsp%3Bon%26nbsp%3Bthe%26nbsp%3Btarget%26nbsp%3Bserver.'%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%3E(don't%20use%20ruleid%20for%20this%20one%20since%20there%20are%202%20rows%20with%20ruleid%26nbsp%3B%3CSPAN%3E'Microsoft.Rules.Data.Upgrade.UR00003'%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CSTRONG%3EUpdate%3C%2FSTRONG%3E%3A%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EAn%20error%20in%26nbsp%3BcreateDMAWarehouse.psm1%20lines%20611%20%26amp%3B%20744%20prevent%20the%20creation%20of%20dimRules.%26nbsp%3B%3CBR%20%2F%3E%3CEM%3Eupdated%20code%20for%20611%3A%3C%2FEM%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%20class%3D%22jsx-1694289416%20diff-chunk%20diff-chunk-equal%22%3EINSERT%20INTO%20dimRules%20(RuleID%2C%20Title%2C%20Impact%2C%20Recommendation%2C%20MoreInfo%2C%20ChangeCategory)%20VALUES%20('Microsoft.Rules.Data.Upgrade.UR00003'%2C'Turn%20on%20autogrowth%20for%20all%20data%20and%20log%20files%20after%20the%20migration%20is%20completed%20on%20the%20target%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22jsx-1694289416%20diff-chunk%20diff-chunk-removed%22%3Eserver.'%2C'Assessment%3C%2FSPAN%3E%3CSPAN%20class%3D%22jsx-1694289416%20diff-chunk%20diff-chunk-equal%22%3E%20detected%20data%20or%20log%20files%20that%20are%20not%20set%20to%20autogrow%20on%20your%20source%20SQL%20Server.%20New%20and%20enhanced%20features%20require%20additional%20disk%20space%20for%20user%20databases%20and%20the%20tempdb%20system%20database.%20Consider%20enabling%20the%20auto%20grow%20setting%20for%20all%20data%20and%20log%20files%20on%20your%20target%20SQL%20Server%20instance%20after%20the%20migration%20is%20completed.%20While%20you%20still%20set%20autogrow%20ON%2C%20for%20a%20managed%20production%20system%2C%20you%20must%20consider%20autogrow%20to%20be%20merely%20a%20contingency%20for%20unexpected%20growth.%20Do%20not%20manage%20your%20data%20and%20log%20growth%20on%20a%20day-to-day%20basis%20with%20autogrow.'%2C'Verify%20autogrow%20is%20turned%20on%20for%20all%20data%20and%20log%20files%20during%20the%20upgrade%20process%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22jsx-1694289416%20diff-chunk%20diff-chunk-removed%22%3E-'%2C'%3CA%20href%3D%22https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D798526'%2C'BehaviorChange%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D798526'%2C'BehaviorChange%3C%2FA%3E')%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%3CEM%3EUpdate%20for%20line%20744%3A%3C%2FEM%3E%3C%2FDIV%3E%0A%3CDIV%3E%3CSPAN%20class%3D%22jsx-1694289416%20diff-chunk%20diff-chunk-equal%22%3EINSERT%20INTO%20dimRules%20(RuleID%2C%20Title%2C%20Impact%2C%20Recommendation%2C%20MoreInfo%2C%20ChangeCategory)%20VALUES%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22jsx-1694289416%20diff-chunk%20diff-chunk-removed%22%3E('Microsoft.Rules.Data.Upgrade.UR00313'%2C'Detected%20statements%20that%20reference%20removed%20system%20stored%20procedures%20that%20are%20not%20available%20in%20database%20compatibility%20level%20110%20and%20higher.'%2C'Deprecated%3C%2FSPAN%3E%3CSPAN%20class%3D%22jsx-1694289416%20diff-chunk%20diff-chunk-equal%22%3E%20functions%20are%20marked%20to%20be%20discontinued%20on%20next%20versions%20of%20SQL%20Server%2C%20should%20avoid%20their%20%3C%2FSPAN%3E%3CSPAN%20class%3D%22jsx-1694289416%20diff-chunk%20diff-chunk-removed%22%3Euses.'%2C'%3CA%20href%3D%22http%3A%2F%2Fmsdn.microsoft.com%2Fpt-br%2Flibrary%2Fms187365.aspx'%2C'http%3A%2F%2Fmsdn.microsoft.com%2Fpt-br%2Flibrary%2Fms186838.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fmsdn.microsoft.com%2Fpt-br%2Flibrary%2Fms187365.aspx'%2C'http%3A%2F%2Fmsdn.microsoft.com%2Fpt-br%2Flibrary%2Fms186838.aspx%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22jsx-1694289416%20diff-chunk%20diff-chunk-equal%22%3E%20%3CA%20href%3D%22http%3A%2F%2Fmsdn.microsoft.com%2Fpt-br%2Flibrary%2Fms189466.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fmsdn.microsoft.com%2Fpt-br%2Flibrary%2Fms189466.aspx%3C%2FA%3E%20'%2C'Not%20Provided')%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CP%3EThanks%2C%26nbsp%3B%3CBR%20%2F%3EJeroen%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200in%3B%20font-family%3A%20Calibri%3B%20font-size%3A%2011.0pt%3B%22%20lang%3D%22en-US%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

The latest version of the related article, Assess an enterprise and consolidate assessment reports with DMA, has been updated to include support for SQL Server 2019 and Azure SQL Managed Instance.

 

Please refer to the technical documentation for the step-by-step instructions associated with completing this task.

1 Comment
Microsoft

Hello, there seems to be a mismatch in the dimRules title values (line 609 &  742) of the createDMAWarehouse.psm1 script: The title inserted into dimRules contains 'autogrow', this should be 'autogrowth' (as recorded by the DMA) , failing the 'LoadWareHouse script' (source reference, source location & referenced above) that populates the warehouse from the reportdata table (and left joins on RuleID & title). 

 

To fix: 

update dimrules set title = 'Detected statements that reference removed system stored procedures that are not available in database compatibility level 110 and higher.' where ruleid = 'Microsoft.Rules.Data.Upgrade.UR00313' 

update
 dimrules set title = 'Turn on autogrowth for all data and log files after the migration is completed on the target server.'
where title ='Set autogrow is turned on for all data and log files after the migration is completed on the target server.' 
(don't use ruleid for this one since there are 2 rows with ruleid 'Microsoft.Rules.Data.Upgrade.UR00003'
 
Update
An error in createDMAWarehouse.psm1 lines 611 & 744 prevent the creation of dimRules. 
updated code for 611:
INSERT INTO dimRules (RuleID, Title, Impact, Recommendation, MoreInfo, ChangeCategory) VALUES ('Microsoft.Rules.Data.Upgrade.UR00003','Turn on autogrowth for all data and log files after the migration is completed on the target server.','Assessment detected data or log files that are not set to autogrow on your source SQL Server. New and enhanced features require additional disk space for user databases and the tempdb system database. Consider enabling the auto grow setting for all data and log files on your target SQL Server instance after the migration is completed. While you still set autogrow ON, for a managed production system, you must consider autogrow to be merely a contingency for unexpected growth. Do not manage your data and log growth on a day-to-day basis with autogrow.','Verify autogrow is turned on for all data and log files during the upgrade process -','https://go.microsoft.com/fwlink/?LinkId=798526','BehaviorChange')
 
Update for line 744:
INSERT INTO dimRules (RuleID, Title, Impact, Recommendation, MoreInfo, ChangeCategory) VALUES ('Microsoft.Rules.Data.Upgrade.UR00313','Detected statements that reference removed system stored procedures that are not available in database compatibility level 110 and higher.','Deprecated functions are marked to be discontinued on next versions of SQL Server, should avoid their uses.','http://msdn.microsoft.com/pt-br/library/ms187365.aspx','http://msdn.microsoft.com/pt-br/library/ms18... http://msdn.microsoft.com/pt-br/library/ms189466.aspx ','Not Provided')

Thanks, 
Jeroen