Only just noticed that over a year ago the "Registration Time to Live" was able to be increased from 90 days to forever. I want to configure live hubs to maximum, but it can't be edited in the portal, something has to be written to do it.
I use the hub rest APIs extensively in Powershell and there's a PUT API to Update Notification Hub;
https://{namespace}.servicebus.windows.net/{Notification Hub}?api-version=2015-01
Haven't used this particular API previously and can't seem to figure out exactly how to get it to work in Powershell (already sorted with the authorization token).
Is there anyone out there prepared to share a Powershell example showing the correct parameters, in particular the structure of the request body, to effect the RTL change on a notification hub..?
It's only a oncer, because new hubs are created with the default unlimited RTL.
Any help most appreciated. Cheers!