<h2>Discovery Test Credential Error "Module Credentials could not be found"</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Description</h3><section><p style="padding-left: 40px;">When testing windows credentials, following error is thrown -> "Module Credentials could not be found"</p></section></div><div ><h3 >Release or Environment</h3><section><p style="padding-left: 40px;">All Versions.</p></section></div><div ><h3 >Cause</h3><section><p style="padding-left: 40px;"><span style="color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;">In the mid server script files, the Credentials module file was marked 'inactive'. </span></p></section></div><div ><h3 >Resolution</h3><section><ol style="list-style-position: inside;"><li><span style="color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;">When we test the credentials, we leverage the functions defined in the Credentials module. </span><br style="box-sizing: border-box; color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;" /><span style="color: #455464; font-family: SourceSansPro, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 12px;">2. After importing the OOB script with the correct name 'Credentials.psm1' under parent 'Credentials', the end-user was able to test the credentials.</span></li></ol></section></div></article></div>