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
Describe the bug
An error is generated, using version 1.9.1, for missing variable $adfi when trying to remove a credential that is no longer in config files.
It appears on line 16 $adfi should be $adfInstance which then generates the error inside of Remove-AdfObject.ps
Exception: /home/runner/.local/share/powershell/Modules/azure.datafactory.tools/1.9.1/private/Remove-AdfObject.ps1:134
Line |
134 | throw $ErrorMessage
| ~~~~~~~~~~~~~~~~~~~
| The variable '$adfi' cannot be retrieved because it has not been set.
Error: Process completed with exit code 1.
To Reproduce
Your script to reproduce the behaviour:
1. Create credential
2. Deploy nothing
3. See error
Expected behaviour
Credential was deleted
Screenshots
If applicable, add screenshots to help explain your problem.
Version of PowerShell module of:
ver 1.9.1
Provide all files to reproduce the issue
Attach at least log file (you can wipe out any potentially sensitive info)
Attach files of objects which are involved in the process
The text was updated successfully, but these errors were encountered:
Describe the bug
An error is generated, using version 1.9.1, for missing variable $adfi when trying to remove a credential that is no longer in config files.
It appears on line 16 $adfi should be $adfInstance which then generates the error inside of Remove-AdfObject.ps
azure.datafactory.tools/private/Remove-AdfObjectRestAPI.ps1
Line 16 in 517d2f0
To Reproduce
Your script to reproduce the behaviour:
Expected behaviour
Credential was deleted
Screenshots
If applicable, add screenshots to help explain your problem.
Version of PowerShell module of:
Provide all files to reproduce the issue
The text was updated successfully, but these errors were encountered: