You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 3, 2025. It is now read-only.
Use az bot publish to publish a bot, and get back JSON that is not user friendly and not immediately clear on if the publish succeeded or not.
Expected behavior
A message on if the publish succeeded or failed should appear.
Additional context
Code from azure-cli-extensions botservice:
ifoutput.get('active'):
logger.info('Deployment successful!')
ifnotoutput.get('active'):
scm_url=output.get('url')
deployment_id=output.get('id')
# Instead of replacing "latest", which would could be in the bot name, we replace "deployments/latest"deployment_url=scm_url.replace('deployments/latest', 'deployments/%s'%deployment_id)
logger.error('Deployment failed. To find out more information about this deployment, please visit %s.'%deployment_url)
Tool
Name: Azure CLI
Version: 2.0.53
Describe the bug
az bot publishoutput is not user friendly.To Reproduce
Use
az bot publishto publish a bot, and get back JSON that is not user friendly and not immediately clear on if the publish succeeded or not.Expected behavior
A message on if the publish succeeded or failed should appear.
Additional context
Code from azure-cli-extensions botservice:
[bug]