Edit

Share via


Service Connector troubleshooting

This article lists Service Connector error messages you might encounter in the Azure portal or Azure CLI, and suggests actions you can take to troubleshoot them.

Azure portal

The following Service Connector errors can occur in the Azure portal.

Unknown resource type

To troubleshoot, make sure that:

  • Service Connector supports the source and target resource service types.
  • Service Connector supports the specified source-target connection combination.
  • The target resource exists.
  • The target resource ID is correct.

Unsupported resource

To troubleshoot, make sure that the selected authentication type supports the specified source-target connection combination.

Azure CLI

The following Service Connector errors can occur in Azure CLI.

InvalidArgumentValue errors

Error message Suggested action
The source resource ID is invalid: {SourceId} - Make sure Service Connector supports the source resource ID.
- Make sure the source resource ID is correct.
Target resource ID is invalid: {TargetId} - Make sure Service Connector supports the target service type.
- Make sure the target resource ID is correct.
Connection ID is invalid: {ConnectionId} Make sure the connection ID is correct.

RequiredArgumentMissing errors

Error message Suggested action
{Argument} shouldn't be blank Provide an argument value for interactive input.
Required keys missing for parameter {Parameter}. All possible keys are: {Keys} Provide a value for the authentication information parameter, usually in the form --param key1=val1 key2=val2.
Required argument is missing, please provide the arguments: {Arguments} Provide the required argument.

Validation errors

Error message Suggested action
Only one auth info is needed Make sure to provide one and only one authentication information parameter.
Auth info argument should be provided when updating the connection: {ConnectionName} Provide the authentication information when you update a secret connection type. The Azure Resource Manager API can't access a user's secret.
Either client type or auth info should be specified to update Provide either client type or authentication information when you update a connection.
Usage error: {} [KEY=VALUE ...] Check the available keys and provide values for the authentication information parameter, usually in the form --param key1=val1 key2=val2.
Unsupported Key {Key} is provided for parameter {Parameter}. All possible keys are: {Keys} Check the available keys and provide values for the authentication information parameter, usually in the form --param key1=val1 key2=val2.
Provision failed, please create the target resource manually and then create the connection. Error details: {ErrorTrace} Retry. If necessary, create the target resource manually and then create the connection.