Git Product home page Git Product logo

azure-synapse-analytics-ga-content-packs's People

Contributors

ciprianjichici avatar codingbandit avatar joelhulen avatar kcris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azure-synapse-analytics-ga-content-packs's Issues

error when running the setup script

Hello,

After deploying the synapse workspace, at step 'Run the global setup script in Cloud Shell', I get an error 'Cannot bind argument to 'String' because it is null'.

I think because of that, I can`t find the app registration or the key vault secret to continue the lab. Any advice please?

error

Error running environment-setup.ps1 second

When I run the script in my cloud shell , this line return empty password and so the sql scripts didn't run

$global:sqlPassword = $(Get-AzKeyVaultSecret -VaultName $keyVaultName -Name $keyVaultSQLUserSecretName).SecretValueText

I changed to make it work

$secret = Get-AzKeyVaultSecret -VaultName "asagakeyvaultpietrobr1" -Name "SQL-USER-ASA"
$ssPtr = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($secret.SecretValue)
try {
$global:sqlPassword = [System.Runtime.InteropServices.Marshal]::PtrToStringBSTR($ssPtr)
} finally {
[System.Runtime.InteropServices.Marshal]::ZeroFreeBSTR($ssPtr)
}

issues creating automation environment setup

Hi team,

I'm facing some issues while running the deployment of environment-setup.ps1 it seems that there is an underlying folder structure which is not part of the script. It looks for "..asa/hands-on-labs/templates/.json" however I have "asa/hands-on-labs/setup/templates/.json" same for sql and datasets. Is there something I am missing here?

Where to update the path in case it is just on my end? An example of one of the errors attached. Thanks, Sanja
ghissue-sj

Error running environment-setup.ps1

I have and error running the last step of the PS file,

$app = (az ad sp create-for-rbac -n "Azure Synapse Analytics GA Labs" --skip-assignment) | ConvertFrom-Json

$secretValue = ConvertTo-SecureString $app.password -AsPlainText -Force
Set-AzKeyVaultSecret -VaultName $keyVaultName -Name "ASA-GA-LABS" -SecretValue $secretValue

Looking into my Active Directory I see that an application with the same name already exists, so I think that also the this name must be unique with the prefix used for the setup.

For now I have created a new one by hand, not sure if it works correctly for the remaining part of the lab

Issue with running .\environment-setup.ps1

When I run .\environment-setup.ps1 I get following errors:

Create SQL logins in master SQL pool
Invoke-Sqlcmd: /home/michael/asa/hands-on-labs/setup/solliance-synapse-automation/solliance-synapse-automation.psm1:1099
Line |
1099 | … atabase $sqlPoolName -Username $sqlUser -Password $global:sqlPassword
| ~~~~~~~~~~~~~~~~~~~
| Cannot validate argument on parameter 'Password'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

Create SQL users and role assignments in SQLPool01
Invoke-Sqlcmd: /home/michael/asa/hands-on-labs/setup/solliance-synapse-automation/solliance-synapse-automation.psm1:1099
Line |
1099 | … atabase $sqlPoolName -Username $sqlUser -Password $global:sqlPassword
| ~~~~~~~~~~~~~~~~~~~
| Cannot validate argument on parameter 'Password'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

Create schemas in SQLPool01
Invoke-Sqlcmd: /home/michael/asa/hands-on-labs/setup/solliance-synapse-automation/solliance-synapse-automation.psm1:1099
Line |
1099 | … atabase $sqlPoolName -Username $sqlUser -Password $global:sqlPassword
| ~~~~~~~~~~~~~~~~~~~
| Cannot validate argument on parameter 'Password'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.

Create tables in the [wwi] schema in SQLPool01
Invoke-Sqlcmd: /home/michael/asa/hands-on-labs/setup/solliance-synapse-automation/solliance-synapse-automation.psm1:1099
Line |
1099 | … atabase $sqlPoolName -Username $sqlUser -Password $global:sqlPassword
| ~~~~~~~~~~~~~~~~~~~
| Cannot validate argument on parameter 'Password'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
........................................................................................................................................

Also at the end I get:
Preparing environment for labs
ConvertTo-SecureString: /home/michael/asa/hands-on-labs/setup/automation/environment-setup.ps1:424
Line |
424 | $secretValue = ConvertTo-SecureString $app.password -AsPlainText -For …
| ~~~~~~~~~~~~~
| Cannot bind argument to parameter 'String' because it is null.

Set-AzKeyVaultSecret: /home/michael/asa/hands-on-labs/setup/automation/environment-setup.ps1:425
Line |
425 | … VaultName $keyVaultName -Name "ASA-GA-LABS" -SecretValue $secretValue
| ~~~~~~~~~~~~
| Cannot bind argument to parameter 'SecretValue' because it is null.

PS /home/michael/asa/hands-on-labs/setup/automation>
_

Error creating Synaspe Workspace

Hi I'm trying to launch the deploy from the setup document using ARM.

Testing deploying both in West Europe and North Europe. Suffix is pietrobr.

I get always failed deploy with a conflict "Error" on the Azure Synapse workspace.

If I look at activity log
Operation name
Create or Update Workspaces.
Time stamp
Wed Dec 09 2020 18:16:48 GMT+0100 (Central European Standard Time)
Event initiated by
-----@-----
Error code
ResourceOperationFailure
Message
The resource operation completed with terminal provisioning state 'Failed'.

If I manually create an Azure Synapse Analytics on my subscription it works just fine.

====
Update: if I don't change any parameters of the template for deployment (setting only the prefix), the deployment seems to complete successfully.

I guess it could be a problem with SQL Pool password, that I changed in my first run with the region.

I will do some more tests tomorrow.

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.