Skip to content

Error on deployment create (ConfigurationAlreadyExists) #7562

Open

Description

@dpvq

The deployment over an existing one using az iot edge deployment create on has always worked and worked fine last time on the October 13 and stopped working today.

ErrorCode:ConfigurationAlreadyExists;Configuration

/usr/bin/az iot edge deployment create --deployment-id devops-deployment-logredismodulesynchro-amd64 --hub-name xxx--content /tmp/deployment_1792096451749.json --target-condition tags.environnement='dev' and tags.os='linux' --priority 5 --output none

ERROR: {'Message': "ErrorCode:ConfigurationAlreadyExists;Configuration with id 'devops-deployment-logredismodulesynchro-amd64' already exist on IotHub. ", 'ExceptionMessage': 'Tracking ID:yyyy-G:0-TimeStamp:10/15/2026 20:35:00'}

I run the command az iot edge deployment create with the --debug switch and it's the hub that is not allowing the overwrite of the existing deployment. Seems to be a breaking change on the hub.

urllib3.connectionpool: Starting new HTTPS connection (1): xxx.azure-devices.net:443
urllib3.connectionpool: https://xxx.azure-devices.net:443 "PUT /configurations/devops-deployment-logredismodulesynchro-amd64?api-version=2024-03-31 HTTP/1.1" 409 246
msrest.http_logger: Response status: 409
msrest.http_logger: Response headers:
msrest.http_logger:     'content-length': '246'
msrest.http_logger:     'vary': 'Origin'
msrest.http_logger:     'x-ms-request-id': 'c02a2a6d-510b-4b15-9d0d-0c42e8d9cc88'
msrest.http_logger:     'server': 'Microsoft-HTTPAPI/2.0'
msrest.http_logger:     'content-type': 'application/json; charset=utf-8'
msrest.http_logger:     'date': 'Fri, 16 Oct 2026 15:34:30 GMT'
msrest.http_logger:     'iothub-errorcode': 'ConfigurationAlreadyExists'
msrest.http_logger: Response content:
msrest.http_logger: {"Message":"ErrorCode:ConfigurationAlreadyExists;Configuration with id 'devops-deployment-logredismodulesynchro-amd64' already exist on IotHub. ","ExceptionMessage":"Tracking ID:c02a2a6d510b4b159d0d0c42e8d9cc88-G:0-TimeStamp:10/16/2026 15:34:30"}
msrest.exceptions: Operation failed with status: 'Conflict'. Details: 409 Client Error: Conflict for url: https://xxx.azure-devices.net/configurations/devops-deployment-logredismodulesynchro-amd64?api-version=2024-03-31

Activity

  1. dpvq commented on Oct 16, 2026

    @dpvq
    Author

    bibhandari (@bishal41) Ryan Winter (@ryanwinter)
    We already have an open ticket with Microsoft Support for this issue, but we're still exchanging messages with the initial support representative. At this stage, they are still trying to understand what we're asking, so progress has been quite limited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions