Forum Discussion

gregsmith_ie's avatar
gregsmith_ie
Copper Contributor
Jul 02, 2020

Read Teams channels using Graph API as a b2b or guest user

Using the following Graph API endpoint, as a guest user I am unable to see which teams I am a part of.

 

GET /v1.0/me/joinedTeams HTTP/1.1

 

I receive this response from the API:

 

 

{
  "error": {
    "code": "Forbidden",
    "message": "User Login. Teams is disabled for your tenant.",
    "innerError": {
      "date": "2020-07-02T06:38:56",
      "request-id": "d632e493-7ffb-4260-878f-4ac931f0936b"
    }
  }
}

 

 

 

The organization for the user in question does have Teams enabled, and I am able to access Teams externally through the app.

 

I have checked the JWT associated with the Graph API request, and tenant ID or tid matches the organization ID where I am a guest.

 

I have a solution working for a non-guest account (an account that belongs to the tenant).

 

Is what I am trying to achieve possible using the current version Graph API?

Resources