Found this article which is exactly the issue Im having with Microsoft Live streaming and NGINX
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f10d243a-265e-4344-bcda-582820711f65/nginx-relay-to-rtmp-azure-ingest-will-not-work-perhaps-bad-url-format-stream-key-what-am-i?forum=MediaServices
It seems that there is something that MS does if the stream is relayed through NGINX. unfortuntley the sytnax using the push command with the app switch makes no difference in my case ie
push rtmp://kebnu7wpt7uceeshq6mgh6z2ma-streamaase1su011-aase.channel.media.azure.net:1935 app=live/app568faf35XXXXXXXXXXXX2bffd6f77;
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f10d243a-265e-4344-bcda-582820711f65/nginx-relay-to-rtmp-azure-ingest-will-not-work-perhaps-bad-url-format-stream-key-what-am-i?forum=MediaServices
It seems that there is something that MS does if the stream is relayed through NGINX. unfortuntley the sytnax using the push command with the app switch makes no difference in my case ie
push rtmp://kebnu7wpt7uceeshq6mgh6z2ma-streamaase1su011-aase.channel.media.azure.net:1935 app=live/app568faf35XXXXXXXXXXXX2bffd6f77;