title: Managed application botService channel, CHANNEL_NOT_SUPPORTED error
body: <p>I'm working on managed application that should contain a bot for the teams application.</p>
  <p>At the moment the bot resources look like this:</p>
  <pre><code>    {
          &quot;type&quot;: &quot;Microsoft.BotService/botServices&quot;,
          &quot;name&quot;: &quot;[concat(parameters('webAppName'), '-bs')]&quot;,
          &quot;kind&quot;: &quot;azurebot&quot;,
          &quot;apiVersion&quot;: &quot;2022-06-15-preview&quot;,
          &quot;location&quot;: &quot;global&quot;,
          &quot;sku&quot;: {
              &quot;name&quot;: &quot;F0&quot;
          },
          &quot;dependsOn&quot;: [
              &quot;[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('userAssignedIdentityName'))]&quot;,
              &quot;[resourceId('Microsoft.Web/sites', variables('webAppName'))]&quot;
          ],
          &quot;properties&quot;: {
              &quot;displayName&quot;: &quot;[parameters('webAppName')]&quot;,
              &quot;msaAppType&quot;: &quot;MultiTenant&quot;,
              &quot;msaAppId&quot;: &quot;[reference(resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', variables('userAssignedIdentityName')), '2018-11-30').clientId]&quot;,
              &quot;endpoint&quot;: &quot;[concat('https://', parameters('webAppName'), '.azurewebsites.net', '/api/v1/messages')]&quot;
          }
      },
      {
          &quot;type&quot;: &quot;Microsoft.BotService/botServices/channels&quot;,
          &quot;apiVersion&quot;: &quot;2022-06-15-preview&quot;,
          &quot;name&quot;: &quot;[concat(parameters('webAppName'), '-bs/', '-tc')]&quot;,
          &quot;location&quot;: &quot;global&quot;,
          &quot;sku&quot;: {
              &quot;name&quot;: &quot;F0&quot;
          },
          &quot;kind&quot;: &quot;azurebot&quot;,
          &quot;properties&quot;: {
              &quot;channelName&quot;: &quot;MsTeamsChannel&quot;,
              &quot;properties&quot;: {
                  &quot;isEnabled&quot;: true
              }
          },
          &quot;dependsOn&quot;: [
              &quot;[resourceId('Microsoft.BotService/botServices', concat(parameters('webAppName'), '-bs'))]&quot;
          ]
      }
  </code></pre>
  <p>The <code>Microsoft.BotService/botServices/channels</code> part is causing the issue:</p>
  <pre><code>{
      &quot;status&quot;: &quot;Failed&quot;,
      &quot;error&quot;: {
          &quot;code&quot;: &quot;ApplianceDeploymentFailed&quot;,
          &quot;message&quot;: &quot;The operation to create appliance failed. Please check operations of deployment 'olwa11119' under resource group '/subscriptions/19...truncated...14/resourceGroups/mrg-test_managed_medx_app-previ-20220924201448'. Error message: 'At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.'&quot;,
          &quot;details&quot;: [
              {
                  &quot;code&quot;: &quot;BadRequest&quot;,
                  &quot;message&quot;: &quot;{\r\n  \&quot;error\&quot;: {\r\n    \&quot;code\&quot;: \&quot;CHANNEL_NOT_SUPPORTED\&quot;,\r\n    \&quot;message\&quot;: \&quot;Channel is not supported\&quot;\r\n  }\r\n}&quot;
              }
          ]
      }
  }
  </code></pre>
  <p>Any tips how can i fix this? Thanks in advance.</p>