solliancenet / azure-synapse-analytics-ga-content-packs Goto Github PK
View Code? Open in Web Editor NEWReadiness content packs for Azure Synapse Analytics features released at GA.
Readiness content packs for Azure Synapse Analytics features released at GA.
When I run the script in my cloud shell , this line return empty password and so the sql scripts didn't run
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)
}
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
https://github.com/solliancenet/azure-synapse-analytics-ga-content-packs/blob/main/hands-on-labs/setup/asa-workspace-deploy.md
When executing .\environment-setup.ps1:
Create KeyVault linked service asagakeyvault...
AzureResponseError: Failed to connect to MSI. Please make sure MSI is configured correctly.
Get Token request returned: <Response [400]>
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
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>
_
Hello appreciate for keeping the documentation.
i was trying to open the media file hosted in Streams and it's not available.
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.