MicrosoftDocs / msteams-docs

Source for the Microsoft Teams developer platform documentation.
https://aka.ms/teamsdev
Creative Commons Attribution 4.0 International
285 stars 508 forks source link

Unable to create Azure Bot using M365 Developer Account #10856

Closed xib closed 5 months ago

xib commented 5 months ago

Steps to reproduce

I am following this turorial Create Teams conversation bot using a M365 Developer Account as described here However, upon reaching to Create your bot step, I am not able to create an Azure Bot.

When select Azure Bot and click Create, I am presented with this page:

image

I think it could be due to: the M365 developer program sets up a developer Azure Active Directory (AAD) tenant, but it does not include an Azure subscription. Is it correct? If yes, the tutorial leads reader to a wrong step. Otherwise, I may miss a step somewhere along the way. Would anyone be able to help?

Expected behavior

Create an Azure Bot page should display.

Actual behavior

Welcome to Azure! page displayed with options to subscribe to Azure. However, none of the options would work since I am accessing using M365 Developer Account as instructed in the first step.

Error details

Not able to create Azure bot.

microsoft-github-policy-service[bot] commented 5 months ago

Hi xib! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Prasad-MSFT commented 5 months ago

Hi @xib - Yes, you are correct in your assumption. The issue you are facing while trying to create an Azure Bot using your M365 Developer Account could be due to the fact that the M365 developer program sets up a developer Azure Active Directory (AAD) tenant, but it does not include an Azure subscription by default. To create an Azure Bot, you need an Azure subscription to provision Azure resources to host your Teams app. If you do not have an Azure subscription, you will not have the necessary permissions to create an app in Azure Active Directory, which is required to create the bot.

Ref: 1.https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app

  1. https://learn.microsoft.com/en-gb/azure/bot-service/bot-service-quickstart-registration?view=azure-bot-service-4.0&tabs=userassigned
xib commented 5 months ago

Hi @Prasad-MSFT, thanks for the clear explanation. I wish the Prerequisites on M365 developer account to be clearer to avoid this. Thanks.

Prasad-MSFT commented 5 months ago

Thanks for responding back. We will check and will try to update to avoid confusion. We are closing this issue for now. Please feel free to reopen if required.

microsoft-github-policy-service[bot] commented 5 months ago

Tell us about your experience!

Hi xib! This issue is closed in our system. We would like your feedback on your experience with our support team and Platform.

Best regards, Teams Platform