SOLVED

AzureAD cmdlets return error 'Too Many Requests'

Copper Contributor

Hello everyone,

We are having some unusual experiences lately with different cmdlets used in Azure & / O365, in different scripts or just in basic admin tasks.

We keep receiving throttling errors and I can't comprehend what is happening as this was not the case in the past.

Is anyone going through this or are you aware of any changes that could influence the behavior?

 

 

 

5 Replies
Hello Ramona,
How many requests until you hit that error?
What version of the AzureADPreview are you using?
Hi Andres,

Thank you for your reply.
I don't know precisely how many requests until I hit the error. It seemed to be sporradic to me, I did not really count. I have some thousands of users in the tenant tho and the cmdlet should iterate through all of them..

AzureADPreview version is 2.0.2.138.
best response confirmed by ramonabadea (Copper Contributor)
Solution
Hi Ramona,

It seems this is also submitted against the Graph SDK PowerShell repo

https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/281

That means you are not the only one facing this and in the best scenario someone is working on this (hopefully)

Hello Ramona,
Tried to reproduce but couldn't, maybe because I do not have that quantity of users in my lab tenant, did you have a chance to see the link I shared?
Dear Andres,

Sorry for the very late reply!
Yes, indeed, I checked the link you shared and I am following the topic.
As it doesn't happen in all moments, I will wait for some well desired updates on the github issue.
1 best response

Accepted Solutions
best response confirmed by ramonabadea (Copper Contributor)
Solution
Hi Ramona,

It seems this is also submitted against the Graph SDK PowerShell repo

https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/281

That means you are not the only one facing this and in the best scenario someone is working on this (hopefully)

View solution in original post