An Azure service that provides an event-driven serverless compute platform.
@研修 太郎 Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
I understand that you are facing an issue where a function resource is not generated after changing from a Consumption plan to a Premium plan. The CLI shows success, but the function is not generated.
Please follow the below action plan for now:
- Please confirm if you used the
az functionapp deployment source config-zipCLI command to perform the deployment. More info about the Zip deployment through CLI. Did you try with most recent CLI version (2.53.0) ? - Did you try restarting the function app and check if that makes a difference ?
- Could you please make sure that the
d:\home\data\SitePackages(Windows) or/home/data/SitePackages(Linux) folder has a file namedpackagename.txt ?This file contains only the name, without any whitespace, of the package file in this folder that's currently running. - Open the
d:\home\site\wwwroot(Windows) or/home/site/wwwrootand then navigate to your function app folder and check if your updated code is present here. This step is to isolate that you deployment is done successfully. - Could you please perform the deployment as mentioned in this document and check if that helps ? If you have tried it already try publishing with
func azure functionapp publishcommand (see here) and check if that makes a difference. - Could you please try setting ``SCM_DO_BUILD_DURING_DEPLOYMENT
totrue`and then deploy using AzCLI and check if that helps. - Could you please let me know if you are seeing the error
function is unreachableon the function app portal ?
If none of the above action plan helps, please try creating a new function app and then try deploying to the newly created function app and check if that works.
**
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.