HI all, I am struggling with a small issue.
We are running Azure Virtual Desktop POC, and we do not have a static IP assigned to the hosts. We also use Cisco Umbrella as our proxy for users, and I would like to update the network address of the Virtual Desktops in Umbrella.
Cisco suggest using either the Dynamic update tool, or an API.
We can't log in to the OpenDNS dynamic update tool as we use SAML authentication, so Cisco support have suggested using the API.
Which is all good and well - but the API is a shell command - and I'm not sure how I can run this on a windows server as scheduled task, and ideally do not want to setup the Linux subsystem in windows on the Azure Virtual Desktops.
Details of the API commands are here - https://developer.cisco.com/docs/cloud-security/#!dynamic-network-update-getting-started/response-codes
curl -i -X PUT 'https://updates.opendns.com/nic/update?hostname=<Umbrella network name>' \ -H 'Authorization: Basic %YourEncodedUsernamePassword%' \ -H 'Content-Type: application/json'
The command they have suggested in Shell is
'