Azure / Azure/azure-cli-extensions

Automating creation of bot channel of 'registration' kind

Open
#359 1 comment 0 reactions 0 assignees View on GitHub
customer-reported extension/botservice Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

I am trying to automate the creation of a registration app in bot channel registration.
After multiple tries, I figured out that we need to create a converged app on https://apps.dev.microsoft.com to provide the appid and password.
To create a bot without appid and password, we need to manually log in to https://microsoft.com/devicelogin and enter a code to authenticate.
So I have a couple of questions here :
1) How to fully automate bot channel registration? Do I need to create a converged app through graph API and use those credentials for registering the app or is there a cleaner way to do it? Why I am not inclined towards this is because, in my opinion, Azure CLI bot extension should provide this functionality by itself simplifying the whole process.
2) Why do we have this constraint of manually creating an app on app.dev or manually authenticating it on devicelogin page? I see that this is not required when manually provisioning a bot channel registration on Azure portal. Are there any future plans to get around these manual steps in future?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.