%3CLINGO-SUB%20id%3D%22lingo-sub-1416117%22%20slang%3D%22en-US%22%3ERe%3A%20Mastering%20Configuration%20Manager%20Patch%20Compliance%20Reporting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1416117%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Jonas%2C%20impressive%20article%20and%20a%20great%20solution%20with%20a%20lot%20of%20useful%20information.%20Thanks%20for%20putting%20it%20together!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1417149%22%20slang%3D%22en-US%22%3ERe%3A%20Mastering%20Configuration%20Manager%20Patch%20Compliance%20Reporting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1417149%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F268468%22%20target%3D%22_blank%22%3E%40jonasoh%3C%2FA%3E%26nbsp%3Bfor%20the%20Awesome%20blogpost%20for%20the%20Community%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fcool_40x40.gif%22%20alt%3D%22%3Acool%3A%22%20title%3D%22%3Acool%3A%22%20%2F%3E%3C%2FP%3E%0A%3CP%3EI%20have%20Shared%20it%20on%20my%20Social%20media%20Channels%20%3B)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415088%22%20slang%3D%22en-US%22%3EMastering%20Configuration%20Manager%20Patch%20Compliance%20Reporting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415088%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3EHi%2C%20Jonas%20here!%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOr%20as%20we%20say%20in%20the%20north%20of%20Germany%3A%26nbsp%3B%3CSTRONG%3E%22%3CSPAN%3EMoin%3C%2FSPAN%3E%20%3CSPAN%3EMoin%3C%2FSPAN%3E!%22%3C%2FSTRONG%3E%3CBR%20%2F%3EI%20am%20a%20Microsoft%20Premier%20Field%20Engineer%20(PFE)%20and%20a%20while%20back%20(years%20in%20fact)%20I%20was%20asked%20to%20analyze%20the%20update%20compliance%20status%20of%20a%20SCCM%2F%3CSPAN%3EConfigMgr%3C%2FSPAN%3E%2FMECM%20environment.%20I%20will%20use%20the%20current%20name%3A%20%22Microsoft%20Endpoint%20Configuration%20Manager%22%20(MECM)%20in%20the%20rest%20of%20the%20blog.%3CBR%20%2F%3EI%20used%20different%20reports%20to%20look%20for%20clients%20not%20installing%20the%20necessary%20updates%2C%20but%20it%20was%20time%20consuming%20and%20I%20was%20missing%20a%20general%20overview%20with%20some%20meaningful%20KPIs.%20I%20ended%20up%20with%20a%20comprehensive%20SQL%20query%20and%20an%20Excel%20sheet%2C%20but%20changed%20that%20to%20a%20SQL%20Server%20Reporting%20Services%20(SSRS)%20report%20and%20made%20that%20available%20to%20several%20departments%20in%20the%20organization.%3CBR%20%2F%3EAs%20mentioned%20before%2C%20it's%20been%20a%20while%20since%20I%20created%20the%20report%20and%20if%20I%20would%20start%20now%20it%20would%20be%20a%20%3CSPAN%3EPowerBI%3C%2FSPAN%3E%20version%20or%20I%20would%20simply%20grab%20one%20of%20the%20%3CSPAN%3EPowerBI%3C%2FSPAN%3E%20reports%20available%20right%20now%2C%20but%20since%20I%20still%20use%20the%20report%20and%20find%20it%20quite%20helpful%2C%20I%20decided%20to%20share%20that%20with%20the%20rest%20of%20the%20world.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSTRONG%3ETL%3BDR%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20following%20report%20should%20help%20you%20identify%20update%20problems%20within%20a%20specific%20collection%20and%20a%20group%20of%20systems%20and%20is%20designed%20to%20work%20well%20for%20a%20few%20thousand%20clients.%20The%20query%20might%20run%20longer%20in%20bigger%20environments%20and%20you%20might%20need%20to%20improve%20it%20or%20run%20it%20not%20within%20business%20hours%20to%20show%20results.%3CBR%20%2F%3EThe%20installation%20guide%20for%20the%20custom%20update%20reporting%20can%20be%20found%20at%20the%20end%20of%20this%20post%20but%20you%20should%20at%20least%20start%20with%20the%20%22Some%20key%20facts%20and%20prerequisites%22%20section.%3CBR%20%2F%3EIf%20you're%20just%20looking%20for%20the%20SQL%20statement%20behind%20the%20report%2C%20copy%20the%20query%20from%20the%20%22%3CSPAN%3EUpdatesSummary.rsd%3C%2FSPAN%3E%22%20file%20and%20use%20it%20in%20SQL%20directly.%3CBR%20%2F%3EThe%20whole%20solution%20can%20be%20found%20on%20GitHub%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fjonasatgit%2Fupdatereporting%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fjonasatgit%2Fupdatereporting%3C%2FA%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3EFeel%20free%20to%20improve%20the%20SQL%20queries%20or%20some%20of%20the%20reports%20on%20%3CSPAN%3EGithub%3C%2FSPAN%3E.%20%3CBR%20%2F%3EIf%20you%20are%20a%20Premier%20customer%20and%20if%20you%20are%20looking%20for%20a%20more%20complete%20reporting%20solution%2C%20ask%20your%20Microsoft%20contact%20about%20the%20followig%20offerings%3A%3CBR%20%2F%3E%22Microsoft%20Endpoint%20Configuration%20Manager%3A%20Advanced%20Dashboards%22%3CBR%20%2F%3E%22Microsoft%20Endpoint%20Manager%3A%20PowerBI%20Dashboard%20Integration%22%3C%2FP%3E%0A%3CP%3E%22Modern%20Workplace%20Compliance%20Reporting%22%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EThe%20report%20explained%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThe%20main%20report%20dashboard%20looks%20like%20this%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22UpdateReporting001.PNG%22%20style%3D%22width%3A%20989px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F194165i07E3DD67D0F91B92%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22UpdateReporting001.PNG%22%20alt%3D%22UpdateReporting001.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3EI%20used%20different%20KPIs%20to%20measure%20update%20compliance%20and%20the%20report%20combines%20all%20that%20into%20one%20dashboard.%20The%20main%20KPI%20is%20the%20first%20bar%20and%20all%20the%20others%20should%20simply%20help%20identify%20patch%20problems%20or%20flaws%20in%20your%20deployment%20strategy.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFind%20the%20full%20explanation%20for%20each%20graph%20in%20the%20GitHub%20readme%3A%20-ERR%3AREF-NOT-FOUND-%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fjonasatgit%2Fupdatereporting%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fjonasatgit%2Fupdatereporting%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EThe%20report%20also%20has%20two%20sub-reports.%20One%20to%20show%20you%20a%20list%20of%20systems%20in%20a%20specific%20state%20(1st%20sub-report)%20and%20one%20for%20a%20list%20of%20missing%20updates%20for%20a%20single%20system%20(2nd%20sub-report).%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22UpdateReporting001-level.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F194166i7338894301E8AF68%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22UpdateReporting001-level.PNG%22%20alt%3D%22UpdateReporting001-level.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E1%3CSUP%3Est%3C%2FSUP%3E%20sub-reports%20(list%20of%20systems)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAlmost%20each%20bar%20or%20pie%20chart%20links%20to%20a%20sub-report%20to%20show%20compliance%20state%20of%20that%20subset%20of%20systems%20to%20give%20you%20better%20visibility.%20This%20is%20an%20example%20of%20all%20the%20uncompliant%20systems%20from%20the%20first%20bar%20in%20the%20dashboard%20and%20is%20basically%20how%20the%20Excel%20list%20in%20the%20early%20days%20looked%20like%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22UpdateReporting002.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F194167iAE9C563FF40920DF%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22UpdateReporting002.PNG%22%20alt%3D%22UpdateReporting002.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20click%20on%20a%20different%20bar%20or%20pie%20chart%2C%20basically%20the%20same%20sub-report%20will%20be%20opened%2C%20but%20filtered%20depending%20on%20which%20bar%20or%20pie%20chart%20you%20clicked.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E2%3CSUP%3End%3C%2FSUP%3E%20sub-report%20(per%20system)%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EIf%20you%20click%20on%20the%20number%20of%20missing%20updates%20in%20the%20column%20%22missing%20updates%20approved%22%20a%20per%20system%20sub-report%20will%20be%20opened%20which%20will%20only%20show%20the%20specific%20missing%20updates%20for%20the%20selected%20system.%20The%20report%20also%20shows%20installations%20errors%20if%20any%20happened.%20Each%20error%20will%20link%20to%20a%20Bing%20search%20with%20the%20hex%20value%20of%20the%20error.%20The%20search%20string%20looks%20like%20this%3A%26nbsp%3B-ERR%3AREF-NOT-FOUND-%3CSTRONG%3E%3CEM%3E%3CA%20href%3D%22https%3A%2F%2Fwww.bing.com%2Fsearch%3Fq%3Derror%2B0x80070005%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.bing.com%2Fsearch%3Fq%3Derror%2B0x80070005%3C%2FA%3E%3C%2FEM%3E%3C%2FSTRONG%3E%3CBR%20%2F%3EThe%20report%20is%20basically%20a%20copy%20of%20one%20of%20the%20default%20MECM%20reports%20with%20some%20adjustments%20and%20three%20customs%20filters%20to%20filter%20for%20%E2%80%9CDeployed%20and%20missing%20updates%E2%80%9D%2C%20%E2%80%9CNot%20deployed%20but%20missing%E2%80%9D%20or%20just%20%E2%80%9CAll%20updates%20per%20device%E2%80%9D.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22UpdateReporting003.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F194168iEB01732224D73422%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22UpdateReporting003.PNG%22%20alt%3D%22UpdateReporting003.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ESome%20key%20facts%20and%20prerequisites%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EThe%20report%20is%20made%20to%20show%20the%20update%20compliance%20status%20of%20members%20of%20a%20collection%20or%20multiple%20collections%20no%20matter%20what%20type%20of%20systems%20are%20a%20member%20or%20which%20or%20how%20many%20updates%20are%20deployed%20to%20each%20individual%20system.%20%3CSPAN%3ESo%3C%2FSPAN%3E%20it%20can%20be%20a%20combined%20view%20over%20multiple%20deployments%20and%20not%20just%20one%20deployment.%3C%2FLI%3E%0A%3CLI%3EIf%20you%20have%20a%20simple%20group%20of%20systems%20and%20deploy%20every%20needed%20update%20with%20one%20deployment%2C%20the%20deployment%20status%20might%20be%20enough%2C%20but%20if%20you%20have%20a%20more%20complex%20setup%2C%20you%20might%20want%20to%20see%20details%20based%20on%20a%20specific%20group%20of%20systems%20no%20matter%20if%2C%20how%20or%20how%20many%20updates%20are%20deployed%20to%20each%20system.%3C%2FLI%3E%0A%3CLI%3EThe%20report%20will%20also%20show%20updates%20deployed%20as%20%22available%22%20and%20is%20not%20made%20to%20just%20focus%20on%20updates%20deployed%20as%20%22required%22.%3C%2FLI%3E%0A%3CLI%3EThe%20report%20consists%20of%20multiple%20KPIs%20to%20indicate%20the%20update%20compliance%20or%20update%2Fclient%20health%20state%20and%20should%20give%20you%20an%20overview%20from%20different%20viewpoints%20to%20help%20identify%20problematic%20systems%20or%20a%20flaw%20in%20your%20patch%20strategy.%3C%2FLI%3E%0A%3CLI%3EThe%20report%20will%20use%20data%20from%20the%20WMI%20class%20Win32_Quickfixengineering%20which%20needs%20to%20be%20enabled%20in%20the%20hardware%20inventory%20client%20settings.%20The%20class%20is%20only%20used%20to%20determine%20the%20last%20installation%20of%20A%20security%20update%20to%20identify%20systems%20which%20seem%20to%20be%20fine%20but%20%3CSPAN%3Eactually%20have%3C%2FSPAN%3E%20never%20installed%20anything.%3C%2FLI%3E%0A%3CLI%3EThe%20report%20is%20also%20using%20the%20%3CSPAN%3ELastLogonTimeStamp%3C%2FSPAN%3E%20from%20AD%20System%20Discovery%20to%20visually%20show%20systems%20which%20have%20not%20logged%20on%20to%20the%20domain%20in%20a%20while%20and%20which%20might%20be%20disposed%20already%20and%20could%20be%20deleted%20from%20the%20MECM%20database.%20If%20you%20don't%20use%20AD%20system%20discovery%20the%20report%20will%20show%20all%20systems%20of%20the%20specified%20collection%20as%20not%20compliant%20in%20the%20pie%20chart%20%22Last%20ADDS%20logon%3CSPAN%3E%22%20.%3C%2FSPAN%3E%3CUL%3E%0A%3CLI%3EAD%20system%20discovery%20is%20no%20hard%20requirement%20to%20run%20the%20report%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EThe%20report%20does%20not%20show%20historical%20data%20and%20will%20always%20show%20the%20%3CSPAN%3Ecurrent%20status%3C%2FSPAN%3E.%20So%2C%20if%20you%20change%20a%20deployment%20in%20the%20middle%20of%20the%20month%2C%20the%20compliance%20percentage%20will%20drop%20almost%20immediately%20as%20it%20does%20with%20the%20deployment%20in%20MECM.%3C%2FLI%3E%0A%3CLI%3EI%20have%20defined%20%22compliant%22%20to%20be%20a%20system%20which%20has%3A%3CUL%3E%0A%3CLI%3Eall%20the%20updates%20installed%20which%20are%20deployed%20(no%20matter%20if%20%E2%80%9Cavailable%E2%80%9D%20or%20%E2%80%9Crequired%E2%80%9D)%3C%2FLI%3E%0A%3CLI%3Ethe%20last%20security%20update%20installation%20in%20Win32_Quickfixengineering%20was%20in%20the%20current%20month%20(not%20necessarily%20the%20monthly%20security%20rollup%2C%20just%20one%20security%20update)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EThe%20update%20report%20has%20multiple%20sub-reports%20to%20drill%20further%20down%20and%20almost%20each%20report%20will%20use%20the%20same%20dataset%3C%2FLI%3E%0A%3CLI%3EThe%20SQL%20query%20of%20the%20dataset%20is%20made%20to%20filter%20out%20Defender%20Update%20Deployments%2C%20because%20they%20normally%20will%20be%20changed%20every%20x%20hours%20and%20could%20interfere%20with%20the%20overall%20compliance%20state%20and%20should%20be%20monitored%20with%20other%20reports.%3C%2FLI%3E%0A%3CLI%3EThe%202nd%20Level%20sub-report%20per%20system%20will%20also%20show%20Defender%20updates%2C%20even%20if%20they%20are%20filtered%20out%20on%20the%20dashboard%3C%2FLI%3E%0A%3CLI%3EThe%20SQL%20query%20might%20run%20longer%20in%20bigger%20environments%20depending%20on%20SQL%20performance%20and%20SQL%20maintenance%3C%2FLI%3E%0A%3CLI%3EThere%20are%20several%20sub-reports%20with%20the%20same%20look%20and%20feel%2C%20because%20it%20was%20simpler%20to%20copy%20the%20report%20and%20just%20change%20the%20filter%20for%20the%20specific%20need.%3C%2FLI%3E%0A%3CLI%3EEach%20sub-report%20will%20be%20hidden%20in%20SSRS%20to%20avoid%20direct%20usage%20and%20keep%20the%20folder%20as%20clean%20as%20possible.%3C%2FLI%3E%0A%3CLI%3EThe%20reports%20are%20made%20on%20SSRS%202017.%20I%20%3CSPAN%3Ehaven't%3C%2FSPAN%3E%20tested%20other%20versions.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CSTRONG%3EHow%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20to%20install%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EMake%20sure%20you%20have%20enabled%26nbsp%3B%3CSTRONG%3EWin32_Quickfixengineering%3C%2FSTRONG%3E%26nbsp%3Bin%20the%20client%20settings%20for%20hardware%20inventory%3C%2FLI%3E%0A%3CLI%3EYou%20could%20also%20use%20AD%20System%20Discovery%20to%20have%20further%20data%2C%20but%20%3CSPAN%3Ethat's%3C%2FSPAN%3E%20no%20hard%20requirement.%3C%2FLI%3E%0A%3CLI%3EEither%20clone%20the%20repository%20or%20download%20the%20whole%20content.%3C%2FLI%3E%0A%3CLI%3ECopy%20the%20whole%20content%20to%20the%20SQL%20Server%20Reporting%20Services%20Server%20(SSRS)%3C%2FLI%3E%0A%3CLI%3ECreate%20a%26nbsp%3B%3CSTRONG%3E%3CEM%3Enew%20folder%20on%20the%20report%20server%20%3CU%3Ewebsite%3C%2FU%3E%3C%2FEM%3E%3C%2FSTRONG%3E%26nbsp%3Bwere%20the%20reports%20should%20be%20imported%20to.%3COL%3E%0A%3CLI%3EThe%20folder%20should%20be%20under%20the%20normal%20MECM%20folder%20(normally%20called%20%3CSPAN%3EConfigMgr%3C%2FSPAN%3E_%5BSITECODE%5D)%2C%20but%20it%20can%20also%20be%20at%20the%20root%20level%20of%20your%20Reporting%20Services%20Server.%20But%20keep%20in%20mind%20that%20report%20subscriptions%20are%20only%20visible%20in%20the%20MECM%20console%2C%20if%20the%20report%2C%20you%20have%20subscribed%20for%2C%20is%20below%20the%20normal%20MECM%20folder.%20The%20subscription%20will%20not%20be%20visible%20in%20the%20MECM%20console%20if%20the%20report%20was%20placed%20at%20the%20root%20level.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3EStart%20a%20PowerShell%20session%20as%20admin.%3COL%3E%0A%3CLI%3EThe%20user%20running%20PowerShell%20also%20needs%20to%20have%20admin%20rights%20on%20the%20SQL%20Reporting%20Services%20Server%20to%20upload%20the%20reports%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3CLI%3EChange%20the%20directory%20to%20the%20folder%20were%20the%20import%20script%26nbsp%3B%3CSTRONG%3E%22Import-SSRSReports.ps1%22%3C%2FSTRONG%3E%26nbsp%3Bcan%20be%20found.%3C%2FLI%3E%0A%3CLI%3EStart%20the%20script%26nbsp%3B%3CSTRONG%3E%22.%5CImport-SSRSReports.ps1%22%3C%2FSTRONG%3E%26nbsp%3B%3CSTRONG%3Ewith%20the%20appropriate%20parameters%3C%2FSTRONG%3E%20(see%20below%20or%20run%20%E2%80%9CGet-Help%20.%5CImport-SSRSReports.ps1%20-Full%E2%80%9D)%3COL%3E%0A%3CLI%3EThe%20script%20will%20copy%20each%20RDL%20and%20RSD%20file%20from%20the%26nbsp%3B%3CSTRONG%3E%22%3CSPAN%3ESourcefiles%3C%2FSPAN%3E%22%3C%2FSTRONG%3E%26nbsp%3Bfolder%20to%20a%20new%26nbsp%3B%3CSTRONG%3E%22work%22%3C%2FSTRONG%3E%26nbsp%3Bfolder%20in%20the%20same%20directory%20the%20script%20resides.%3C%2FLI%3E%0A%3CLI%3EThe%20script%20will%20then%20simply%20replace%20some%20values%20with%20the%20parameter%20values%20you%20provided%3C%2FLI%3E%0A%3CLI%3EThe%20script%20will%20then%20upload%20the%20datasets%20and%20the%20reports%20to%20the%20server%20and%20the%20folder%20you%20provided%20as%20parameters%3C%2FLI%3E%0A%3CLI%3EThe%20files%20in%20the%26nbsp%3B%3CSTRONG%3E%22work%22%3C%2FSTRONG%3E%26nbsp%3Bfolder%20will%20not%20be%20deleted%20and%20can%20be%20used%20as%20a%20backup%20or%20for%20manual%20uploads%20if%20necessary%20and%20will%20contain%20the%20data%20you%20provided%20as%20parameters%20to%20the%20script%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EIMPORTANT%3A%3C%2FSTRONG%3E%26nbsp%3BIf%20you%20need%20to%20re-run%20the%20script%2C%20delete%20the%20SSRS%20website%20folder%20with%20all%20its%20content%20first%20an%20re-create%20the%20folder%20in%20SSRS.%20It%20is%20possible%20to%20overwrite%20the%20reports%20automatically%2C%20but%20I%20faced%20some%20issues%20with%20some%20settings%20not%20being%20overwritten%20as%20desired%20and%20I%20%3CSPAN%3Edon't%3C%2FSPAN%3E%20use%20that%20method%20anymore.%20%3CSPAN%3EThat's%3C%2FSPAN%3E%20why%20everything%20should%20be%20deleted%20first%20to%20avoid%20errors.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSTRONG%3EParameters%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CTABLE%20width%3D%22633%22%3E%0A%3CTHEAD%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSTRONG%3EParameter%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3ERequired%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EExample%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSTRONG%3E%20%3CSPAN%3Evalue%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSPAN%3EReportServerURI%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3EYes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Freportserver.domain.local%2Freportserver%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Freportserver.domain.local%2Freportserver%3C%2FA%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3EThe%20URL%20of%20the%20SQL%20Reporting%20Services%20Server.%3CBR%20%2F%3ECan%20be%20found%20in%20the%20MECM%20Console%20under%20%22%5CMonitoring%5COverview%5CReporting%22%20-%26gt%3B%20%22Report%20Server%22%20or%20in%20the%20%22Report%20Server%20Configuration%20Manager%22%20under%20%22Web%20service%20URL%22%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSPAN%3ETargetFolderPath%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3EYes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3EConfigMgr_P11%2F%3CSPAN%3ECustom_UpdateReporting%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3EThe%20folder%20were%20the%20reports%20should%20be%20placed%20in.%20I%20created%20a%20folder%20called%20%22%3CSPAN%3ECustom_UpdateReporting%3C%2FSPAN%3E%22%20below%20the%20default%20MECM%20reporting%20folder.%20My%20%3CSPAN%3Esitecode%3C%2FSPAN%3E%20is%20P11%2C%20so%20the%20default%20folder%20is%20called%20%22ConfigMgr_P11%22.%3CBR%20%2F%3ELike%20this%20for%20example%3A%20%22ConfigMgr_P11%2F%3CSPAN%3ECustom_UpdateReporting%3C%2FSPAN%3E%22%3CBR%20%2F%3E%3CSTRONG%3EIMPORTANT%3A%3C%2FSTRONG%3E%26nbsp%3BUse%20'%2F'%20instead%20of%20''%20because%20it's%20a%20website.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSPAN%3ETargetDataSourcePath%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3EYes%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3EConfigMgr_P11%2F%7B5C6358F2-4BB6-4a1b-A16E-8D96795D8602%7D%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3EThe%20path%20should%20point%20to%20the%20default%20%3CSPAN%3EConfigMgr%3C%2FSPAN%3E%2FMECM%20data%20source.%3CBR%20%2F%3EIn%20my%20case%20the%20%3CSPAN%3ESitecode%3C%2FSPAN%3E%20is%20P11%20and%20the%20default%20data%20source%20is%20therefore%20in%20the%20folder%20%22ConfigMgr_P11%22%20and%20has%20the%20ID%20%22%7B5C6358F2-4BB6-4a1b-A16E-8D96795D8602%7D%22%3CBR%20%2F%3EThe%20path%20with%20the%20default%20folder%20is%20required.%20Like%20this%20for%20example%3A%20%22ConfigMgr_P11%2F%7B5C6358F2-4BB6-4a1b-A16E-8D96795D8602%7D%22%3CBR%20%2F%3E%3CSTRONG%3EIMPORTANT%3A%3C%2FSTRONG%3E%26nbsp%3BUse%20'%2F'%20instead%20of%20''%20because%20%3CSPAN%3Eit's%3C%2FSPAN%3E%20a%20website.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSPAN%3EDefaultCollection%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3E%3CSPAN%3ENo%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3ESMS00001%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3EThe%20report%20can%20show%20data%20of%20a%20default%20collection%20when%20it%20will%20be%20run%2C%20so%20that%20you%20don't%20need%20to%20provide%20a%20collection%20name%20each%20time%20you%20run%20the%20report.%3CBR%20%2F%3EThe%20default%20value%20is%20%22SMS00001%22%20which%20is%20the%20%3CSPAN%3ECollectionID%3C%2FSPAN%3E%20of%20%22All%20Systems%22%2C%20which%20might%20not%20be%20the%20best%20choice%20for%20bigger%20environments.%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSPAN%3EDefaultCollectionFilter%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3E%3CSPAN%3ENo%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3EAll%25%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3EThe%20filter%20is%20used%20to%20find%20the%20collection%20you%20are%20interested%20in%20and%20the%20value%20needs%20to%20match%20the%20name%20of%20the%20collection%20you%20choose%20to%20be%20the%20default%20collection%20for%20the%20parameter%20%22%3CSPAN%3EdefaultCollection%3C%2FSPAN%3E%22.%3CBR%20%2F%3EIn%20my%20case%20%22All%25%22%20or%20%E2%80%9CAll%20Syst%25%E2%80%9D%20or%20%22Servers%25%22%20to%20get%20the%20%22Servers%20of%20the%20environment%22%20collection%20for%20example.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSPAN%3EDoNotHideReports%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3E%3CSPAN%3ENo%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E'Software%20Updates%20Compliance%20-%20%3CSPAN%3EOverview'%2C'Compare%3C%2FSPAN%3E%20Update%20Compliance'%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3EArray%20of%20reports%20which%20should%20not%20be%20set%20to%20hidden.%20You%20should%20not%20use%20the%20parameter%20unless%20you%20really%20want%20more%20reports%20to%20be%20visible.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3EUpload%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3E%3CSPAN%3ENo%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%24%3CSPAN%3Etrue%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3EIf%20set%20to%20%24%3CSPAN%3Efalse%3C%2FSPAN%3E%20the%20reports%20will%20not%20be%20uploaded.%20That%20might%20be%20helpful%2C%20if%20you%20do%20not%20have%20the%20rights%20to%20upload%20and%20need%20to%20give%20the%20files%20to%20another%20person%20for%20example.%20In%20that%20case%2C%20just%20use%20the%20report%20files%20in%20the%20work%20folder%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSPAN%3EUseViewForDataset%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3E%3CSPAN%3ENo%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%24%3CSPAN%3Efalse%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3EAll%20reports%20can%20either%20use%20a%20dataset%20called%20%22%3CSPAN%3EUpdatesSummary%3C%2FSPAN%3E%22%2C%20which%20is%20the%20default%20and%20will%20execute%20the%20full%20%3CSPAN%3Esql%3C%2FSPAN%3E%20query%20right%20from%20the%20Reporting%20Services%20Server%2C%20or%20a%20dataset%20called%20%22%3CSPAN%3EUpdatesSummaryView%3C%2FSPAN%3E%22%20which%20will%20select%20from%20a%20%3CSPAN%3Esql%3C%2FSPAN%3E%20view%20which%20needs%20to%20be%20created%20first.%20(I%20will%20not%20explain%20that%20process%20in%20detail)%3CBR%20%2F%3E%24false%20will%20use%20the%20default%20dataset%20and%20%24true%20will%20use%20the%20dataset%20using%20a%20%3CSPAN%3Esql%3C%2FSPAN%3E%20view.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%3CSPAN%3EReportSourcePath%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%2285%22%3E%3CP%3E%3CSPAN%3ENo%3C%2FSPAN%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22151%22%3E%3CP%3E%24%3CSPAN%3EPSScriptRoot%3C%2FSPAN%3E%20or%20%22C%3A%5CTemp%5CReports%22%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22246%22%3E%3CP%3EThe%20script%20will%20use%20the%20script%20root%20path%20to%20look%20for%20a%20folder%20called%20%22%3CSPAN%3ESourcefiles%3C%2FSPAN%3E%22%20and%20will%20copy%20all%20the%20report%20files%20from%20there.%20But%20you%20could%20also%20provide%20a%20different%20path%20where%20the%20script%20should%20look%20for%20a%20%22%3CSPAN%3ESourcefiles%3C%2FSPAN%3E%22%20folder%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EExamples%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EGet%20the%20full%20list%20of%20parameters%20by%20running%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3EGet-Help%20.%5CImport-SSRSReports.ps1%20-Full%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOr%20go%20to%20-ERR%3AREF-NOT-FOUND-%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fjonasatgit%2Fupdatereporting%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fjonasatgit%2Fupdatereporting%3C%2FA%3E%20and%20read%20the%20GitHub%20readme.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EUpload%20all%20reports%20with%20the%20minimum%20required%20parameters%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3E.%5CImport-SSRSReports.ps1%20-ReportServerURI%20%22http%3A%2F%2Freportserver.domain.local%2Freportserver%22%20-TargetFolderPath%20%22ConfigMgr_P11%2FCustom_UpdateReporting%22%20-TargetDataSourcePath%20%22ConfigMgr_P11%2F%7B5C6358F2-4BB6-4a1b-A16E-8D96795D8602%7D%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EJust%20change%20the%20report%20files%20and%20do%20not%20upload%20them%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3E.%5CImport-SSRSReports.ps1%20-ReportServerURI%20%22http%3A%2F%2Freportserver.domain.local%2Freportserver%22%20-TargetFolderPath%20%22ConfigMgr_P11%2FCustom_UpdateReporting%22%20-TargetDataSourcePath%20%22ConfigMgr_P11%2F%7B5C6358F2-4BB6-4a1b-A16E-8D96795D8602%7D%22%20-Upload%20%24false%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EUpload%20all%20reports%20and%20change%20the%20default%20%3CSPAN%3EcollectionID%3C%2FSPAN%3E%20and%20collection-filter%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3E.%5CImport-SSRSReports.ps1%20-ReportServerURI%20%22http%3A%2F%2Freportserver.domain.local%2Freportserver%22%20-TargetFolderPath%20%22ConfigMgr_P11%2FCustom_UpdateReporting%22%20-TargetDataSourcePath%20%26nbsp%3B%20%22ConfigMgr_P11%2F%7B5C6358F2-4BB6-4a1b-A16E-8D96795D8602%7D%22%20-DefaultCollection%20%22P1100012%22%20-DefaultCollectionFilter%20%22All%20Servers%20of%20Contoso%25%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EAdditional%20report%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EAlso%2C%20a%20while%20ago%20I%20created%20a%20report%20to%20compare%20the%20patch%20status%20of%20a%20maximum%20of%20six%20systems%20which%20will%20also%20be%20upload%20to%20your%20SSRS%20if%20you%20run%20the%20install%20script.%20It%20should%20just%20help%20to%20have%20a%20fast%20and%20simple%20way%20to%20spot%20differences.%3CBR%20%2F%3EThe%20report%20has%20a%20filter%20to%20limit%20the%20amount%20of%20systems%20returned%20by%20name%20and%20you%20can%20choose%20a%20maximum%20of%20six%20systems%20to%20compare%20them.%20You%20could%20also%20choose%20to%20only%20view%20required%20updates%20to%20limit%20the%20view%20and%20complexity%20of%20the%20report.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22UpdateReporting004.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F194169i0944F642FCEA2EBE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22UpdateReporting004.PNG%22%20alt%3D%22UpdateReporting004.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20hope%20you%20like%20the%20report%20solution%20and%20I%20hope%20it%20is%20a%20good%20extension%20of%20what%20you%20are%20using%20right%20now.%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CP%3EStay%20safe%20and%20healthy!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%20regards%3C%2FP%3E%0A%3CP%3EJonas%20Ohmsen%3C%2FP%3E%0A%3CP%3EPremier%20Field%20Engineer%20-%20Microsoft%20Germany%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EDisclaimer%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EThis%20posting%20is%20provided%20%22AS%20IS%22%20with%20no%20warranties%2C%20and%20confers%20no%20rights%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EResources%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EDownload%20the%20whole%20solution%20or%20clone%20the%20repository%20here%3A%3CBR%20%2F%3E-ERR%3AREF-NOT-FOUND-%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fjonasatgit%2Fupdatereporting%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fjonasatgit%2Fupdatereporting%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1415088%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Teaser.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F194171iA7E860F096B5C411%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Teaser.png%22%20alt%3D%22Teaser.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EPatch%20compliance%20reporting%20solution%20for%20MECM%20environments.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1415088%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EJonasOhmsen%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1417979%22%20slang%3D%22en-US%22%3ERe%3A%20Mastering%20Configuration%20Manager%20Patch%20Compliance%20Reporting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1417979%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Jonas%2C%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3EThis%20is%20really%20helpful%2C%20however%20I%20am%20facing%20some%20errors%20when%20running%20the%20PS%20script%20-%26nbsp%3Bthe%20definition%20of%20this%20report%20is%20not%20valid%20or%20supported%20by%20this%20version%20of%20Reporting%20Services%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1418628%22%20slang%3D%22en-US%22%3ERe%3A%20Mastering%20Configuration%20Manager%20Patch%20Compliance%20Reporting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418628%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F679981%22%20target%3D%22_blank%22%3E%40MarkB35%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EI%20only%20tested%20SSRS%202017%2C%20so%20it%20might%20not%20work%20with%20older%20versions.%20Which%20version%20you%20are%20running%3F%20Can%20you%20share%20the%20exact%20error%20message%3F%3C%2FP%3E%0A%3CP%3EDownload%20link%20for%20SSRS%202017%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D55252%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fdownload%2Fdetails.aspx%3Fid%3D55252%3C%2FA%3E%26nbsp%3BJust%20in%20case%20%3A)%3C%2Fimg%3E%3C%2FP%3E%0A%3CP%3EBest%20regards%3C%2FP%3E%0A%3CP%3EJonas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1423009%22%20slang%3D%22en-US%22%3ERe%3A%20Mastering%20Configuration%20Manager%20Patch%20Compliance%20Reporting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1423009%22%20slang%3D%22en-US%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F268468%22%20target%3D%22_blank%22%3E%40jonasoh%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20managed%20to%20resolve%20this.%3CBR%20%2F%3E%3CBR%20%2F%3EWe%20was%20on%20SQL%202014%2C%20I%20updated%20to%20SQL%202017%20and%20it%20now%20works.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1577161%22%20slang%3D%22en-US%22%3ERe%3A%20Mastering%20Configuration%20Manager%20Patch%20Compliance%20Reporting%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1577161%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20looks%20very%20useful%2C%20but%20I%20am%20running%20into%20issues%20during%20installation.%26nbsp%3B%20I%20am%20receiving%20the%20error%20below%20for%20every%20RDL%20file%20that%20attempts%20to%20install.%26nbsp%3B%20Any%20help%20would%20be%20appreciated.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EUploading%3A%20UpdatesSummaryView.rsd...%3C%2FP%3E%3CP%3E'%2F1Patch_Compliance_Reports%2FUpdatesSummaryView'%20cannot%20be%20found.%20---%26gt%3B%3CBR%20%2F%3EMicrosoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException%3A%20The%20item%3CBR%20%2F%3E'%2F1Patch_Compliance_Reports%2FUpdatesSummaryView'%20cannot%20be%20found.%3CBR%20%2F%3Eat%20Microsoft.ReportingServices.Library.ReportingService2005Impl.GetProperties(String%20Item%2C%20Property%5B%5D%20Properties%2C%3CBR%20%2F%3EItemNamespaceEnum%20itemNamespace%2C%20Property%5B%5D%26amp%3B%20Values)%3CBR%20%2F%3Eat%20Microsoft.ReportingServices.WebServer.ReportingService2010.GetProperties(String%20ItemPath%2C%20Property%5B%5D%20Properties%2C%3CBR%20%2F%3EProperty%5B%5D%26amp%3B%20Values)%22%3CBR%20%2F%3EAt%20E%3A%5CReports%5Cupdatereporting-master%5CImport-SSRSReports.ps1%3A233%20char%3A21%3CBR%20%2F%3E%2B%20%24Properties%20%3D%20%24ReportServerConnection.GetProperties(%22%24target%20...%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5B%5D%2C%20MethodInvocationException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20SoapException%3C%2FP%3E%3CP%3EThe%20property%20'Value'%20cannot%20be%20found%20on%20this%20object.%20Verify%20that%20the%20property%20exists%20and%20can%20be%20set.%3CBR%20%2F%3EAt%20E%3A%5CReports%5Cupdatereporting-master%5CImport-SSRSReports.ps1%3A235%20char%3A21%3CBR%20%2F%3E%2B%20%24prop.Value%20%3D%20%24true%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20InvalidOperation%3A%20(%3A)%20%5B%5D%2C%20RuntimeException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20PropertyNotFound%3C%2FP%3E%3CP%3EException%20calling%20%22SetProperties%22%20with%20%222%22%20argument(s)%3A%20%22System.Web.Services.Protocols.SoapException%3A%20The%20value%20for%3CBR%20%2F%3Eparameter%20'Properties'%20is%20not%20specified.%20It%20is%20either%20missing%20from%20the%20function%20call%2C%20or%20it%20is%20set%20to%20null.%20---%26gt%3B%3CBR%20%2F%3EMicrosoft.ReportingServices.Diagnostics.Utilities.MissingParameterException%3A%20The%20value%20for%20parameter%20'Properties'%20is%3CBR%20%2F%3Enot%20specified.%20It%20is%20either%20missing%20from%20the%20function%20call%2C%20or%20it%20is%20set%20to%20null.%3CBR%20%2F%3Eat%20Microsoft.ReportingServices.Library.ReportingService2005Impl.SetProperties(String%20Item%2C%20Property%5B%5D%20Properties%2C%3CBR%20%2F%3EGuid%20batchId)%3CBR%20%2F%3Eat%20Microsoft.ReportingServices.Library.ReportingService2005Impl.SetProperties(String%20Item%2C%20Property%5B%5D%20Properties)%3CBR%20%2F%3Eat%20Microsoft.ReportingServices.WebServer.ReportingService2010.SetProperties(String%20ItemPath%2C%20Property%5B%5D%20Properties)%22%3CBR%20%2F%3EAt%20E%3A%5CReports%5Cupdatereporting-master%5CImport-SSRSReports.ps1%3A236%20char%3A21%3CBR%20%2F%3E%2B%20%24ReportServerConnection.SetProperties(%22%24targetPath%2F%24reportNa%20...%3CBR%20%2F%3E%2B%20~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E%2B%20CategoryInfo%20%3A%20NotSpecified%3A%20(%3A)%20%5B%5D%2C%20MethodInvocationException%3CBR%20%2F%3E%2B%20FullyQualifiedErrorId%20%3A%20SoapException%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Hi, Jonas here!

Or as we say in the north of Germany: "Moin Moin!"
I am a Microsoft Premier Field Engineer (PFE) and a while back (years in fact) I was asked to analyze the update compliance status of a SCCM/ConfigMgr/MECM environment. I will use the current name: "Microsoft Endpoint Configuration Manager" (MECM) in the rest of the blog.
I used different reports to look for clients not installing the necessary updates, but it was time consuming and I was missing a general overview with some meaningful KPIs. I ended up with a comprehensive SQL query and an Excel sheet, but changed that to a SQL Server Reporting Services (SSRS) report and made that available to several departments in the organization.
As mentioned before, it's been a while since I created the report and if I would start now it would be a PowerBI version or I would simply grab one of the PowerBI reports available right now, but since I still use the report and find it quite helpful, I decided to share that with the rest of the world.

 

TL;DR

The following report should help you identify update problems within a specific collection and a group of systems and is designed to work well for a few thousand clients. The query might run longer in bigger environments and you might need to improve it or run it not within business hours to show results.
The installation guide for the custom update reporting can be found at the end of this post but you should at least start with the "Some key facts and prerequisites" section.
If you're just looking for the SQL statement behind the report, copy the query from the "UpdatesSummary.rsd" file and use it in SQL directly.
The whole solution can be found on GitHub: https://github.com/jonasatgit/updatereporting
Feel free to improve the SQL queries or some of the reports on Github.
If you are a Premier customer and if you are looking for a more complete reporting solution, ask your Microsoft contact about the followig offerings:
"Microsoft Endpoint Configuration Manager: Advanced Dashboards"
"Microsoft Endpoint Manager: PowerBI Dashboard Integration"

"Modern Workplace Compliance Reporting"

 

The report explained:

The main report dashboard looks like this:

UpdateReporting001.PNG

 

I used different KPIs to measure update compliance and the report combines all that into one dashboard. The main KPI is the first bar and all the others should simply help identify patch problems or flaws in your deployment strategy.

Find the full explanation for each graph in the GitHub readme: https://github.com/jonasatgit/updatereporting

The report also has two sub-reports. One to show you a list of systems in a specific state (1st sub-report) and one for a list of missing updates for a single system (2nd sub-report).

UpdateReporting001-level.PNG

 

1st sub-reports (list of systems)

Almost each bar or pie chart links to a sub-report to show compliance state of that subset of systems to give you better visibility. This is an example of all the uncompliant systems from the first bar in the dashboard and is basically how the Excel list in the early days looked like:

UpdateReporting002.PNG

If you click on a different bar or pie chart, basically the same sub-report will be opened, but filtered depending on which bar or pie chart you clicked.

 

2nd sub-report (per system)

If you click on the number of missing updates in the column "missing updates approved" a per system sub-report will be opened which will only show the specific missing updates for the selected system. The report also shows installations errors if any happened. Each error will link to a Bing search with the hex value of the error. The search string looks like this: https://www.bing.com/search?q=error+0x80070005
The report is basically a copy of one of the default MECM reports with some adjustments and three customs filters to filter for “Deployed and missing updates”, “Not deployed but missing” or just “All updates per device”.

UpdateReporting003.PNG

 

Some key facts and prerequisites:

  • The report is made to show the update compliance status of members of a collection or multiple collections no matter what type of systems are a member or which or how many updates are deployed to each individual system. So it can be a combined view over multiple deployments and not just one deployment.
  • If you have a simple group of systems and deploy every needed update with one deployment, the deployment status might be enough, but if you have a more complex setup, you might want to see details based on a specific group of systems no matter if, how or how many updates are deployed to each system.
  • The report will also show updates deployed as "available" and is not made to just focus on updates deployed as "required".
  • The report consists of multiple KPIs to indicate the update compliance or update/client health state and should give you an overview from different viewpoints to help identify problematic systems or a flaw in your patch strategy.
  • The report will use data from the WMI class Win32_Quickfixengineering which needs to be enabled in the hardware inventory client settings. The class is only used to determine the last installation of A security update to identify systems which seem to be fine but actually have never installed anything.
  • The report is also using the LastLogonTimeStamp from AD System Discovery to visually show systems which have not logged on to the domain in a while and which might be disposed already and could be deleted from the MECM database. If you don't use AD system discovery the report will show all systems of the specified collection as not compliant in the pie chart "Last ADDS logon" .
    • AD system discovery is no hard requirement to run the report
  • The report does not show historical data and will always show the current status. So, if you change a deployment in the middle of the month, the compliance percentage will drop almost immediately as it does with the deployment in MECM.
  • I have defined "compliant" to be a system which has:
    • all the updates installed which are deployed (no matter if “available” or “required”)
    • the last security update installation in Win32_Quickfixengineering was in the current month (not necessarily the monthly security rollup, just one security update)
  • The update report has multiple sub-reports to drill further down and almost each report will use the same dataset
  • The SQL query of the dataset is made to filter out Defender Update Deployments, because they normally will be changed every x hours and could interfere with the overall compliance state and should be monitored with other reports.
  • The 2nd Level sub-report per system will also show Defender updates, even if they are filtered out on the dashboard
  • The SQL query might run longer in bigger environments depending on SQL performance and SQL maintenance
  • There are several sub-reports with the same look and feel, because it was simpler to copy the report and just change the filter for the specific need.
  • Each sub-report will be hidden in SSRS to avoid direct usage and keep the folder as clean as possible.
  • The reports are made on SSRS 2017. I haven't tested other versions.

 

How to install

  1. Make sure you have enabled Win32_Quickfixengineering in the client settings for hardware inventory
  2. You could also use AD System Discovery to have further data, but that's no hard requirement.
  3. Either clone the repository or download the whole content.
  4. Copy the whole content to the SQL Server Reporting Services Server (SSRS)
  5. Create a new folder on the report server website were the reports should be imported to.
    1. The folder should be under the normal MECM folder (normally called ConfigMgr_[SITECODE]), but it can also be at the root level of your Reporting Services Server. But keep in mind that report subscriptions are only visible in the MECM console, if the report, you have subscribed for, is below the normal MECM folder. The subscription will not be visible in the MECM console if the report was placed at the root level.
  6. Start a PowerShell session as admin.
    1. The user running PowerShell also needs to have admin rights on the SQL Reporting Services Server to upload the reports
  7. Change the directory to the folder were the import script "Import-SSRSReports.ps1" can be found.
  8. Start the script ".\Import-SSRSReports.ps1" with the appropriate parameters (see below or run “Get-Help .\Import-SSRSReports.ps1 -Full”)
    1. The script will copy each RDL and RSD file from the "Sourcefiles" folder to a new "work" folder in the same directory the script resides.
    2. The script will then simply replace some values with the parameter values you provided
    3. The script will then upload the datasets and the reports to the server and the folder you provided as parameters
    4. The files in the "work" folder will not be deleted and can be used as a backup or for manual uploads if necessary and will contain the data you provided as parameters to the script
    5. IMPORTANT: If you need to re-run the script, delete the SSRS website folder with all its content first an re-create the folder in SSRS. It is possible to overwrite the reports automatically, but I faced some issues with some settings not being overwritten as desired and I don't use that method anymore. That's why everything should be deleted first to avoid errors.

Parameters:

Parameter

Required

Example value

Description

ReportServerURI

Yes

http://reportserver.domain.local/reportserver

The URL of the SQL Reporting Services Server.
Can be found in the MECM Console under "\Monitoring\Overview\Reporting" -> "Report Server" or in the "Report Server Configuration Manager" under "Web service URL"

TargetFolderPath

Yes

ConfigMgr_P11/Custom_UpdateReporting

The folder were the reports should be placed in. I created a folder called "Custom_UpdateReporting" below the default MECM reporting folder. My sitecode is P11, so the default folder is called "ConfigMgr_P11".
Like this for example: "ConfigMgr_P11/Custom_UpdateReporting"
IMPORTANT: Use '/' instead of '' because it's a website.

TargetDataSourcePath

Yes

ConfigMgr_P11/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}

The path should point to the default ConfigMgr/MECM data source.
In my case the Sitecode is P11 and the default data source is therefore in the folder "ConfigMgr_P11" and has the ID "{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}"
The path with the default folder is required. Like this for example: "ConfigMgr_P11/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}"
IMPORTANT: Use '/' instead of '' because it's a website.

DefaultCollection

No

SMS00001

The report can show data of a default collection when it will be run, so that you don't need to provide a collection name each time you run the report.
The default value is "SMS00001" which is the CollectionID of "All Systems", which might not be the best choice for bigger environments. 

DefaultCollectionFilter

No

All%

The filter is used to find the collection you are interested in and the value needs to match the name of the collection you choose to be the default collection for the parameter "defaultCollection".
In my case "All%" or “All Syst%” or "Servers%" to get the "Servers of the environment" collection for example.

DoNotHideReports

No

'Software Updates Compliance - Overview','Compare Update Compliance'

Array of reports which should not be set to hidden. You should not use the parameter unless you really want more reports to be visible.

Upload

No

$true

If set to $false the reports will not be uploaded. That might be helpful, if you do not have the rights to upload and need to give the files to another person for example. In that case, just use the report files in the work folder

UseViewForDataset

No

$false

All reports can either use a dataset called "UpdatesSummary", which is the default and will execute the full sql query right from the Reporting Services Server, or a dataset called "UpdatesSummaryView" which will select from a sql view which needs to be created first. (I will not explain that process in detail)
$false will use the default dataset and $true will use the dataset using a sql view.

ReportSourcePath

No

$PSScriptRoot or "C:\Temp\Reports"

The script will use the script root path to look for a folder called "Sourcefiles" and will copy all the report files from there. But you could also provide a different path where the script should look for a "Sourcefiles" folder

 

Examples:

Get the full list of parameters by running:

 

 

Get-Help .\Import-SSRSReports.ps1 -Full

 

 

 

Or go to https://github.com/jonasatgit/updatereporting and read the GitHub readme.

 

Upload all reports with the minimum required parameters

 

 

.\Import-SSRSReports.ps1 -ReportServerURI "http://reportserver.domain.local/reportserver" -TargetFolderPath "ConfigMgr_P11/Custom_UpdateReporting" -TargetDataSourcePath "ConfigMgr_P11/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}"

 

 

 

 

Just change the report files and do not upload them

 

 

.\Import-SSRSReports.ps1 -ReportServerURI "http://reportserver.domain.local/reportserver" -TargetFolderPath "ConfigMgr_P11/Custom_UpdateReporting" -TargetDataSourcePath "ConfigMgr_P11/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}" -Upload $false

 

 

 

 

Upload all reports and change the default collectionID and collection-filter

 

 

.\Import-SSRSReports.ps1 -ReportServerURI "http://reportserver.domain.local/reportserver" -TargetFolderPath "ConfigMgr_P11/Custom_UpdateReporting" -TargetDataSourcePath   "ConfigMgr_P11/{5C6358F2-4BB6-4a1b-A16E-8D96795D8602}" -DefaultCollection "P1100012" -DefaultCollectionFilter "All Servers of Contoso%"

 

 

 

 

Additional report

Also, a while ago I created a report to compare the patch status of a maximum of six systems which will also be upload to your SSRS if you run the install script. It should just help to have a fast and simple way to spot differences.
The report has a filter to limit the amount of systems returned by name and you can choose a maximum of six systems to compare them. You could also choose to only view required updates to limit the view and complexity of the report.

UpdateReporting004.PNG

I hope you like the report solution and I hope it is a good extension of what you are using right now.

Stay safe and healthy!

 

Best regards

Jonas Ohmsen

Premier Field Engineer - Microsoft Germany

 

 

Disclaimer:

This posting is provided "AS IS" with no warranties, and confers no rights

 

Resources:

Download the whole solution or clone the repository here:
https://github.com/jonasatgit/updatereporting

 

 

6 Comments

Hi Jonas, impressive article and a great solution with a lot of useful information. Thanks for putting it together!

Thank you @jonasoh for the Awesome blogpost for the Community :cool:

I have Shared it on my Social media Channels ;)

 

Visitor

Hi Jonas,  
This is really helpful, however I am facing some errors when running the PS script - the definition of this report is not valid or supported by this version of Reporting Services

 

Any ideas?

Microsoft

Hi @MarkB35.

I only tested SSRS 2017, so it might not work with older versions. Which version you are running? Can you share the exact error message?

Download link for SSRS 2017: https://www.microsoft.com/en-us/download/details.aspx?id=55252 Just in case :)

Best regards

Jonas

Visitor

HI @jonasoh 

I managed to resolve this.

We was on SQL 2014, I updated to SQL 2017 and it now works.

Occasional Visitor

This looks very useful, but I am running into issues during installation.  I am receiving the error below for every RDL file that attempts to install.  Any help would be appreciated.


Uploading: UpdatesSummaryView.rsd...

'/1Patch_Compliance_Reports/UpdatesSummaryView' cannot be found. --->
Microsoft.ReportingServices.Diagnostics.Utilities.ItemNotFoundException: The item
'/1Patch_Compliance_Reports/UpdatesSummaryView' cannot be found.
at Microsoft.ReportingServices.Library.ReportingService2005Impl.GetProperties(String Item, Property[] Properties,
ItemNamespaceEnum itemNamespace, Property[]& Values)
at Microsoft.ReportingServices.WebServer.ReportingService2010.GetProperties(String ItemPath, Property[] Properties,
Property[]& Values)"
At E:\Reports\updatereporting-master\Import-SSRSReports.ps1:233 char:21
+ $Properties = $ReportServerConnection.GetProperties("$target ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SoapException

The property 'Value' cannot be found on this object. Verify that the property exists and can be set.
At E:\Reports\updatereporting-master\Import-SSRSReports.ps1:235 char:21
+ $prop.Value = $true
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound

Exception calling "SetProperties" with "2" argument(s): "System.Web.Services.Protocols.SoapException: The value for
parameter 'Properties' is not specified. It is either missing from the function call, or it is set to null. --->
Microsoft.ReportingServices.Diagnostics.Utilities.MissingParameterException: The value for parameter 'Properties' is
not specified. It is either missing from the function call, or it is set to null.
at Microsoft.ReportingServices.Library.ReportingService2005Impl.SetProperties(String Item, Property[] Properties,
Guid batchId)
at Microsoft.ReportingServices.Library.ReportingService2005Impl.SetProperties(String Item, Property[] Properties)
at Microsoft.ReportingServices.WebServer.ReportingService2010.SetProperties(String ItemPath, Property[] Properties)"
At E:\Reports\updatereporting-master\Import-SSRSReports.ps1:236 char:21
+ $ReportServerConnection.SetProperties("$targetPath/$reportNa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SoapException