azure-rest-api-specs
azure-rest-api-specs copied to clipboard
nextLink is not working for list storage accounts api
Hi,
I have 2000+ storage accounts in my subscription and I am getting nextLink in response while using following api-
https://management.azure.com/subscriptions/xxxxxxxxxx/providers/Microsoft.Storage/storageAccounts?api-version=2021-01-01
This gives me partial list of storage accounts and nextLink to fetch next storage accounts with skip token as follows-.
https://management.azure.com/subscriptions/xxxxxxxxxxx/providers/Microsoft.Storage/storageAccounts?api-version=2021-01-01&%24skiptoken=xxxxxxxxx
Using above nextLink I am getting following error message-
{
"error": {
"code": "ProviderError",
"message": "Resource provider 'Microsoft.Storage' failed to return collection response for type 'storageAccounts'."
}
}
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.
Issue Details
Hi,
I have 2000+ storage accounts in my subscription and I am getting nextLink in response while using following api-
https://management.azure.com/subscriptions/xxxxxxxxxx/providers/Microsoft.Storage/storageAccounts?api-version=2021-01-01
This gives me partial list of storage accounts and nextLink to fetch next storage accounts with skip token as follows-.
https://management.azure.com/subscriptions/xxxxxxxxxxx/providers/Microsoft.Storage/storageAccounts?api-version=2021-01-01&%24skiptoken=xxxxxxxxx
Using above nextLink I am getting following error message-
{
"error": {
"code": "ProviderError",
"message": "Resource provider 'Microsoft.Storage' failed to return collection response for type 'storageAccounts'."
}
}
| Author: | shraddhaagrawal |
|---|---|
| Assignees: | ruowan |
| Labels: |
|
| Milestone: | - |
@tonykjose , @zfchen95 Would you please help to look at this issue?
@shraddhaagrawal Would you please share the server request ID in the responds? We need search server log with it to investigate this issue.
Hi , Is there any update regarding the cause of this issue? I faced the same issue 10 days ago (currently I am not facing it)
I'm getting the same error - is this due to rate limiting?
Resource provider 'Microsoft.Storage' failed to return collection response for type 'storageAccounts'
@chrisdoman , @ariel-mar
This is a server issue, would you like to report the server issue in Azure Portal as following picture, then the related server team will come to help you.
It's better to attach a recent network trace of the failed request (hide credential), it will help server team to investigate this issue.

Thankyou, will do.
Hey @chrisdoman and @shraddhaagrawal We are experiencing the same issue. Did you resolve this issue? If so, how?
In case anyone lands on this in future, when @green-digger and I were suffeing this issue, we contacted Azure support and the solution was to reregistre the Microsoft.Storage resource provider in the subscription:
az provider register --namespace Microsoft.Storage
This took about a second to run after which all worked