Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupt file DeployProcFwkComponents.ps1? #103

Open
gkwittrock opened this issue Feb 18, 2021 · 0 comments
Open

Corrupt file DeployProcFwkComponents.ps1? #103

gkwittrock opened this issue Feb 18, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gkwittrock
Copy link

Describe the bug
After downloading and extracting the current zip file (Code => Download Zip) on running DeployProcFwkComponents.ps1 the deployment fails with this message:
"Publish-procfwkadf : The term 'New-AdfPublishOption' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Bluetooth\Repos\procfwk-master\procfwk-master\DeploymentTools\DataFactory\DeployProcFwkComponents.ps1:76 char:1

  • Publish-procfwkadf -resourceGroupName 'rg-pademo' -dataFactoryName ' ...
  •   + CategoryInfo          : ObjectNotFound: (New-AdfPublishOption:String) [Publish-procfwkadf], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException,Publish-procfwkadf "
    
    

Taking a closer look at the referenced section of the code (uploaded snapshot) has me wondering if there is a problem with that file as it basically hardcodes resourceGroupName, dataFactoryName, and region:

Publish-procfwkadf -resourceGroupName 'rg-pademo' -dataFactoryName 'adf-metadata-driven-proc' -region 'uksouth' `
-adfPath "$AdfPath" -scriptPath "$scriptPath"

image

Affected services
Which resource within the processing framework does this affect?

  • Data Factory/Synapse

To Reproduce
Steps to reproduce the behavior:

  1. unzip procfwk-master.zip
  2. open solution file
  3. right-click on DeploymentTools/DataFactory/DeployProcFwkComponents.ps1 -> open with PowerShell ISE
  4. update parameter values with your own
  5. save file
  6. run from PowerShell ISE

Expected behavior
I expect the script to complete successfully and update the DataFactory portion of the Synapse instance referenced for attributes passed into the script

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@gkwittrock gkwittrock added the bug Something isn't working label Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants