Azure / Azure/azure-rest-api-specs

Bot Connection API cannot update the parameters property

Open
#20,544 1 comment 0 reactions 0 assignees View on GitHub
Bot Service Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
3d 2h
Merged PRs (30d)
424

Description

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"
}
}
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Bot Connection API PUT and PATCH endpoints shown in the issue and locating the corresponding Azure REST API specification. Reproduce the two requests, then verify that changing the parameters property persists and is returned by a subsequent read.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.