Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

deployment run.bat stop first step #126

Closed
ericfalcon opened this issue May 8, 2021 · 4 comments
Closed

deployment run.bat stop first step #126

ericfalcon opened this issue May 8, 2021 · 4 comments

Comments

@ericfalcon
Copy link

If this is about an issue in the guides

Describe the issue
When run the run.bat file, powershell stop befor connect to azure count.
Log-08-05-2021-22-53-53.log

@adbindal
Copy link
Contributor

adbindal commented May 9, 2021

@ericfalcon, Seems like your Powershell isn't able to recognize az command which is added to the shell as a part of Azure CLI installation and hence it is unable to trigger the script. Restarting the Powershell again might be of some help in this case. Also, I believe the prerequisites listed at https://github.com/microsoft/Learn-LTI/blob/main/docs/DEPLOYMENT_GUIDE.md#prerequisites are completed in your environment?

Once Azure CLI is installed, we can use az version command to test whether az is available in current powershell instance.

@leestott
Copy link
Contributor

leestott commented May 11, 2021

@ericfalcon did this resolve your issue?

Translation of your error from the log file.
Exception.Message [ The term "az" is not recognized as a command applet name, function, script file, or executable program. Check the spelling of the name, or if a path exists, check that the path is correct and try again. ]
[ 08/05/2021 22:53:53 ] - [ERROR] - Exception.Type [ System.Management.Automation.CommandNotFoundException ]

To run the install you need the Azure Command Line Extension tool installed see Instructions at: https://docs.microsoft.com/cli/azure/install-azure-cli-windows?tabs=azure-cli for instructions.

Once you have the CLI installed the AZ cmd will work

@leestott
Copy link
Contributor

@ericfalcon Hi did the instructions unblock you and did you manage to get the LTI Application successfully installed? Can we close the issue?

@leestott
Copy link
Contributor

leestott commented Jun 7, 2021

@ericfalcon we have not had a response so presume updating the CLI tools has fixed your issue. Please reopen this issue if you still have a problem

@leestott leestott closed this as completed Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants