We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXCEPTION: Operation returned an invalid status code 'TooManyRequests' Exception : Type : Microsoft.Rest.HttpOperationException Request : Method : GET RequestUri : https://api.powerbi.com/v1.0/myorg/admin/groups?$expand=users%2Cdatasets&$top=5000&$skip=60000 Headers : Authorization : … User-Agent : MicrosoftPowerBIMgmt/1.2.1111.0 Response : StatusCode : TooManyRequests ReasonPhrase : Too Many Requests Content : {"message":"You have exceeded the amount of requests allowed in the current time frame and further requests will fail. Retry in 3392 seconds."} Headers : Cache-Control : no-store, must-revalidate, no-cache Pragma : no-cache Retry-After : 3392 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Frame-Options : DENY X-Content-Type-Options : nosniff RequestId : 67ffe5da-b0c9-418c-81c7-78c25671cdc1 request-redirected : true home-cluster-uri : https://wabi-north-europe-d-primary-redirect.analysis.windows.net/ Date : Tue, 03 Dec 2024 07:58:27 GMT Content-Length : 143 Content-Type : application/json; charset=utf-8 TargetSite : Name : MoveNext DeclaringType : Microsoft.PowerBI.Api.V2.Groups+d__17, Microsoft.PowerBI.Api, Version=2.14.0.20029, Culture=neutral, PublicKeyToken=31bf3856ad364e35 MemberType : Method Module : Microsoft.PowerBI.Api.dll Message : Operation returned an invalid status code 'TooManyRequests' Source : Microsoft.PowerBI.Api HResult : -2146233088 StackTrace : at Microsoft.PowerBI.Api.V2.Groups.GetGroupsAsAdminWithHttpMessagesAsync(String expand, String filter, Nullable1 top, Nullable1 skip, Dictionary2 customHeaders, CancellationToken cancellationToken) at Microsoft.PowerBI.Api.V2.GroupsExtensions.GetGroupsAsAdminAsync(IGroups operations, String expand, String filter, Nullable1 top, Nullable1 skip, CancellationToken cancellationToken) at Microsoft.PowerBI.Api.V2.GroupsExtensions.GetGroupsAsAdmin(IGroups operations, String expand, String filter, Nullable1 top, Nullable1 skip) at Microsoft.PowerBI.Common.Api.Workspaces.WorkspacesClient.GetWorkspacesAsAdmin(String expand, String filter, Nullable1 top, Nullable1 skip) at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.<>c__DisplayClass57_0.<ExecuteCmdletWithAll>b__0(Int32 top, Int32 skip) at Microsoft.PowerBI.Common.Client.PowerBIGetCmdlet.ExecuteCmdletWithAll[T](Func3 GetData) at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.ExecuteCmdletWithAll() at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.ExecuteCmdlet() at Microsoft.PowerBI.Commands.Common.PowerBICmdlet.ProcessRecord() TargetObject : Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace CategoryInfo : WriteError: (Microsoft.PowerBI.C…GetPowerBIWorkspace:GetPowerBIWorkspace) [Get-PowerBIWorkspace], HttpOperationException FullyQualifiedErrorId : Operation returned an invalid status code 'TooManyRequests',Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace InvocationInfo : MyCommand : Get-PowerBIWorkspace ScriptLineNumber : 56 OffsetInLine : 23 HistoryId : 1 ScriptName : C:\home\site\wwwroot\Scripts\Fetch - DataSetRefresh.ps1 Line : $workspaces = Get-PowerBIWorkspace -Scope Organization -All -Include Datasets PositionMessage : At C:\home\site\wwwroot\Scripts\Fetch - DataSetRefresh.ps1:56 char:23 + … orkspaces = Get-PowerBIWorkspace -Scope Organization -All -Include Da … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PSScriptRoot : C:\home\site\wwwroot\Scripts PSCommandPath : C:\home\site\wwwroot\Scripts\Fetch - DataSetRefresh.ps1 InvocationName : Get-PowerBIWorkspace CommandOrigin : Internal ScriptStackTrace : at , C:\home\site\wwwroot\Scripts\Fetch - DataSetRefresh.ps1: line 56 at , C:\home\site\wwwroot\DatasetRefreshTimer\run.ps1: line 28 PipelineIterationInfo : 12/3/2024, 1:30:08 PM Error Result: Failure Exception: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Operation returned an invalid status code 'TooManyRequests' Stack: at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.Runspaces.Pipeline.Invoke() at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection1 input, PSDataCollection1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, IList1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeT at Microsoft.Azure.Functions.PowerShellWorker.PowerShell.PowerShellExtensions.InvokeAndClearCommands[T](PowerShell pwsh) in D:\a_work\1\s\src\PowerShell\PowerShellExtensions.cs:line 45 at Microsoft.Azure.Functions.PowerShellWorker.PowerShell.PowerShellManager.ExecuteUserCode(Boolean addPipelineOutput, IDictionary outputBindings) in D:\a_work\1\s\src\PowerShell\PowerShellManager.cs:line 320 at Microsoft.Azure.Functions.PowerShellWorker.PowerShell.PowerShellManager.InvokeFunction(AzFunctionInfo functionInfo, Hashtable triggerMetadata, TraceContext traceContext, RetryContext retryContext, IList`1 inputData, FunctionInvocationPerformanceStopwatch stopwatch, OpenTelemetryInvocationContext otelContext) in D:\a_work\1\s\src\PowerShell\PowerShellManager.cs:line 250 at Microsoft.Azure.Functions.PowerShellWorker.RequestProcessor.InvokeFunction(AzFunctionInfo functionInfo, PowerShellManager psManager, FunctionInvocationPerformanceStopwatch stopwatch, InvocationRequest invocationRequest) in D:\a_work\1\s\src\RequestProcessor.cs:line 366 at Microsoft.Azure.Functions.PowerShellWorker.RequestProcessor.ProcessInvocationRequestImpl(StreamingMessage request, AzFunctionInfo functionInfo, PowerShellManager psManager, FunctionInvocationPerformanceStopwatch stopwatch) in D:\a_work\1\s\src\RequestProcessor.cs:line 335
1 top, Nullable
2 customHeaders, CancellationToken cancellationToken) at Microsoft.PowerBI.Api.V2.GroupsExtensions.GetGroupsAsAdminAsync(IGroups operations, String expand, String filter, Nullable
1 skip, CancellationToken cancellationToken) at Microsoft.PowerBI.Api.V2.GroupsExtensions.GetGroupsAsAdmin(IGroups operations, String expand, String filter, Nullable
1 skip) at Microsoft.PowerBI.Common.Api.Workspaces.WorkspacesClient.GetWorkspacesAsAdmin(String expand, String filter, Nullable
1 skip) at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.<>c__DisplayClass57_0.<ExecuteCmdletWithAll>b__0(Int32 top, Int32 skip) at Microsoft.PowerBI.Common.Client.PowerBIGetCmdlet.ExecuteCmdletWithAll[T](Func
1 input, PSDataCollection
1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, IList
The text was updated successfully, but these errors were encountered:
HI Rui Looking for your support, still we are facing issue on [DatasetRefreshTimer]
Sorry, something went wrong.
No branches or pull requests
EXCEPTION: Operation returned an invalid status code 'TooManyRequests' Exception : Type : Microsoft.Rest.HttpOperationException Request : Method : GET RequestUri : https://api.powerbi.com/v1.0/myorg/admin/groups?$expand=users%2Cdatasets&$top=5000&$skip=60000 Headers : Authorization : … User-Agent : MicrosoftPowerBIMgmt/1.2.1111.0 Response : StatusCode : TooManyRequests ReasonPhrase : Too Many Requests Content : {"message":"You have exceeded the amount of requests allowed in the current time frame and further requests will fail. Retry in 3392 seconds."} Headers : Cache-Control : no-store, must-revalidate, no-cache Pragma : no-cache Retry-After : 3392 Strict-Transport-Security : max-age=31536000; includeSubDomains X-Frame-Options : DENY X-Content-Type-Options : nosniff RequestId : 67ffe5da-b0c9-418c-81c7-78c25671cdc1 request-redirected : true home-cluster-uri : https://wabi-north-europe-d-primary-redirect.analysis.windows.net/ Date : Tue, 03 Dec 2024 07:58:27 GMT Content-Length : 143 Content-Type : application/json; charset=utf-8 TargetSite : Name : MoveNext DeclaringType : Microsoft.PowerBI.Api.V2.Groups+d__17, Microsoft.PowerBI.Api, Version=2.14.0.20029, Culture=neutral, PublicKeyToken=31bf3856ad364e35 MemberType : Method Module : Microsoft.PowerBI.Api.dll Message : Operation returned an invalid status code 'TooManyRequests' Source : Microsoft.PowerBI.Api HResult : -2146233088 StackTrace : at Microsoft.PowerBI.Api.V2.Groups.GetGroupsAsAdminWithHttpMessagesAsync(String expand, String filter, Nullable
1 top, Nullable
1 skip, Dictionary2 customHeaders, CancellationToken cancellationToken) at Microsoft.PowerBI.Api.V2.GroupsExtensions.GetGroupsAsAdminAsync(IGroups operations, String expand, String filter, Nullable
1 top, Nullable1 skip, CancellationToken cancellationToken) at Microsoft.PowerBI.Api.V2.GroupsExtensions.GetGroupsAsAdmin(IGroups operations, String expand, String filter, Nullable
1 top, Nullable1 skip) at Microsoft.PowerBI.Common.Api.Workspaces.WorkspacesClient.GetWorkspacesAsAdmin(String expand, String filter, Nullable
1 top, Nullable1 skip) at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.<>c__DisplayClass57_0.<ExecuteCmdletWithAll>b__0(Int32 top, Int32 skip) at Microsoft.PowerBI.Common.Client.PowerBIGetCmdlet.ExecuteCmdletWithAll[T](Func
3 GetData) at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.ExecuteCmdletWithAll() at Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace.ExecuteCmdlet() at Microsoft.PowerBI.Commands.Common.PowerBICmdlet.ProcessRecord() TargetObject : Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace CategoryInfo : WriteError: (Microsoft.PowerBI.C…GetPowerBIWorkspace:GetPowerBIWorkspace) [Get-PowerBIWorkspace], HttpOperationException FullyQualifiedErrorId : Operation returned an invalid status code 'TooManyRequests',Microsoft.PowerBI.Commands.Workspaces.GetPowerBIWorkspace InvocationInfo : MyCommand : Get-PowerBIWorkspace ScriptLineNumber : 56 OffsetInLine : 23 HistoryId : 1 ScriptName : C:\home\site\wwwroot\Scripts\Fetch - DataSetRefresh.ps1 Line : $workspaces = Get-PowerBIWorkspace -Scope Organization -All -Include Datasets PositionMessage : At C:\home\site\wwwroot\Scripts\Fetch - DataSetRefresh.ps1:56 char:23 + … orkspaces = Get-PowerBIWorkspace -Scope Organization -All -Include Da … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PSScriptRoot : C:\home\site\wwwroot\Scripts PSCommandPath : C:\home\site\wwwroot\Scripts\Fetch - DataSetRefresh.ps1 InvocationName : Get-PowerBIWorkspace CommandOrigin : Internal ScriptStackTrace : at , C:\home\site\wwwroot\Scripts\Fetch - DataSetRefresh.ps1: line 56 at , C:\home\site\wwwroot\DatasetRefreshTimer\run.ps1: line 28 PipelineIterationInfo :12/3/2024, 1:30:08 PM
Error
Result: Failure Exception: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Operation returned an invalid status code 'TooManyRequests' Stack: at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.Runspaces.Pipeline.Invoke() at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection
1 input, PSDataCollection
1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection1 input, PSDataCollection
1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, IList
1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeT at Microsoft.Azure.Functions.PowerShellWorker.PowerShell.PowerShellExtensions.InvokeAndClearCommands[T](PowerShell pwsh) in D:\a_work\1\s\src\PowerShell\PowerShellExtensions.cs:line 45 at Microsoft.Azure.Functions.PowerShellWorker.PowerShell.PowerShellManager.ExecuteUserCode(Boolean addPipelineOutput, IDictionary outputBindings) in D:\a_work\1\s\src\PowerShell\PowerShellManager.cs:line 320 at Microsoft.Azure.Functions.PowerShellWorker.PowerShell.PowerShellManager.InvokeFunction(AzFunctionInfo functionInfo, Hashtable triggerMetadata, TraceContext traceContext, RetryContext retryContext, IList`1 inputData, FunctionInvocationPerformanceStopwatch stopwatch, OpenTelemetryInvocationContext otelContext) in D:\a_work\1\s\src\PowerShell\PowerShellManager.cs:line 250 at Microsoft.Azure.Functions.PowerShellWorker.RequestProcessor.InvokeFunction(AzFunctionInfo functionInfo, PowerShellManager psManager, FunctionInvocationPerformanceStopwatch stopwatch, InvocationRequest invocationRequest) in D:\a_work\1\s\src\RequestProcessor.cs:line 366 at Microsoft.Azure.Functions.PowerShellWorker.RequestProcessor.ProcessInvocationRequestImpl(StreamingMessage request, AzFunctionInfo functionInfo, PowerShellManager psManager, FunctionInvocationPerformanceStopwatch stopwatch) in D:\a_work\1\s\src\RequestProcessor.cs:line 335The text was updated successfully, but these errors were encountered: