@Leo Messi - The error message suggests that the client secret parameter is missing. The client secret is a credential used to authenticate the bot with the Azure AD. To resolve this issue, you need to provide the client secret in the appropriate location.
In the context of the sample code provided, the client secret is typically stored in the .env
file or as an environment variable. You can find the .env
file in the sample code repository you mentioned (https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/meetings-notification/nodejs/.env
).
To add the client secret, follow these steps:
- Open the .env file in the sample code repository.
- Look for the
MicrosoftAppId
andMicrosoftAppPassword
properties. - Replace the value of
MicrosoftAppPassword
with your client secret.
Here is an example of how the .env
file should look:
MicrosoftAppId=<<MICROSOFT_APP_ID>>
MicrosoftAppPassword=<<MICROSOFT_APP_PASSWORD>>
BaseUrl=<<BaseURL>>
Thanks,
Nivedipa
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.