Jira Align Enterprise Insights Self-Hosted: Invoke-Sqlcmd A parameter cannot be found that matches parameter name 'Credential'
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
When running the installation for Enterprise Insights Self-Hosted, it will fail with the error message Invoke-Sqlcmd A parameter cannot be found that matches the parameter name 'Credential'
Environment
Jira Align Self-Hosted
Diagnosis
You are attempting to install EI Self-Hosted and are running .\Install.ps1 as per step 3 of the Installation Instructions (found: Jira Align Self-Hosted Enterprise Insights installation – Jira Align)

Cause
The version of Invoke-SqlCmd does not have the Credential Parameter
Solution
Install a more recent version of the SqlServer Module
1
Install-Module -Name SqlServer -AllowClobber -Force
Was this helpful?