-
Notifications
You must be signed in to change notification settings - Fork 363
Azure site command no longer exists in latest cli. #3245
Comments
Change the CLI mode to ASM using |
@niemyjski - does this answer your question? Do you need more assistance? |
Yes, that fixes it, it wasn't clear at all via the help docs or the wiki for this. May I suggest updating the cli to detect commands that are in one mode and not the other and have error output written that lets you know it's available in a different mode. |
I was just going to edit the wiki to talk about this: https://github.com/projectkudu/kudu/wiki/Custom-Deployment-Script but it's locked :( (the community can't help you improve the docs). |
Could someone add a quick note about the mode |
There are so many tutorials and pages that talk about |
@amarzavery Thank you for pointing about mode. But when you follow one of the hundred tutorials online, there is no mode involved. I even searched something like "azure-cli webapp site" to see if it got renamed or something. When searching for the |
@jsgoupil - We completely understand your situation. We shall try to improve the help. Currently, when you execute the help (-h | --help | help) of any command it displays the current mode. May be adding more info about changing the mode (azure config mode asm | azure config mode arm) would help. Btw, we also have a new python based CLI (which only supports ARM (Version V2 of the Azure API) based services over here. This CLI is in public preview right now. |
We recently made an improvement here (see PR #3424) that will ship in the next release Do note that this change simply makes the help text a bit more friendlier, it does not actually verify if the command is legal under any mode. We believe this hint is sufficient to resolve confusions that arise due to mode. Please let us know what you think. |
Fixed with #3424 |
for whom still have this issue you can switch mode to asm using command |
Azure site
command no longer exists as shown here: https://github.com/projectkudu/kudu/wiki/Custom-Deployment-ScriptI looked through the docs and there doesn't seem to be a way to generate it using the latest cli
The text was updated successfully, but these errors were encountered: