Issues with getting team info using Graph

Pedro Monte 101 Reputation points
2022-05-27T10:56:30.987+00:00

I created a new team and when using the Microsoft Graph endpoint to get the team information responds "No team found with Group Id d1ff1cc5-43a9-4a1c-94ab-xxxxxxx"

EndPoind: GET "https://graph.microsoft.com/v1.0/teams/d1ff1cc5-43a9-4a1c-94ab-xxxxxxx" - NOT WORKING

EndPoint: GET "https://graph.microsoft.com/v1.0/groups/d1ff1cc5-43a9-4a1c-94ab-xxxxxxx" - IS WORKING

For old teams is working but for new fresh teams are not.

Yesterday was working, today is not.

I tested creating the team using the API and using Teams UI and the result is the same.
Also when on the endpoint /me/joinedTeams the teams are not listed.

206127-grapherror.jpg

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,254 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,844 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,921 questions
{count} vote

Accepted answer
  1. Jon Miller 81 Reputation points
    2022-05-27T15:08:17.273+00:00

    I just spotted this and am experiencing the same thing today. Except in my case, it is only Teams that are being provisioned themselves via Graph API that are not working with the GET /teams endpoint. To replicate, use the Graph Explorer and https://graph.microsoft.com/v1.0/teams POST request (with required body) and then this Team cannot be found via the GET request, nor can it be found in /me/joinedTeams.

    I'm assuming there must be backend issues if something that has worked for months, suddenly has stopped and on the same day as someone else here.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Prasad-MSFT 5,781 Reputation points Microsoft Vendor
    2022-05-27T11:45:17.95+00:00

    We tried to repro the issue by following below steps, but its working perfectly fine for us.

    1. Created a team
      206146-image.png
    2. Run the query to get team info
      206212-image.png

    Please check it might be taking sometime to reflect that the team is created.
    FYI , the team is also being shown by using /me/joinedTeams endpoint.
    206194-image.png

    Thanks,

    Prasad Das


    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.


  2. AtulThorat-MSFT 391 Reputation points
    2022-05-27T13:24:30.217+00:00

    Hi @Pedro Monte ,

    Hope you are doing well.

    As per documentation team-get and group-get we can get the team and group details as shown below.

    206263-teams-details.png

    206203-groups-details.png

    Also with GET https://graph.microsoft.com/v1.0/me/joinedTeams API we are able to see that team listed out is response as shown below.

    206215-joined-teams.png

    So we are not able to reproduce this issue in our tenant.

    Hope this helps.

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