I'm creating a Job in Azure Scheduler Job Collection. The idea is to drop a message to a queue at a scheduled time. I followed this link to configure the https job but I'm stuck at a point where I need to add a Request Header x-ms-date (or Date) which needs to be "no older than 15 minutes" as per the MS docs.
I have to use the https action type because Azure Scheduler Portal doesn't support Queues created by ARM. Although this can be achieved using Scheduler SDK, we might opt for it as a last resort.
Please let me know if this is possible through the Azure Portal.
Thanks
Instead of using Queue URL, you can create a Shared Access Signature (SAS)
on the queue with at least Add
permission and use that SAS URL. You would use a URL like the following:
https://{account-name}.queue.core.windows.net/{queue-name}/messages?messagettl=3600&se=2016-11-30T18%3A30%3A00Z&sp=raup&sv=2015-12-11&sig={sas-signature}
You would need to specify Content-Type
request header which you can set to application/xml
.
Once you do that, you should see messages showing up in the queue.