Mar 02 2020
08:39 AM
- last edited on
Feb 01 2023
10:33 AM
by
TechCommunityAP
Mar 02 2020
08:39 AM
- last edited on
Feb 01 2023
10:33 AM
by
TechCommunityAP
Hi All,
We are running a program to create a office 365 group using Microsoft graph (Graph client - latest stable version) via a Azure AD App. The same program tries to fetch the root site of the group.
The app has enough permissions to perform both operations and the code was executing. Recently the following line started breaking
var grpSite = await graphClient.Groups[grpId].Sites["root"].Request().GetAsync();
return grpSite;
The error message is as follows
Microsoft.Graph.ServiceException: Code: tooManyRetries
Message: More than 3 retries encountered while sending the request.
Only the calls related to fetching sites are failing - we are using V1.0 graph API.
Any pointers will be much appreciated.
Thanks,
Goutham
Mar 02 2020 11:53 PM
I think the problem is caused by the throttling
https://docs.microsoft.com/en-us/graph/throttling
Thanks
Apr 15 2020 09:25 AM
SolutionThis is a bug. One of the group permissions is creating this issue. Can't recall exactly which one was in my case - I think it was Group.Selected. As soon you remove the problematic permission the error should be gone.
Apr 15 2020 09:25 AM
SolutionThis is a bug. One of the group permissions is creating this issue. Can't recall exactly which one was in my case - I think it was Group.Selected. As soon you remove the problematic permission the error should be gone.