Describe the bug
Deleting a credential is passing in a Force parameter but that parameter generates:
Exception: /home/runner/.local/share/powershell/Modules/azure.datafactory.tools/1.4.0/private/Remove-AdfObject.ps1:125
Line |
125 | throw $ErrorMessage
| ~~~~~~~
| A parameter cannot be found that matches parameter name 'Force'.
Error: Process completed with exit code 1.
Describe the bug Deleting a credential is passing in a Force parameter but that parameter generates:
Exception: /home/runner/.local/share/powershell/Modules/azure.datafactory.tools/1.4.0/private/Remove-AdfObject.ps1:125 Line | 125 | throw $ErrorMessage |
~~~~~~~ | A parameter cannot be found that matches parameter name 'Force'. Error: Process completed with exit code 1.https://github.com/Azure-Player/azure.datafactory.tools/blob/master/private/Remove-AdfObjectRestAPI.ps1#L6 Has only three parameters and Force is not one of them.
This is called by the following which is passing a Force parameter https://github.com/Azure-Player/azure.datafactory.tools/blob/master/private/Remove-AdfObject.ps1#L82