App didn't worked as expected

IBN 4,316 Reputation points


Please i need your help on this issue.

I have a user who a global Admin having a problem with App permission.

The App was added in azure for permissions and he has access to the Public teams Channel.

He was expecting to get a message using Microsoft GraphQL API call but he got the error below

'error': { 'code': 'Forbidden', 'message': 'Unknown Error', 'inner Error': { 'date': '2022-06-30T00:48:11', 'request-id': '25360f0f-xxxx-xxxx-xxxx-78fa36f30f1c', 'client-request-id': '25360f0f-xxxx-xxxx-xxxx-78fa36f30f1c' } } }

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
8,657 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,939 questions
{count} votes

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,886 Reputation points

    Hi @IBN

    Based on the information you've provided, it seems you're trying to get the list of messages in a channel of team in which you're not a member. Please make sure you use Application Permissions and have request access to use this Protected API.


    Please fill this request form for the same.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments