question

JosephAbioye avatar image
1 Vote"
JosephAbioye asked MichaelPorter-9242 commented

Cannot read properties of undefined (reading 'getSubscriptionPromptStep')

I was trying to create a new project and a function with Python and always getting the error was I select create new local setting file. The error is

Cannot read properties of undefined (reading 'getSubscriptionPromptStep')

azure-functions
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Me also getting same error

0 Votes 0 ·

I was able to resolve by changing setting.json file property 'azureFunctions.deploySubpath' to my project name.

"azureFunctions.deploySubpath": "projectname",

0 Votes 0 ·

Sorry, You changed deplooy subpath to the string "projectname" or to the actual name of the project? Neither seem to work for me.


205991-image.png


0 Votes 0 ·
image.png (35.6 KiB)

1 Answer

JosephAbioye avatar image
0 Votes"
JosephAbioye answered

I was able to resolve by changing setting.json file property 'azureFunctions.deploySubpath' to my project name.

"azureFunctions.deploySubpath": "projectname",

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.