Repository navigation
Closed
Labels
bugSomething isn't working
Description
Describe the bug
have just updated to v0.8, running the script to register all module pipelines again. when it gets to private link services get this error and skip.
ERROR: The string argument contains a character that is not valid:':'. Correct the argument, and then try the operation again.
Parameter name: definition.Name
can add it manually okay.
To reproduce
follow the instruction in the Register-AzureDevOpsPipeline.ps1 file.
$inputObject = @{
OrganizationName = 'xxxxxxx'
ProjectName = 'Azure'
SourceRepositoryType = 'tfsgit'
SourceRepository = 'CARMLv0.8'
AzureDevOpsPAT = 'xxxxxxxxx'
}
Register-AzureDevOpsPipeline InputObject
Code snippet
$inputObject = @{
OrganizationName = 'xxxxxxx'
ProjectName = 'Azure'
SourceRepositoryType = 'tfsgit'
SourceRepository = 'CARMLv0.8'
AzureDevOpsPAT = 'xxxxxxxxx'
}
Register-AzureDevOpsPipeline @inputObjectRelevant log output
PS /workspaces/CARMLv0.8> Register-AzureDevOpsPipeline @inputObject
Failed to store PAT using keyring; falling back to file storage.
You can clear the stored credential by running az devops logout.
Refer https://aka.ms/azure-devops-cli-auth to know more on sign in with PAT.
WARNING: Successfully created a pipeline with Name: AAD - DomainServices, Id: 262.
WARNING: Successfully created a pipeline with Name: AnalysisServices - Servers, Id: 263.
WARNING: Successfully created a pipeline with Name: ApiManagement - Service, Id: 264.
WARNING: Successfully created a pipeline with Name: AppConfiguration - ConfigurationStores, Id: 265.
WARNING: Successfully created a pipeline with Name: Authorization - Locks, Id: 266.
WARNING: Successfully created a pipeline with Name: Authorization - PolicyAssignments, Id: 267.
WARNING: Successfully created a pipeline with Name: Authorization - PolicyDefinitions, Id: 268.
WARNING: Successfully created a pipeline with Name: Authorization - PolicyExemptions, Id: 269.
WARNING: Successfully created a pipeline with Name: Authorization - PolicySetDefinitions, Id: 270.
WARNING: Successfully created a pipeline with Name: Authorization - RoleAssignments, Id: 271.
WARNING: Successfully created a pipeline with Name: Authorization - RoleDefinitions, Id: 272.
WARNING: Successfully created a pipeline with Name: Automation - AutomationAccounts, Id: 273.
WARNING: Successfully created a pipeline with Name: Batch - BatchAccounts, Id: 274.
WARNING: Successfully created a pipeline with Name: Cache - Redis, Id: 275.
WARNING: Successfully created a pipeline with Name: CognitiveServices - Accounts, Id: 276.
WARNING: Successfully created a pipeline with Name: Compute - AvailabilitySets, Id: 277.
WARNING: Successfully created a pipeline with Name: Compute - DiskEncryptionSets, Id: 278.
WARNING: Successfully created a pipeline with Name: Compute - Disks, Id: 279.
WARNING: Successfully created a pipeline with Name: Compute - Galleries, Id: 280.
WARNING: Successfully created a pipeline with Name: Compute - Images, Id: 281.
WARNING: Successfully created a pipeline with Name: Compute - ProximityPlacementGroups, Id: 282.
WARNING: Successfully created a pipeline with Name: Compute - VirtualMachines, Id: 283.
WARNING: Successfully created a pipeline with Name: Compute - VirtualMachineScaleSets, Id: 284.
WARNING: Successfully created a pipeline with Name: Consumption - Budgets, Id: 285.
WARNING: Successfully created a pipeline with Name: ContainerInstance - ContainerGroups, Id: 286.
WARNING: Successfully created a pipeline with Name: ContainerRegistry - Registries, Id: 287.
WARNING: Successfully created a pipeline with Name: ContainerService - ManagedClusters, Id: 288.
WARNING: Successfully created a pipeline with Name: Databricks - Workspaces, Id: 289.
WARNING: Successfully created a pipeline with Name: DataFactory - Factories, Id: 290.
WARNING: Successfully created a pipeline with Name: DataProtection - BackupVaults, Id: 291.
WARNING: Successfully created a pipeline with Name: DbForPostgreSQL - FlexibleServers, Id: 292.
WARNING: Successfully created a pipeline with Name: DesktopVirtualization - ApplicationGroups, Id: 293.
WARNING: Successfully created a pipeline with Name: DesktopVirtualization - HostPools, Id: 294.
WARNING: Successfully created a pipeline with Name: DesktopVirtualization - ScalingPlans, Id: 295.
WARNING: Successfully created a pipeline with Name: DesktopVirtualization - Workspaces, Id: 296.
WARNING: Successfully created a pipeline with Name: DocumentDB - DatabaseAccounts, Id: 297.
WARNING: Successfully created a pipeline with Name: EventGrid - System Topics, Id: 298.
WARNING: Successfully created a pipeline with Name: EventGrid - Topics, Id: 299.
WARNING: Successfully created a pipeline with Name: EventHub - Namespaces, Id: 300.
WARNING: Successfully created a pipeline with Name: HealthBot - HealthBots, Id: 301.
WARNING: Successfully created a pipeline with Name: Insights - ActionGroups, Id: 302.
WARNING: Successfully created a pipeline with Name: Insights - ActivityLogAlerts, Id: 303.
WARNING: Successfully created a pipeline with Name: Insights - Components, Id: 304.
WARNING: Successfully created a pipeline with Name: Insights - DiagnosticSettings, Id: 305.
WARNING: Successfully created a pipeline with Name: Insights - MetricAlerts, Id: 306.
WARNING: Successfully created a pipeline with Name: Insights - PrivateLinkScopes, Id: 307.
WARNING: Successfully created a pipeline with Name: Insights - ScheduledQueryRules, Id: 308.
WARNING: Successfully created a pipeline with Name: KeyVault - Vaults, Id: 309.
WARNING: Successfully created a pipeline with Name: KubernetesConfiguration - Extensions, Id: 310.
WARNING: Successfully created a pipeline with Name: KubernetesConfiguration - FluxConfigurations, Id: 311.
WARNING: Successfully created a pipeline with Name: Logic - Workflows, Id: 312.
WARNING: Successfully created a pipeline with Name: MachineLearningServices - Workspaces, Id: 313.
WARNING: Successfully created a pipeline with Name: Maintenance - MaintenanceConfigurations, Id: 314.
WARNING: Successfully created a pipeline with Name: ManagedIdentity - UserAssignedIdentities, Id: 315.
WARNING: Successfully created a pipeline with Name: ManagedServices - RegistrationDefinitions, Id: 316.
WARNING: Successfully created a pipeline with Name: Management - ManagementGroups, Id: 317.
WARNING: Successfully created a pipeline with Name: NetApp - NetAppAccounts, Id: 318.
WARNING: Successfully created a pipeline with Name: Network - ApplicationGateways, Id: 319.
WARNING: Successfully created a pipeline with Name: Network - ApplicationGatewayWebApplicationFirewallPolicies, Id: 320.
WARNING: Successfully created a pipeline with Name: Network - ApplicationSecurityGroups, Id: 321.
WARNING: Successfully created a pipeline with Name: Network - AzureFirewalls, Id: 322.
WARNING: Successfully created a pipeline with Name: Network - BastionHosts, Id: 323.
WARNING: Successfully created a pipeline with Name: Network - Connections, Id: 324.
WARNING: Successfully created a pipeline with Name: Network - DdosProtectionPlans, Id: 325.
WARNING: Successfully created a pipeline with Name: Network - DNS Resolvers, Id: 326.
WARNING: Successfully created a pipeline with Name: Network - ExpressRouteCircuits, Id: 327.
WARNING: Successfully created a pipeline with Name: Network - Firewallpolicies, Id: 328.
WARNING: Successfully created a pipeline with Name: Network - Frontdoors, Id: 329.
WARNING: Successfully created a pipeline with Name: Network - IpGroups, Id: 330.
WARNING: Successfully created a pipeline with Name: Network - LoadBalancers, Id: 331.
WARNING: Successfully created a pipeline with Name: Network - LocalNetworkGateways, Id: 332.
WARNING: Successfully created a pipeline with Name: Network - NatGateways, Id: 333.
WARNING: Successfully created a pipeline with Name: Network - NetworkInterfaces, Id: 334.
WARNING: Successfully created a pipeline with Name: Network - NetworkSecurityGroups, Id: 335.
WARNING: Successfully created a pipeline with Name: Network - NetworkWatchers, Id: 336.
WARNING: Successfully created a pipeline with Name: Network - PrivateDnsZones, Id: 337.
WARNING: Successfully created a pipeline with Name: Network - PrivateEndpoints, Id: 338.
ERROR: The string argument contains a character that is not valid:':'. Correct the argument, and then try the operation again.
Parameter name: definition.Name
WARNING: Successfully created a pipeline with Name: Network - PublicIpAddresses, Id: 339.
WARNING: Successfully created a pipeline with Name: Network - PublicIpPrefixes, Id: 340.
WARNING: Successfully created a pipeline with Name: Network - RouteTables, Id: 341.
WARNING: Successfully created a pipeline with Name: Network - TrafficManagerProfiles, Id: 342.
WARNING: Successfully created a pipeline with Name: Network - VirtualHubs, Id: 343.
WARNING: Successfully created a pipeline with Name: Network - VirtualNetworkGateways, Id: 344.
WARNING: Successfully created a pipeline with Name: Network - VirtualNetworks, Id: 345.
WARNING: Successfully created a pipeline with Name: Network - VirtualWans, Id: 346.
WARNING: Successfully created a pipeline with Name: Network - VPNGateways, Id: 347.
WARNING: Successfully created a pipeline with Name: Network - VPN Sites, Id: 348.
WARNING: Successfully created a pipeline with Name: OperationalInsights - Workspaces, Id: 349.
WARNING: Successfully created a pipeline with Name: OperationsManagement - Solutions, Id: 350.
WARNING: Successfully created a pipeline with Name: PowerBIDedicated - Capacities, Id: 351.
WARNING: Successfully created a pipeline with Name: RecoveryServices - Vaults, Id: 352.
WARNING: Successfully created a pipeline with Name: Resources - DeploymentScripts, Id: 353.
WARNING: Successfully created a pipeline with Name: Resources - ResourceGroups, Id: 354.
WARNING: Successfully created a pipeline with Name: Resources - Tags, Id: 355.
WARNING: Successfully created a pipeline with Name: Security - AzureSecurityCenter, Id: 356.
WARNING: Successfully created a pipeline with Name: ServiceBus - Namespaces, Id: 357.
WARNING: Successfully created a pipeline with Name: Service Fabric - Clusters, Id: 358.
WARNING: Successfully created a pipeline with Name: SignalR Service - WebPubSub, Id: 359.
WARNING: Successfully created a pipeline with Name: Sql - ManagedInstances, Id: 360.
WARNING: Successfully created a pipeline with Name: Sql - Servers, Id: 361.
WARNING: Successfully created a pipeline with Name: Storage - StorageAccounts, Id: 362.
WARNING: Successfully created a pipeline with Name: Synapse - PrivateLinkHubs, Id: 363.
WARNING: Successfully created a pipeline with Name: Synapse - Workspaces, Id: 364.
WARNING: Successfully created a pipeline with Name: VirtualMachineImages - ImageTemplates, Id: 365.
WARNING: Successfully created a pipeline with Name: Web - Connections, Id: 366.
WARNING: Successfully created a pipeline with Name: Web - HostingEnvironments, Id: 367.
WARNING: Successfully created a pipeline with Name: Web - Serverfarms, Id: 368.
WARNING: Successfully created a pipeline with Name: Web - Sites, Id: 369.
WARNING: Successfully created a pipeline with Name: Web - StaticSites, Id: 370.
PS /workspaces/CARMLv0.8>
Activity
eriqua commentedon Dec 5, 2022
Hi @bashjoel, thanks for raising this.
We've fixed this bug through PR #2408 in main and it will be part of next release.