Skip to content

(NotFound) Error retrieving function. for az functionapp show #83

@SigveMartin

Description

@SigveMartin

After seemingly successfull zip deployment of functions from local /publish.zip

az functionapp deployment source config-zip --resource-group MyResourceGroupName --name myfunctionappname --src "./publish.zip"
returning:

`Getting scm site credentials for zip deployment
Starting zip deployment. This operation can take a while to complete ...
Deployment endpoint responded with status code 202

{
"active": false,
"author": "N/A",
"author_email": "N/A",
"complete": true,
"deployer": "ZipDeploy",
"end_time": "2022-11-23T15:09:03.5679832Z",
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"is_readonly": true,
"is_temp": false,
"last_success_end_time": "2022-11-23T15:09:03.5679832Z",
"log_url": "https://myfunctionappname.scm.azurewebsites.net/api/deployments/latest/log",
"message": "Created via a push deployment",
"progress": "",
"provisioningState": "Succeeded",
"received_time": "2022-11-23T15:08:54.3218891Z",
"site_name": "myfunctionappname",
"start_time": "2022-11-23T15:08:55.931373Z",
"status": 4,
"status_text": "",
"url": "https://myfunctionappname.scm.azurewebsites.net/api/deployments/latest"
}

I tried to run the commands to verify the success:

az functionapp function show --resource-group MyResourceGroupName --name myfunctionappname --function-name ProcessDTRoutedData

which is returning:

(NotFound) Error retrieving function. Code: NotFound Message: Error retrieving function.
I also tried to verify in the azure portal, but the functions are not listed there either. Not sure what to do next or how to debug.

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions