Need to create windows nodejs policy

22689742
21
Reputation points
I am working on nodejs windows policy to use latest node js version.
policy worrking for linux using web.linuxfxversion but i see null for windowsFxversion.
I dont see nodeversion and webnodedefault_version
Anybody has sample for nodejs windows.
{count} votes
@22689742 Just following up to see if you have a chance to check my previous response and help us out with requested information to check and assist you better on this.
I deployed nodejs web app windows. i want policy to deploy latest version.
But i dont see any parameter for node version in json view. WindowsFX and nodeversion showing null.
I need to know how to use WEBNODE_DEFAULT_VERSION as per screenshot attached. This info is in configuration and application setting. Need to use that to add in policy
I cannot use below snippet.
@22689742 Thanks for sharing more information, apologize for the delay in my response. Just want to check and get clarity that this policy should validate whether the functionapp is running with latest windows version or not for the existing function.
@22689742 ,
I hope the answer helps. Please let me know if you have any further queries.
Please accept as Yes if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.
Sign in to comment
1 answer
Sort by: Most helpful
@22689742 Thanks for your patience on this. I have checked with Functions engineering team and they have confirmed that application settings are not policy addressable.
Configuring the azure policy to check or update the existing functions are running with latest version is not possible for windows webapps since apps running on windows app service plan Nodejs version is dependent on application settings.
I would suggest you raise feedback request here Azure Functions · Community and our engineering team actively monitor this feedback as well.
Feel free to reach back to me if you have any further questions on this.
Sign in to comment