I deploy my solution and get the same result. Modify the ServiceDefinition.csdef file in the Cloud Service project to call the startup task:.Set-AzureServiceAntimalwareExtension -ServiceName "myservicename" -AntimalwareConfiguration -Slot "Production" Add to the same folder the powershell script startup.ps1:.\Startup\startup.ps1 > "c:\logs\startup_ps_log.txt" Powershell -ExecutionPolicy Unrestricted. Add to this folder startup.cmd file with the following:.Create Startup folder in the main web project. So I am trying to enable this by default. As a background, deploying from Visual Studio to a Cloud Service in Azure will reset anti-malware back to original state (disabled). OK, so this is a revised post as I can see some down-votes and the solution, for me, is still not working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |