microsoftgraph / msgraph-sdk-serviceissues

Tracks service issues for follow up.
5 stars 0 forks source link

Issue with fetching site info of a microsoft teams group #84

Open vijramkar opened 4 years ago

vijramkar commented 4 years ago

I am trying to fetch the site info of a Microsoft teams group using c# API. I had written this code sometime in November and it was working fine then. But now the call fails with a status code of 500 and Internal server error.

       GraphServiceClient graphClient;
       .
       .  
       .                 
       Site siteInfo = graphClient.Groups["groupId"].Sites["root"].Request().GetAsync().GetAwaiter().GetResult();

When I try the following GET request "https://graph.microsoft.com/beta/groups/{GroupId}/sites/root" using Postman I get the below error,

{ "error": { "code": "generalException", "message": "An unspecified error has occurred.", "innerError": { "request-id": "5c969a0e-aeca-451d-a832-6d538e278773", "date": "2020-01-03T10:56:22" } } }

Even this request used to work previously from Postman but it stopped working now. I checked the app permissions and they are fine and have remained unchanged since they were working earlier. However, this request now works fine with GraphExplorer.

I see the same issue mentioned in this post : "https://stackoverflow.com/questions/59139666/sharepoint-returns-general-exception-an-unspecified-error-has-occurred" but I don't think the solution they have mentioned would help me here.

Posted same in stack overflow : https://stackoverflow.com/questions/59578276/issue-with-fetching-site-info-of-a-microsoft-teams-group

Can someone please help or redirect me to the right thread? AB#7268

petrhollayms commented 7 months ago

Thank you for reporting this issue. This appears to be an issue or limitation with the service APIs. Unfortunately, as the Microsoft Graph SDK team, we do not have ownership of the APIs that are causing you issues. We invite you to create a question about the service API to Microsoft Q&A and tagged with one of the [microsoft-graph-*] tags, that way it will get routed to the appropriate team for them to triage:

https://aka.ms/msgraphsupport or directly https://aka.ms/askgraph

For now, we will close the issue on our side but feel free to open it in the relevant repository if you think the issue is specific to SDK. Please let us know if this helps!

Note: We will close this repository on April 19, 2024.