Getting Bash Errors When Publishing Function

Luisa Rojales 0 Reputation points
2024-07-26T11:36:37.1566667+00:00

Hello!

I'm following the instructions for this exercise related to the Azure AI Document Intelligence Learning Path - https://learn.microsoft.com/en-gb/training/modules/build-form-recognizer-custom-skill-for-azure-cognitive-search/4-exercise-build-deploy

I've already reached the section, "Publish the Function". However, with this command (func azure functionapp publish <FunctionName> --python), replacing <FunctionName> with the actual function name from the previous steps results in either of the two errors.Publish Function Error 1

Could it be an outdated command? Or could it be due to incorrectly setting up the resources? In the first step, the command is as follows: cd doc-intelligence/Labfiles/04-custom-skill/

bash setup.sh

But, I received this error:Publish Function Error 2

Are these two related or is this second error different, and we're expected to rename the provision service?

Thank you!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,097 questions
Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,712 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.