stgeorgi / wvdquickstart

26 stars 31 forks source link

Variable not found. #20

Closed ecarrascom closed 3 years ago

ecarrascom commented 3 years ago

Hi,

I get an error when the wizzard is launched:

Get-AutomationVariable : Variable not found. To create this Variable, navigate to the Variables blade and create a Variable named: principalId. Refer doc for more details (https://docs.microsoft.com/en-us/azure/automation/shared-resources/variables#create-and-get-a-variable) At line:25 char:16 + $principalId = Get-AutomationVariable -Name 'principalId' + ~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (:) [Get-AutomationVariable], AssetManagementClientException + FullyQualifiedErrorId : 3,Orchestrator.AssetManagement.Cmdlets.GetAutomationVariableCmdlet

Get-AutomationVariable : Variable not found. To create this Variable, navigate to the Variables blade and create a Variable named: ObjectId. Refer doc for more details (https://docs.microsoft.com/en-us/azure/automation/shared-resources/variables#create-and-get-a-variable) At line:34 char:13 + $ObjectId = Get-AutomationVariable -Name 'ObjectId' + ~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (:) [Get-AutomationVariable], AssetManagementClientException + FullyQualifiedErrorId : 3,Orchestrator.AssetManagement.Cmdlets.GetAutomationVariableCmdlet

thx regards

stgeorgi commented 3 years ago

Which wizard is this?