# Unable to push live RTMP to Microsoft Stream

**URL:** https://community.wowza.com/t/unable-to-push-live-rtmp-to-microsoft-stream/92326
**Category:** Wowza Streaming Engine
**Created:** [November 11, 2020, 6:44pm UTC](https://community.wowza.com/t/unable-to-push-live-rtmp-to-microsoft-stream/92326 "2020-11-11T18:44:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ferenc\_Marki](https://avatars.discourse-cdn.com/v4/letter/f/f08c70/32.png) [@Ferenc\_Marki](https://community.wowza.com/u/Ferenc_Marki)
#### Post date: [November 11, 2020, 6:44pm UTC](https://community.wowza.com/t/unable-to-push-live-rtmp-to-microsoft-stream/92326/1 "2020-11-11T18:44:08Z")

</div>

Hi,

We are trying to stream to Microsoft Stream service, but it fails. If I use the full rtmp address in our AJA HELO hardware encoder, it works fine.

MS gives me the following syntax for RTMP ingest:

**rtmp://2qbkr5k44i3ee5kmf26iv4yqmc-streameuwe1su021-euwe.channel.media.azure.net:1935/live/3716a33cf96640619b2dc286af4a4ae1**

where the leading and trailing “values” change all the time. ☹

That’s the error, what we are getting:

**PushPublishRTMP.sessionClosed[[Microsoft Stream - IB028] rtmp://2qbkr5k44i3ee5kmf26iv4yqmc-streameuwe1su021-euwe.channel.media.azure.net:1935/live/3716a33cf96640619b2dc286af4a4ae1]: RTMP session closed unexpectedly. Retrying in 3000 msec**

We also added **howToPublish:“live”** what we found in an earlier similar post, but this didn’t help.

So that’s the current PushPublishMap.txt file:  
**ib028={“entryName”:“Microsoft Stream - IB028”, “profile”:“rtmp”, “debugPackets”:“true”, “application”:“live”, “debugLog”:“true”, “destinationName”:“rtmp”, “host”:“[bk3qyc5k66f7u2cbf442kw5flc-streameuwe1su011-euwe.channel.media.azure.net](http://bk3qyc5k66f7u2cbf442kw5flc-streameuwe1su011-euwe.channel.media.azure.net)”, “streamName”:“7c463ff47d9641dc8ed0c90a14757ead”, “howToPublish”:“live”, “enabled”:“true”}**

We are on Wowza Streaming Engine 4.8.5

Any help would be appreciated,  
Thank you

---

<div class="post-metadata">

### Author: ![Alok\_Kumar2](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@Alok\_Kumar2](https://community.wowza.com/u/Alok_Kumar2)
#### Post date: [September 5, 2023, 4:44am UTC](https://community.wowza.com/t/unable-to-push-live-rtmp-to-microsoft-stream/92326/2 "2023-09-05T04:44:22Z")

</div>

Just in case anyone trying this out, this is how the entry needs to be made

ptz.stream={“entryName”:“Azure media service”, “profile”:“rtmp”, “application”:“live/40f52fe265794cd980b094d1774473fd”, “debugLog”:“true”, “host”:“usacam-\*\*\*\*-use2.channel.media.azure.net”, “streamName”:“40f52fe265794cd980b094d1774473fd”, “enabled”:“true”}
