azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

az webapp up --resource-group {} --sku {} --name {}` not working

Open itshemant09 opened this issue 7 years ago • 2 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az webapp up

Errors:

[Errno 2] No such file or directory: '/home/itshemant09/mslearn-secure-app-with-oidc-and-azure-ad/WebApp-OpenIDConnect-DotNet.csproj'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 603, in execute
    raise ex
cli/core/commands/__init__.py, ln 661, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
...
python3.6/xml/etree/ElementTree.py, ln 1196, in parse
    tree.parse(source, parser)
python3.6/xml/etree/ElementTree.py, ln 586, in parse
    source = open(source, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/home/itshemant09/mslearn-secure-app-with-oidc-and-azure-ad/WebApp-OpenIDConnect-DotNet.csproj'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az webapp up --resource-group {} --sku {} --name {}

Expected Behavior

Environment Summary

Linux-4.15.0-1057-azure-x86_64-with-debian-stretch-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.72 *

Additional Context

itshemant09 avatar Sep 16 '19 21:09 itshemant09

Are you running the command from the directory where the code is & from the error message does this exist? /home/itshemant09/mslearn-secure-app-with-oidc-and-azure-ad/WebApp-OpenIDConnect-DotNet.cspro

panchagnula avatar Sep 16 '19 21:09 panchagnula

Thanks , Its resolved with your help

itshemant09 avatar Sep 16 '19 22:09 itshemant09