Skip to content

Bot Connection API cannot update the parameters property #20544

Open
@neil-yechenwei

Description

@neil-yechenwei

After tested, we found Bot Connection API cannot update the parameters property and it's still the value at first request. Could you take a look? Thanks in advance.

The first request:

PUT https://management.azure.com/subscriptions/xx-xx-xx-xx/resourceGroups/xxx/providers/Microsoft.BotService/botServices/xxxx/connections/xxxxx

{
    "kind": "bot",
    "location": "global",
    "properties": {
        "clientId": "xx-xx-xx-xx",
        "clientSecret": "xx-xx-xx-xx",
        "parameters": [
            {
                "key": "loginUri",
                "value": "https://www.google.com"
            }
        ],
        "scopes": "/subscriptions/xx-xx-xx-xx",
        "serviceProviderId": "xx-xx-xx-xx"
    }
}

The second request:

PATCH https://management.azure.com/subscriptions/xx-xx-xx-xx/resourceGroups/xxxx/providers/Microsoft.BotService/botServices/xxxx/connections/xxxx

{
    "kind": "bot",
    "location": "global",
    "properties": {
        "clientId": "xx-xx-xx-xx",
        "clientSecret": "xx-xx-xx-xx",
        "parameters": [
            {
                "key": "loginUri",
                "value": "https://www.terraform.io"
            }
        ],
        "scopes": "/subscriptions/xx-xx-xx-xx/resourceGroups/xxxx",
        "serviceProviderDisplayName": "xxxx"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServiceService AttentionWorkflow: This issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions