OfficeDev / Microsoft-Teams-Samples

Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
MIT License
904 stars 730 forks source link

bot-proactive-messaging-teamsfx does not need an AAD app #1311

Open blackchoey opened 2 weeks ago

blackchoey commented 2 weeks ago

The https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-proactive-messaging-teamsfx sample seems not calling external APIs in the code. So it does not need an AAD app. Below step in teamsapp.yml and teamsapp.local.yml could be removed to avoid creating an AAD app. https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-proactive-messaging-teamsfx/teamsapp.yml#L13-L25 Other AAD app related content like the AAD app manifest also needs to be removed.

microsoft-github-policy-service[bot] commented 2 weeks ago

Hi @blackchoey! 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

Nivedipa-MSFT commented 2 weeks ago

@blackchoey - Thanks for reporting your issue. We are not quite clear on your issue, could you please provide more details on your issue? As per our understanding in order to send proactive messages using bot, AAD app is required. right?

Nivedipa-MSFT commented 1 week ago

@blackchoey - Could you please provide more details on your issue to investigate further?

blackchoey commented 1 week ago

@Nivedipa-MSFT The sample does not need this step: https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/bot-proactive-messaging-teamsfx/teamsapp.yml#L13-L25. I'm suggesting to remove this step to avoid possible confusions. There's customer asking why this sample need to create that AAD app.

Nivedipa-MSFT commented 1 week ago

@blackchoey - We are checking this internally, we will update you soon.