-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reported
Description
Description
In Azure China when trying to get roleAssignments via Get-AzRoleAssignment -Scope $managementGroupId the cmdlet fails with:
Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
effects 11.3.1
works with 11.2.0
Issue script & Debug output
Get-AzRoleAssignment -Scope /providers/Microsoft.Management/managementGroups/xxxxx
Get-AzRoleAssignment -Scope /subscriptions/xxxxxEnvironment data
Name Value
---- -----
PSVersion 7.3.11
PSEdition Core
GitCommitId 7.3.11
OS Linux 5.15.0-1051-azure #59-Ubuntu SMP Wed Oct 11 18:49:16 UTC 2023
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Module versions
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Script 11.3.1 Az Core,Desk
Script 2.15.1 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCo…
Script 2.9.1 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCo…
Script 2.0.0 Az.Advisor Core,Desk {Disable-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Get…
Script 6.0.1 Az.Aks Core,Desk {Disable-AzAksAddOn, Enable-AzAksAddOn, Get-AzAksCluster, Get-AzAksNo…
Script 1.1.4 Az.AnalysisServices Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, G…
Script 4.0.2 Az.ApiManagement Core,Desk {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Ad…
Script 1.0.0 Az.App Core,Desk {Disable-AzContainerAppRevision, Enable-AzContainerAppRevision, Get-A…
Script 1.3.0 Az.AppConfiguration Core,Desk {Get-AzAppConfigurationStore, Get-AzAppConfigurationStoreKey, New-AzA…
Script 2.2.3 Az.ApplicationInsights Core,Desk {Get-AzApplicationInsights, Get-AzApplicationInsightsApiKey, Get-AzAp…
Script 1.0.0 Az.ArcResourceBridge Core,Desk {Get-AzArcResourceBridge, Get-AzArcResourceBridgeApplianceCredential,…
Script 2.0.0 Az.Attestation Core,Desk {Get-AzAttestationPolicy, Set-AzAttestationPolicy, Reset-AzAttestatio…
Script 1.0.0 Az.Automanage Core,Desk {Get-AzAutomanageBestPractice, Get-AzAutomanageConfigProfile, Get-AzA…
Script 1.10.0 Az.Automation Core,Desk {Export-AzAutomationDscConfiguration, Export-AzAutomationDscNodeRepor…
Script 3.5.0 Az.Batch Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, Ne…
Script 2.0.3 Az.Billing Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, …
Script 3.1.1 Az.Cdn Core,Desk {Clear-AzCdnEndpointContent, Clear-AzFrontDoorCdnEndpointContent, Dis…
Script 2.0.0 Az.CloudService Core,Desk {Get-AzCloudService, Get-AzCloudServiceInstanceView, Get-AzCloudServi…
Script 1.14.1 Az.CognitiveServices Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, G…
Script 7.1.1 Az.Compute Core,Desk {Add-AzImageDataDisk, Add-AzVhd, Add-AzVMAdditionalUnattendContent, A…
Script 1.0.0 Az.ConfidentialLedger Core,Desk {Get-AzConfidentialLedger, New-AzConfidentialLedger, New-AzConfidenti…
Script 4.0.0 Az.ContainerInstance Core,Desk {Add-AzContainerInstanceOutput, Get-AzContainerGroup, Get-AzContainer…
Script 4.1.3 Az.ContainerRegistry Core,Desk {Connect-AzContainerRegistry, Get-AzContainerRegistryManifest, Get-Az…
Script 1.14.0 Az.CosmosDB Core,Desk {Get-AzCosmosDBAccount, Get-AzCosmosDBAccountKey, Get-AzCosmosDBCassa…
Script 0.3.1 Az.CostManagement Core,Desk {Get-AzCostManagementExport, Get-AzCostManagementExportExecutionHisto…
Script 1.1.0 Az.DataBoxEdge Core,Desk {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeD…
Script 1.7.1 Az.Databricks Core,Desk {Get-AzDatabricksAccessConnector, Get-AzDatabricksOutboundNetworkDepe…
Script 1.18.1 Az.DataFactory Core,Desk {Add-AzDataFactoryV2DataFlowDebugSessionPackage, Add-AzDataFactoryV2T…
Script 1.0.3 Az.DataLakeAnalytics Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCre…
Script 1.3.0 Az.DataLakeStore Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedI…
Script 2.2.0 Az.DataProtection Core,Desk {Backup-AzDataProtectionBackupInstanceAdhoc, Edit-AzDataProtectionPol…
Script 1.0.1 Az.DataShare Core,Desk {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAc…
Script 4.3.0 Az.DesktopVirtualization Core,Desk {Disconnect-AzWvdUserSession, Expand-AzWvdMsixImage, Get-AzWvdApplica…
Script 1.1.0 Az.DevCenter Core,Desk {Deploy-AzDevCenterUserEnvironment, Get-AzDevCenterAdminAttachedNetwo…
Script 1.0.2 Az.DevTestLabs Core,Desk {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDt…
Script 1.2.0 Az.Dns Core,Desk {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Se…
Script 1.0.0 Az.ElasticSan Core,Desk {Add-AzElasticSanVolumeGroupNetworkRule, Get-AzElasticSan, Get-AzElas…
Script 1.6.0 Az.EventGrid Core,Desk {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, Ne…
Script 4.2.0 Az.EventHub Core,Desk {New-AzEventHubAuthorizationRuleSASToken, Approve-AzEventHubPrivateEn…
Script 1.10.0 Az.FrontDoor Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoo…
Script 4.0.7 Az.Functions Core,Desk {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctio…
Script 6.1.0 Az.HDInsight Core,Desk {Add-AzHDInsightClusterIdentity, Add-AzHDInsightComponentVersion, Add…
Script 2.0.0 Az.HealthcareApis Core,Desk {Get-AzHealthcareApisService, Get-AzHealthcareApisWorkspace, Get-AzHe…
Script 2.7.5 Az.IotHub Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConn…
Script 5.2.0 Az.KeyVault Core,Desk {Add-AzKeyVaultCertificate, Add-AzKeyVaultCertificateContact, Add-AzK…
Script 2.3.0 Az.Kusto Core,Desk {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, G…
Script 1.0.0 Az.LoadTesting Core,Desk {Get-AzLoad, New-AzLoad, Remove-AzLoad, Update-AzLoad}
Script 1.5.0 Az.LogicApp Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly,…
Script 1.1.3 Az.MachineLearning Core,Desk {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-A…
Script 1.0.0 Az.MachineLearningServices Core,Desk {Get-AzMLServiceQuota, Get-AzMLServiceUsage, Get-AzMLServiceVMSize, G…
Script 1.4.1 Az.Maintenance Core,Desk {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceC…
Script 1.2.0 Az.ManagedServiceIdentity Core,Desk {Get-AzSystemAssignedIdentity, Get-AzUserAssignedIdentity, Get-AzUser…
Script 3.0.0 Az.ManagedServices Core,Desk {Get-AzManagedServicesAssignment, Get-AzManagedServicesDefinition, Ge…
Script 2.0.0 Az.MarketplaceOrdering Core,Desk {Get-AzMarketplaceTerms, Invoke-AzMarketplaceSignTerms, Set-AzMarketp…
Script 1.1.2 Az.Media Core,Desk {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaSer…
Script 2.3.0 Az.Migrate Core,Desk {Get-AzMigrateDiscoveredServer, Get-AzMigrateHCIJob, Get-AzMigrateHCI…
Script 5.0.1 Az.Monitor Core,Desk {Add-AzLogProfile, Add-AzMetricAlertRule, Add-AzMetricAlertRuleV2, Ad…
Script 1.1.1 Az.MySql Core,Desk {Get-AzMySqlConfiguration, Get-AzMySqlConnectionString, Get-AzMySqlFi…
Script 7.4.0 Az.Network Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Add-AzApplication…
Script 1.0.0 Az.NetworkCloud Core,Desk {Deploy-AzNetworkCloudCluster, Disable-AzNetworkCloudStorageAppliance…
Script 1.0.0 Az.Nginx Core,Desk {Get-AzNginxCertificate, Get-AzNginxConfiguration, Get-AzNginxDeploym…
Script 1.1.2 Az.NotificationHubs Core,Desk {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-A…
Script 3.2.0 Az.OperationalInsights Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperation…
Script 1.6.4 Az.PolicyInsights Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-…
Script 1.1.0 Az.PostgreSql Core,Desk {Get-AzPostgreSqlConfiguration, Get-AzPostgreSqlConnectionString, Get…
Script 2.0.0 Az.PowerBIEmbedded Core,Desk {Resume-AzPowerBIEmbeddedCapacity, Suspend-AzPowerBIEmbeddedCapacity,…
Script 1.0.4 Az.PrivateDns Core,Desk {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone,…
Script 6.7.1 Az.RecoveryServices Core,Desk {Add-AzRecoveryServicesAsrReplicationProtectedItemDisk, Backup-AzReco…
Script 1.8.1 Az.RedisCache Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get…
Script 1.2.0 Az.RedisEnterpriseCache Core,Desk {Export-AzRedisEnterpriseCache, Get-AzRedisEnterpriseCache, Get-AzRed…
Script 2.0.0 Az.Relay Core,Desk {Get-AzRelayAuthorizationRule, Get-AzRelayHybridConnection, Get-AzRel…
Script 0.13.0 Az.ResourceGraph Core,Desk {Search-AzGraph, Get-AzResourceGraphQuery, New-AzResourceGraphQuery, …
Script 1.2.0 Az.ResourceMover Core,Desk {Add-AzResourceMoverMoveResource, Get-AzResourceMoverMoveCollection, …
Script 6.15.1 Az.Resources Core,Desk {Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzDenyAssignment,…
Script 0.10.0 Az.Search Core,Desk {New-AzSearchService, Get-AzSearchService, Set-AzSearchService, Remov…
Script 1.5.1 Az.Security Core,Desk {Get-AzSecuritySolution, Get-AzSecuritySolutionsReferenceData, New-Az…
Script 3.1.1 Az.SecurityInsights Core,Desk {Get-AzSentinelAlertRule, Get-AzSentinelAlertRuleAction, Get-AzSentin…
Script 3.0.0 Az.ServiceBus Core,Desk {New-AzServiceBusAuthorizationRuleSASToken, Test-AzServiceBusNameAvai…
Script 3.3.2 Az.ServiceFabric Core,Desk {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricManagedClus…
Script 2.0.0 Az.SignalR Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…}
Script 4.14.0 Az.Sql Core,Desk {Add-AzSqlDatabaseToFailoverGroup, Add-AzSqlElasticJobStep, Add-AzSql…
Script 2.2.0 Az.SqlVirtualMachine Core,Desk {Get-AzAvailabilityGroupListener, Get-AzSqlVM, Get-AzSqlVMGroup, Invo…
Script 2.3.0 Az.StackHCI Core,Desk {Add-AzStackHCIVMAttestation, Disable-AzStackHCIAttestation, Disable-…
Script 1.0.0 Az.StackHCIVM Core,Desk {Add-AzStackHCIVMVirtualMachineDataDisk, Add-AzStackHCIVMVirtualMachi…
Script 6.1.1 Az.Storage Core,Desk {Add-AzRmStorageContainerLegalHold, Add-AzStorageAccountManagementPol…
Script 1.3.0 Az.StorageMover Core,Desk {Get-AzStorageMover, Get-AzStorageMoverAgent, Get-AzStorageMoverEndpo…
Script 2.1.1 Az.StorageSync Core,Desk {Get-AzStorageSyncCloudEndpoint, Get-AzStorageSyncGroup, Get-AzStorag…
Script 2.0.0 Az.StreamAnalytics Core,Desk {Get-AzStreamAnalyticsCluster, Get-AzStreamAnalyticsClusterStreamingJ…
Script 1.0.0 Az.Support Core,Desk {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupp…
Script 3.0.5 Az.Synapse Core,Desk {Add-AzSynapseDataFlowDebugSessionPackage, Add-AzSynapseTriggerSubscr…
Script 1.2.2 Az.TrafficManager Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerC…
Script 3.2.0 Az.Websites Core,Desk {Add-AzWebAppAccessRestrictionRule, Add-AzWebAppTrafficRouting, Edit-…
Manifest 2.1.0 AzTable Desk {Add-AzTableRow, Get-AzTableRow, Get-AzTableRowAll, Get-AzTableRowByP…
Script 1.0.0 EPS Desk Invoke-EpsTemplate
Manifest 2.14.0 Microsoft.Graph Core,Desk
Script 2.14.0 Microsoft.Graph.Applications Core,Desk {Add-MgApplicationKey, Add-MgApplicationPassword, Add-MgServicePrinci…
Script 2.14.0 Microsoft.Graph.Authentication Core,Desk {Connect-MgGraph, Disconnect-MgGraph, Get-MgContext, Invoke-MgGraphRe…
Script 2.14.0 Microsoft.Graph.Bookings Core,Desk {Get-MgBookingBusiness, Get-MgBookingBusinessAppointment, Get-MgBooki…
Script 2.14.0 Microsoft.Graph.Calendar Core,Desk {Get-MgGroupCalendar, Get-MgGroupCalendarEvent, Get-MgGroupCalendarPe…
Script 2.14.0 Microsoft.Graph.ChangeNotifications Core,Desk {Get-MgSubscription, Invoke-MgReauthorizeSubscription, New-MgSubscrip…
Script 2.14.0 Microsoft.Graph.CloudCommunications Core,Desk {Add-MgCommunicationCallLargeGalleryView, Clear-MgCommunicationPresen…
Script 2.14.0 Microsoft.Graph.Compliance Core,Desk {Get-MgCompliance, Get-MgPrivacySubjectRightsRequest, Get-MgPrivacySu…
Script 2.14.0 Microsoft.Graph.CrossDeviceExperie… Core,Desk {Get-MgUserActivity, Get-MgUserActivityCount, Get-MgUserActivityHisto…
Script 2.14.0 Microsoft.Graph.DeviceManagement Core,Desk {Get-MgAdminEdge, Get-MgAdminEdgeInternetExplorerMode, Get-MgAdminEdg…
Script 2.14.0 Microsoft.Graph.DeviceManagement.A… Core,Desk {Clear-MgDeviceManagementManagedDevice, Disable-MgDeviceManagementMan…
Script 2.14.0 Microsoft.Graph.DeviceManagement.A… Core,Desk {Get-MgDeviceManagementApplePushNotificationCertificate, Get-MgDevice…
Script 2.14.0 Microsoft.Graph.DeviceManagement.E… Core,Desk {Get-MgDeviceManagementConditionalAccessSetting, Get-MgDeviceManageme…
Script 2.14.0 Microsoft.Graph.DeviceManagement.F… Core,Desk {Confirm-MgDeviceManagementWindowsEnrollmentAutoDiscovery, Get-MgDevi…
Script 2.14.0 Microsoft.Graph.Devices.CloudPrint Core,Desk {Get-MgPrint, Get-MgPrintConnector, Get-MgPrintConnectorCount, Get-Mg…
Script 2.14.0 Microsoft.Graph.Devices.CorporateM… Core,Desk {Get-MgDeviceAppManagement, Get-MgDeviceAppManagementAndroidManagedAp…
Script 2.14.0 Microsoft.Graph.Devices.ServiceAnn… Core,Desk {Get-MgServiceAnnouncementHealthOverview, Get-MgServiceAnnouncementHe…
Script 2.14.0 Microsoft.Graph.DirectoryObjects Core,Desk {Confirm-MgDirectoryObjectMemberGroup, Confirm-MgDirectoryObjectMembe…
Script 2.14.0 Microsoft.Graph.Education Core,Desk {Get-MgEducationClass, Get-MgEducationClassAssignment, Get-MgEducatio…
Script 2.14.0 Microsoft.Graph.Files Core,Desk {Add-MgDriveListContentTypeCopy, Add-MgDriveListContentTypeCopyFromCo…
Script 2.14.0 Microsoft.Graph.Groups Core,Desk {Add-MgGroupDriveListContentTypeCopy, Add-MgGroupDriveListContentType…
Script 2.14.0 Microsoft.Graph.Identity.Directory… Core,Desk {Confirm-MgContactMemberGroup, Confirm-MgContactMemberObject, Confirm…
Script 2.14.0 Microsoft.Graph.Identity.Governance Core,Desk {Add-MgIdentityGovernanceAccessReviewDefinitionInstanceDecision, Get-…
Script 2.14.0 Microsoft.Graph.Identity.Partner Core,Desk {Get-MgTenantRelationshipDelegatedAdminCustomer, Get-MgTenantRelation…
Script 2.14.0 Microsoft.Graph.Identity.SignIns Core,Desk {Confirm-MgRiskyServicePrincipalCompromised, Confirm-MgRiskyUserCompr…
Script 2.14.0 Microsoft.Graph.Mail Core,Desk {Get-MgUserInferenceClassification, Get-MgUserInferenceClassification…
Script 2.14.0 Microsoft.Graph.Notes Core,Desk {Get-MgGroupOnenoteNotebook, Get-MgGroupOnenoteNotebookCount, Get-MgG…
Script 2.14.0 Microsoft.Graph.People Core,Desk {Get-MgUserLastSharedMethodInsight, Get-MgUserPerson, Get-MgUserPerso…
Script 2.14.0 Microsoft.Graph.PersonalContacts Core,Desk {Get-MgUserContact, Get-MgUserContactCount, Get-MgUserContactExtensio…
Script 2.14.0 Microsoft.Graph.Planner Core,Desk {Get-MgGroupPlanner, Get-MgGroupPlannerPlan, Get-MgGroupPlannerPlanBu…
Script 2.14.0 Microsoft.Graph.Reports Core,Desk {Export-MgReportPartnerBillingUsageBilled, Export-MgReportPartnerBill…
Script 2.14.0 Microsoft.Graph.SchemaExtensions Core,Desk {Get-MgSchemaExtension, Get-MgSchemaExtensionCount, New-MgSchemaExten…
Script 2.14.0 Microsoft.Graph.Search Core,Desk {Add-MgExternalConnectionItemActivity, Get-MgExternal, Get-MgExternal…
Script 2.14.0 Microsoft.Graph.Security Core,Desk {Add-MgSecurityCaseEdiscoveryCaseCustodianHold, Add-MgSecurityCaseEdi…
Script 2.14.0 Microsoft.Graph.Sites Core,Desk {Add-MgSite, Add-MgSiteContentTypeCopy, Add-MgSiteContentTypeCopyFrom…
Script 2.14.0 Microsoft.Graph.Teams Core,Desk {Add-MgChatMember, Add-MgTeamChannelMember, Add-MgTeamMember, Add-MgT…
Script 2.14.0 Microsoft.Graph.Users Core,Desk {Get-MgUser, Get-MgUserCount, Get-MgUserCreatedObject, Get-MgUserCrea…
Script 2.14.0 Microsoft.Graph.Users.Actions Core,Desk {Add-MgUserChatMember, Add-MgUserDriveListContentTypeCopy, Add-MgUser…
Script 2.14.0 Microsoft.Graph.Users.Functions Core,Desk {Export-MgUserDeviceAndAppManagementData, Get-MgAllUserChatMessage, G…
Manifest 3.1.3 Posh-SSH Desk {Get-SCPItem, Get-SFTPItem, New-SFTPSession, New-SSHSession…}
Script 0.4.7 powershell-yaml Desk {ConvertTo-Yaml, ConvertFrom-Yaml, cfy, cty}
Binary 0.8.1 SHiPS Desk
Script 22.2.0 SqlServer Core,Desk {Add-RoleMember, Add-SqlAvailabilityDatabase, Add-SqlAvailabilityGrou…
Script 0.2.1 Trackyon.Utils Desk {Backup-Location, Get-OperatingSystem, New-Directory, Set-As…}
Script 7.15.2 VSTeam Core,Desk {Add-VSTeam, Add-VSTeamAccessControlEntry, Add-VSTeamArea, Add-VSTeam…
Directory: /opt/microsoft/powershell/7/Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Manifest 1.2.5 Microsoft.PowerShell.Archive Desk {Compress-Archive, Expand-Archive}
Manifest 7.0.0.0 Microsoft.PowerShell.Host Core {Start-Transcript, Stop-Transcript}
Manifest 7.0.0.0 Microsoft.PowerShell.Management Core {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path…}
Manifest 7.0.0.0 Microsoft.PowerShell.Security Core {Get-Credential, Get-ExecutionPolicy, Set-ExecutionPolicy, ConvertFro…
Manifest 7.0.0.0 Microsoft.PowerShell.Utility Core {Export-Alias, Get-Alias, Import-Alias, New-Alias…}
Script 1.4.8.1 PackageManagement Desk {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource…}
Script 2.2.5 PowerShellGet Desk {Find-Command, Find-DSCResource, Find-Module, Find-RoleCapability…}
Script 2.2.6 PSReadLine Desk {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLin…
Binary 2.0.3 ThreadJob Desk Start-ThreadJobError output
Message : Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
StackTrace : at System.Collections.Generic.List`1.get_Item(Int32 index)
at Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClientExtensions.ToPSRoleDefinition(RoleDefinition role)
at
Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient.<>c.<ListRoleDefinitionsForScope>b__14_0(RoleDefinition
r)
at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClientExtensions.ToPSRoleAssignments(IEnumerable`1
assignments, AuthorizationClient policyClient, ActiveDirectoryClient activeDirectoryClient, String scopeForRoleDefinitions)
at
Microsoft.Azure.Commands.Resources.Models.Authorization.AuthorizationClient.FilterRoleAssignments(FilterRoleAssignmentsOptions
options, String currentSubscription, UInt64 first, UInt64 skip)
at Microsoft.Azure.Commands.Resources.GetAzureRoleAssignmentCommand.ExecuteCmdlet()
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.<>c__3`1.<ExecuteSynchronouslyOrAsJob>b__3_0(T c)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet, Action`1 executor)
at Microsoft.WindowsAzure.Commands.Utilities.Common.CmdletExtensions.ExecuteSynchronouslyOrAsJob[T](T cmdlet)
at Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet.ProcessRecord()
Exception : System.ArgumentOutOfRangeException
InvocationInfo : {Get-AzRoleAssignment}
Line : Get-AzRoleAssignment -Scope $Scope | ? Scope -Eq $Scope | ForEach-Object {
Position : At /xxxxx/infrastructure/.includes/resources.ps1:173 char:5
+ Get-AzRoleAssignment -Scope $Scope | ? Scope -Eq $Scope | ForEach …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId : 15Metadata
Metadata
Assignees
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reported