You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running function Get-DbaNetworkCertificate with credentials, I received the "Access Denied" error message.
Steps to Reproduce
## Pass a credential with access to SQL Server however run the function with a a credential with no access. You will get access denied as the credential passed to the function is not used.Get-DbaNetworkCertificate-SqlInstance <Server\Instance>-Credential <PsCredential>
Please confirm that you are running the most recent version of dbatools
Yes I am
Other details or mentions
No response
What PowerShell host was used when producing this error
Windows PowerShell (powershell.exe), Windows PowerShell ISE (powershell_ise.exe), VS Code (terminal), VS Code (integrated terminal)
PowerShell Host Version
5
SQL Server Edition and Build number
2019, 2022 all versions
.NET Framework Version
4.8
The text was updated successfully, but these errors were encountered:
Verified issue does not already exist?
I have searched and found no existing issue
What error did you receive?
When running function Get-DbaNetworkCertificate with credentials, I received the "Access Denied" error message.
Steps to Reproduce
Please confirm that you are running the most recent version of dbatools
Yes I am
Other details or mentions
No response
What PowerShell host was used when producing this error
Windows PowerShell (powershell.exe), Windows PowerShell ISE (powershell_ise.exe), VS Code (terminal), VS Code (integrated terminal)
PowerShell Host Version
5
SQL Server Edition and Build number
2019, 2022 all versions
.NET Framework Version
4.8
The text was updated successfully, but these errors were encountered: