Forum Discussion
Workspace reconfiguration via ARM or Powershell?
Hi yoavfrancis thanks for the reply.
I think I may just need some clarification.
Is the POST doing anything different than the following would?
nathanmitten Apologies for the delay.
Set-AzSecurityWorkspaceSetting controls in which workspace to save the data, in case auto provisioning was enabled (with Set-AzSecurityAutoProvisioningStatus). In case you're using auto provisioning with managed workspaces ('default' workspaces), no need to call Set-AzSecurityWorkspaceSetting at all.
Neither of the above PowerShell cmdlets take care of reconnecting the VMs in case you move from auto provisioning on default workspace to auto provisioning on a central workspace. In order to reconnect the VMs you'll need to explicitly make a POST call to the URI I mentioned in my last post:
Thanks,
Yoav