Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.69k stars 5.12k forks source link

Bot Connection API cannot update the parameters property #20544

Open neil-yechenwei opened 2 years ago

neil-yechenwei commented 2 years ago

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"
    }
}
ghost commented 2 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @sgellock.

Issue Details
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" } } ```
Author: neil-yechenwei
Assignees: -
Labels: `Service Attention`, `Bot Service`, `needs-triage`
Milestone: -