79306263

Date: 2024-12-24 18:20:39
Score: 0.5
Natty:
Report link

Using the password grant type for generating bearer tokens is not recommended for production environments due to security concerns and issues like password expiration. Instead, you should send activity feed notifications through the Microsoft Graph API, which uses the client credentials flow to obtain an access token from Azure AD.

Ref Doc: https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/send-activity-feed-notification?tabs=desktop#send-activity-feed-notifications-to-users

Reasons:
  • No code block (0.5):
Posted by: Nivedipa-MSFT