Error Activating Azure Stack in Disconnected Mode

Aperta
#593 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@rakku-ms ci sta già lavorando.

Dal 1/4/2021.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

When attempting to Activate an Azure Stack running in disconnected mode, I'm receiving the following error when using the 'New-AzsActivationResource' cmdlet:

Cannot bind argument to parameter 'ActivationKey' because it is an empty string.

The variable of $ActivationKey is correctly populated using Get-Content -Path 'keyfile.txt'

The issue looks to be in the 'RegisterWithAzure.psm1' module at line 1557.

Launching my own PEP session and using the adjusted command below allowed me to successfully register the stack:

Invoke-Command -Session $session -ArgumentList $ActivationKey { New-AzureStackActivation -ActivationKey $args[0] -TimeoutInSeconds 1800}

Lingua principale
PowerShell
Stelle
260
Fork
283
Merge medio
2h 11m
PR unite (30g)
1

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/AzureStack-Tools

Tutte le issue di Azure/AzureStack-Tools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.