Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue connecting to share #3

Open
dextraa9791 opened this issue May 4, 2021 · 1 comment
Open

Issue connecting to share #3

dextraa9791 opened this issue May 4, 2021 · 1 comment

Comments

@dextraa9791
Copy link

So i followed this guide https://jrudlin.github.io/2019-09-02-windows-virtual-desktop-azure-devops-ci-cd-packer-build-and-release/ and its building the image fine, except that it gives an error when connecting to the Azure file Share through powershell.

https://pastebin.com/yu6P1Uq2 This is my config.json file

The error i am getting:
==> azure-arm: Provisioning with Powershell...
==> azure-arm: Provisioning with powershell script: C:\Users\VSSADM~1\AppData\Local\Temp\powershell-provisioner098073359
==> azure-arm: AppInstallsStorageAccountName : The term 'AppInstallsStorageAccountName' is not recognized as the name of a cmdlet,
==> azure-arm: function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
==> azure-arm: At C:\Windows\Temp\script-60911f9d-8fde-ee90-1cbb-1aeff1ba219d.ps1:3 char:20
==> azure-arm: + $Usr='AzureAD'+"$(AppInstallsStorageAccountName)"
==> azure-arm: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm: + CategoryInfo : ObjectNotFound: (AppInstallsStorageAccountName:String) [], ParentContainsErrorRecordException
==> azure-arm: + FullyQualifiedErrorId : CommandNotFoundException

Any clue where i misconfigured something?

@jrudlin
Copy link
Owner

jrudlin commented Jul 25, 2021

Hi @dextraa9791 did you get this resolved? Sorry it took my a while to get back to you.

"The term 'AppInstallsStorageAccountName' is not recognized as the name of a cmdlet"

There seems to be an issue with the formatting of the PowerShell referencing the AppInstallsStorageAccountName. Did you fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants