Azure-Samples/MyDriving

Powershell script errors

im281 opened this issue · 0 comments

im281 commented

Hello,
I get the following errors when trying to run the deply.ps1 script. Also, I get the error below when tring to start the mydrivingsqlbi server. Also the readme doc says this but the script never asks me to enter anything:

Before the Machine Learning workspaces are imported, you'll be asked to provide the thumbprint of your Azure management certificate. Paste in the thumbprint and press [Enter] to continue. If you press [Enter] directly, the script will attempt to sign in using AAD. You can use the latter option if you are the owner of your subscription.

Here is a warning/error I get

New-AzureRmResourceGroupDeployment : 7:24:55 AM - Template output evaluation skipped: at least one resource deployment
operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
At C:\MyDriving\scripts\PowerShell\deploy.ps1:147 char:16

  • ... ployment2 = New-AzureRmResourceGroupDeployment -Name "$DeploymentName ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
    • FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
      loymentCmdlet

New-AzureRmResourceGroupDeployment : 7:24:55 AM - Template output evaluation skipped: at least one resource deployment
operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.
At C:\MyDriving\scripts\PowerShell\deploy.ps1:147 char:16

  • ... ployment2 = New-AzureRmResourceGroupDeployment -Name "$DeploymentName ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
    • FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
      loymentCmdlet

WARNING: Skipping the storage and database initialization...
C:\MyDriving\scripts\PowerShell\deploy.ps1 : At least one resource could not be provisioned successfully. Review the
output above to correct any errors and then run the deployment script again.
At line:1 char:1

  • .\deploy.ps1 "westUS" mydrivingiot
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,deploy.ps1
    
    

Also when trying to start the sql server for the mydriving-sqlpbi
I get the following error:
SteamAnalytics has validation errors: powerbisink query not defined