Hi Retallack, Mark (YU UK DOP INN),
Thanks for reaching out.
This API has licensing and payment requirements****. It supports both model=A
and model=B
query parameters. If no model is specified, evaluation mode will be used.
Since you have mentioned model=B in your resource, it means that you are using model B payment plan for this Paid API. In order to use paid API, you have to link your app to azure subscription. You can refer to this link to get more details.
https://learn.microsoft.com/en-us/graph/teams-licenses
In order to use this API for free you can try evaluation mode that is by removing /model=B from your code in resource. (However, this will work until evaluation quota is reached.)
Another option is to use other resources which are free like creating subscription to all the messages in a particular team's channel as shown in the document at following link.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".