When trying to retrieve a service principal an error occurs:
% azure ad sp -c my-app
error: '-c' is not an azure command. See 'azure help'
It appears it should be: azure ad sp show -c my-app
The blog article is also incorrect here. Also, this article has two step 1's in the "Set up credentials" section. And the invoke command is incorrect:
% serverless invoke function -f httpjs
WARNING: You are running v1.7.0. v1.8.0 will include the following breaking changes:
- Will replace IamPolicyLambdaExecution resource with inline policies -> https://git.io/vDilm
- "sls info" will output the short function name rather than the lambda name -> https://git.io/vDiWx
You can opt-out from these warnings by setting the "SLS_IGNORE_WARNING=*" environment variable.
Serverless Error ---------------------------------------
Command "invoke function" not found, Run "serverless
help" for a list of all available commands.
Stack Trace --------------------------------------------
ServerlessError: Command "invoke function" not found, Run "serverless help" for a list of all available commands
When trying to retrieve a service principal an error occurs:
It appears it should be:
azure ad sp show -c my-app
The blog article is also incorrect here. Also, this article has two step 1's in the "Set up credentials" section. And the invoke command is incorrect:
Appears it should be:
serverless invoke -f httpjs