workspacesettings
Hi Kristian,
Your template seems to be solution I'm looking for but I'm not able to set up workspace using resource "Microsoft.Security/workspaceSettings". To be 100% sure that I'm passing correct values I've used the same Request Body as I provided in ARM template in REST API PUT method and it has worked for me here : https://docs.microsoft.com/en-us/rest/api/securitycenter/workspacesettings/create.
But when I'm trying to use VS for template deployment I'm constantly receiving this error: "error": { "code": "BadRequest", "message": "" }
by exploring API for microsft.security provider I have found also setting for Microsoft.Security/autoProvisioningSettings, I think that would be useful to enable this during deployment, but I got exact same error as above.
Hey - there were some issues with the APIs recently. Can you retry and let me know if you are still running into this?
Thx!
but it is working perfectly when calling API directly. But I will try it again and let you know.
Still bad request from API
12:07:57 - Template deployment returned the following errors: 12:07:57 - 12:07:50 PM - Resource Microsoft.Security/workspaceSettings 'default' failed with message '{ 12:07:57 - "error": { 12:07:57 - "code": "BadRequest", 12:07:57 - "message": "" 12:07:57 - } 12:07:57 - }'
@KKnapik @krnese Running into this and wondering if a root cause had ever been determined.
I had this issue too when deploying using New-AzResourceGroupDeployment and then a colleague pointed out that this needs to be subscription scoped. Using New-AzDeployment works.