diff --git a/source/DSCResources/DSC_SqlRS/DSC_SqlRS.psm1 b/source/DSCResources/DSC_SqlRS/DSC_SqlRS.psm1 index 8244fb058..65ee1f777 100644 --- a/source/DSCResources/DSC_SqlRS/DSC_SqlRS.psm1 +++ b/source/DSCResources/DSC_SqlRS/DSC_SqlRS.psm1 @@ -1075,6 +1075,8 @@ function Set-TargetResource { if ( $_.Exception -match 'The report server was unable to validate the integrity of encrypted data in the database' ) { + Write-Verbose -Message 'Received a runtime exception' + # Restore key here $invokeRsCimMethodRestoreEncryptionKeyParameters = @{ CimInstance = $reportingServicesData.Configuration