internlm/SWE-Fixer-Train-110K huggingface dataset:
Repository: microsoft/botbuilder-python

Issue:
botbuilder-core library is missing the botframework-streaming dependency
## Version
4.14.0.20210616.dev252366

## Describe the bug
The botbuilder-core library is missing the botframework-streaming dependency.
When running a python bot with the botbuilder-core library installed, it won't run because it is missing the botframework-streaming dependency.
The dependency reference is missing from the requirements.txt file, and this new library is not published in any of the regular packages indexes ([test.pypi](https://test.pypi.org/), [pypi](https://pypi.org/) and [azure artifacts](https://dev.azure.com/ConversationalAI/BotFramework/_packaging?_a=feed&feed=SDK%40Local)), so it can't be installed manually.
When running the bots locally it is possible to install the dependency from a local folder with the code cloned from the repo.

## To Reproduce
1. Open a bot that uses the botbuilder-core library.
2. Install a preview version (4.14.x).
3. Run the bot.

## Expected behavior
The dependencies being installed should install all the required sub-dependencies or have them available for manual installation.

## Screenshots
![image](https://user-images.githubusercontent.com/38112957/122459875-d79f2d80-cf87-11eb-93dd-d6aaf5128fbd.png)

## Additional context
This issue is blocking the pipelines from the [BotFramework-FunctionalTests](https://github.com/microsoft/BotFramework-FunctionalTests/) repository from testing preview versions of the BotBuilder Python libraries.



Discussion:

Resolving patch:
diff --git a/libraries/botbuilder-core/setup.py b/libraries/botbuilder-core/setup.py
--- a/libraries/botbuilder-core/setup.py
+++ b/libraries/botbuilder-core/setup.py
@@ -8,6 +8,7 @@
 REQUIRES = [
     "botbuilder-schema==4.14.0",
     "botframework-connector==4.14.0",
+    "botframework-streaming==4.14.0",
     "jsonpickle>=1.2,<1.5",
 ]
 
diff --git a/libraries/botframework-streaming/setup.py b/libraries/botframework-streaming/setup.py
--- a/libraries/botframework-streaming/setup.py
+++ b/libraries/botframework-streaming/setup.py
@@ -4,11 +4,10 @@
 import os
 from setuptools import setup
 
-VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.12.0"
+VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.14.0"
 REQUIRES = [
     "botbuilder-schema>=4.12.0",
     "botframework-connector>=4.12.0",
-    "botbuilder-core>=4.12.0",
 ]
 
 root = os.path.abspath(os.path.dirname(__file__))


Test patch:
Repository: microsoft/botbuilder-python

Issue:
Django Component Governance vulnerability
Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column delimiter). By passing a suitably crafted delimiter to a contrib.postgres.aggregates.StringAgg instance, it was possible to break escaping and inject malicious SQL.

https://dev.azure.com/FuseLabs/SDK_v4/_componentGovernance/112465/alert/2370216?typeId=4354877


Discussion:

Resolving patch:
diff --git a/libraries/botbuilder-applicationinsights/setup.py b/libraries/botbuilder-applicationinsights/setup.py
--- a/libraries/botbuilder-applicationinsights/setup.py
+++ b/libraries/botbuilder-applicationinsights/setup.py
@@ -12,7 +12,7 @@
 ]
 TESTS_REQUIRES = [
     "aiounittest==1.3.0",
-    "django==2.2.6",  # For samples
+    "django==2.2.10",  # For samples
     "djangorestframework==3.10.3",  # For samples
     "flask==1.1.1",  # For samples
 ]


Test patch:
Repository: microsoft/botbuilder-python

Issue:
OAuthPrompt was constructing InvokeResponse incorrectly in some cases.
Fixes #1797


Discussion:

Resolving patch:
diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py
--- a/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py
+++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/oauth_prompt.py
@@ -429,21 +429,21 @@ async def _recognize_token(
                     await context.send_activity(
                         Activity(
                             type="invokeResponse",
-                            value=InvokeResponse(int(HTTPStatus.OK)),
+                            value=InvokeResponse(status=HTTPStatus.OK),
                         )
                     )
                 else:
                     await context.send_activity(
                         Activity(
                             type="invokeResponse",
-                            value=InvokeResponse(int(HTTPStatus.NOT_FOUND)),
+                            value=InvokeResponse(status=HTTPStatus.NOT_FOUND),
                         )
                     )
             except Exception:
                 await context.send_activity(
                     Activity(
                         type="invokeResponse",
-                        value=InvokeResponse(int(HTTPStatus.INTERNAL_SERVER_ERROR)),
+                        value=InvokeResponse(status=HTTPStatus.INTERNAL_SERVER_ERROR),
                     )
                 )
         elif self._is_token_exchange_request_invoke(context):


Test patch:
Repository: microsoft/botbuilder-python

Issue:
German language is not appropiate used when using Confirmprompts
### The Issue
I am building a chatbot for german users. I am sending the local "de-de" as user, and can confirm this actual arrives the bot. When i want to use  Confirmprompts the bot returns Yes and No and not "Ja" "Nein". 
### The Solution
After a lot of digging, I found the underlying cause and a fix. The culture model does not actually recognices German (de-de) as supported language, and thus switches to the default (english). But in the prompt_culture_models.py German actualy exists and ther is a todo "# TODO: Replace with Culture.German after Recognizers-Text package updates." Which I looked up and the Recognizers-Text package sis already updated :) . Still this is not the real issue. 

The reason is that german is not listed in the supported cultures function. I simply added it and every thing works fine. 

`    @classmethod
    def get_supported_cultures(cls) -> List[PromptCultureModel]:
        """
        Gets a list of the supported culture models.
        """
        return [
            cls.Chinese,
            cls.German,
            cls.Dutch,
            cls.English,
            cls.French,
            cls.Italian,
            cls.Japanese,
            cls.Korean,
            cls.Portuguese,
            cls.Spanish,
            cls.Turkish,
        ]`


Discussion:
Hi @PascalHessler -- thanks, looking into this issue.

Resolving patch:
diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/prompt_culture_models.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/prompt_culture_models.py
--- a/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/prompt_culture_models.py
+++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/prompts/prompt_culture_models.py
@@ -174,6 +174,7 @@ def get_supported_cultures(cls) -> List[PromptCultureModel]:
         """
         return [
             cls.Chinese,
+            cls.German,
             cls.Dutch,
             cls.English,
             cls.French,


Test patch:
Repository: microsoft/botbuilder-python

Issue:
Bug in set_value of StateManager
## Version
Latest

## Describe the bug
When I try to set the state value via the state manager I get the following error:

```
  File "/home/robin/dev/ask-waldo/ask-waldo-teams-chatbot/.venv/lib/python3.8/site-packages/botbuilder/dialogs/memory/dialog_state_manager.py", line 293, in try_get_value
    i_first = path.upper().rindex(first)
ValueError: substring not found
```

## To Reproduce
Steps to reproduce the behavior:
Call set_value on state_manager: 
` step_context.state.set_value("user.path", "a value")`

## Expected behavior
I do not receive an error and the state is updated.

## Additional context
This can be fixed as follows:
In file: `botbuilder-python/libraries/botbuilder-dialogs/botbuilder/dialogs/memory/dialog_state_manager.py`

Update:
           ` i_first = path.upper().rindex(first)`

To:
```
        try:
            i_first = path.upper().rindex(first)
        except ValueError:
            i_first = -1
```


Or just fix that hacky thing that is being done there :) 




Discussion:
Hi @RobinVds, I'm looking into this issue.

Resolving patch:
diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/memory/dialog_state_manager.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/memory/dialog_state_manager.py
--- a/libraries/botbuilder-dialogs/botbuilder/dialogs/memory/dialog_state_manager.py
+++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/memory/dialog_state_manager.py
@@ -290,7 +290,10 @@ def try_get_value(
         # TODO: HACK to support .First() retrieval on turn.recognized.entities.foo, replace with Expressions once
         #  expressions ship
         first = ".FIRST()"
-        i_first = path.upper().rindex(first)
+        try:
+            i_first = path.upper().rindex(first)
+        except ValueError:
+            i_first = -1
         if i_first >= 0:
             remaining_path = path[i_first + len(first) :]
             path = path[0:i_first]


Test patch:
Repository: microsoft/botbuilder-python

Issue:
Bump msrest to the 0.6.19 or higher
Is your feature request related to a problem? Please describe.
Old version of msrest is used in botframework components -> https://github.com/microsoft/botbuilder-python/search?q=msrest%3D%3D0.6.10 . This blocks us to use latest versions of the service bus client or event using the new language studio python libraries.

With msrest=0.6.10, we're blocked to using 0.50 service bus package and other packages like event grid.

Describe the solution you'd like
EDITED: Upgrade msrest to the at least 0.6.19 or higher.

Describe alternatives you've considered
No alternatives.



Discussion:

Resolving patch:
diff --git a/libraries/botbuilder-schema/setup.py b/libraries/botbuilder-schema/setup.py
--- a/libraries/botbuilder-schema/setup.py
+++ b/libraries/botbuilder-schema/setup.py
@@ -6,7 +6,7 @@
 
 NAME = "botbuilder-schema"
 VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
-REQUIRES = ["msrest==0.6.10"]
+REQUIRES = ["msrest==0.6.19"]
 
 root = os.path.abspath(os.path.dirname(__file__))
 
diff --git a/libraries/botframework-connector/setup.py b/libraries/botframework-connector/setup.py
--- a/libraries/botframework-connector/setup.py
+++ b/libraries/botframework-connector/setup.py
@@ -7,7 +7,7 @@
 NAME = "botframework-connector"
 VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
 REQUIRES = [
-    "msrest==0.6.10",
+    "msrest==0.6.19",
     "requests>=2.23.0,<2.26",
     "PyJWT>=1.5.3,<2.0.0",
     "botbuilder-schema==4.15.0",


Test patch:
Repository: microsoft/botbuilder-python

Issue:
Bump MSAL to the latest version
**Is your feature request related to a problem? Please describe.**
Old version of MSAL is used in [botframework-connector](https://github.com/microsoft/botbuilder-python/blob/main/libraries/botframework-connector/requirements.txt#L6) (v1.6.0)

**Describe the solution you'd like**
Upgrade to the [latest version](https://github.com/AzureAD/microsoft-authentication-library-for-python/releases) (v1.13.0 is the latest at this moment).

**Describe alternatives you've considered**
No alternatives.

**Additional context**
Please also consider to not pin this dependency (#1467).



Discussion:
I want to add. Not only msal uses the old version, but also requests

Resolving patch:
diff --git a/libraries/botframework-connector/setup.py b/libraries/botframework-connector/setup.py
--- a/libraries/botframework-connector/setup.py
+++ b/libraries/botframework-connector/setup.py
@@ -11,7 +11,7 @@
     "requests>=2.23.0,<2.26",
     "PyJWT>=1.5.3,<2.0.0",
     "botbuilder-schema==4.15.0",
-    "msal==1.6.0",
+    "msal==1.17.0",
 ]
 
 root = os.path.abspath(os.path.dirname(__file__))


Test patch:
Repository: microsoft/botbuilder-python

Issue:
Version dependency between Botbuilder and Question Answering
### [Github issues](https://github.com/Microsoft/botbuilder-python) should be used for bugs and feature requests. Use [Stack Overflow](https://stackoverflow.com/questions/tagged/botframework) for general "how-to" questions. 

## Version
Botbuilder 4.14.0
azure-ai-language-questionanswering 1.0.0

## Describe the bug
When building a Python bot using Question Answering and Botbuilder:
The package azure-ai-language-questionanswering actual version 1.0.0 requires at least msrest version 0.6.21 but the actual version of Botbuilder (-schema/core/ai/etc) 4.14.2 requires msrest to be 0.6.19 (though I'm using 4.14.0 and the version doesn't match either).
There's no way these two packages work together right now because of the msrest version dependency.


## To Reproduce
1. Create a requirements.txt file with these dependencies 
azure-ai-language-questionanswering==1.0.0
botbuilder-ai==4.14.0
botbuilder-core==4.14.0
botbuilder-dialogs==4.14.0
botbuilder-integration-aiohttp==4.14.0
botbuilder-schema==4.14.0

2. Install dependencies of a bot project with pip install -r requirements.txt


## Expected behavior
Upgrade Botbuilder to work with msrest version 0.6.21 OR
Decrease Question Answering version dependency of msrest to 0.6.19 or lower



Discussion:
@axelsrz Does this issue need a fix to botbuilder-python dependency on msrest package? Thanks!
Hi @tracyboehrer @axelsrz..do you suggest any workaround until this is fixed ? I've a bot that uses question answering and I'm not able to deploy to azure as it fails whiles trying to resolve the dependencies. If its a simple update of the requirements, do you suggest submitting a PR ?

Resolving patch:
diff --git a/libraries/botbuilder-schema/setup.py b/libraries/botbuilder-schema/setup.py
--- a/libraries/botbuilder-schema/setup.py
+++ b/libraries/botbuilder-schema/setup.py
@@ -6,7 +6,7 @@
 
 NAME = "botbuilder-schema"
 VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
-REQUIRES = ["msrest==0.6.19"]
+REQUIRES = ["msrest==0.6.*"]
 
 root = os.path.abspath(os.path.dirname(__file__))
 
diff --git a/libraries/botframework-connector/setup.py b/libraries/botframework-connector/setup.py
--- a/libraries/botframework-connector/setup.py
+++ b/libraries/botframework-connector/setup.py
@@ -7,11 +7,11 @@
 NAME = "botframework-connector"
 VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
 REQUIRES = [
-    "msrest==0.6.19",
+    "msrest==0.6.*",
     "requests>=2.23.0,<2.26",
     "PyJWT>=1.5.3,<2.0.0",
     "botbuilder-schema==4.15.0",
-    "msal==1.17.0",
+    "msal==1.*",
 ]
 
 root = os.path.abspath(os.path.dirname(__file__))


Test patch:
Repository: microsoft/botbuilder-python

Issue:
botbuidler support for  regex== 2022 and above
Description:

I'm currently working on building a chatbot using Azure Bot Builder SDK in conjunction with OpenAI. In my project, I'm relying on the OpenAIEmbedding class from the langchain package, which utilizes Tiktoken. However, I've run into an issue due to dependency conflicts with Tiktoken. Specifically, Tiktoken requires regex version 2022 or higher, while the Bot Builder package supports only up to regex version 2019.

Feature Request:

I kindly request adding support for Tiktoken's regex version 2022 or higher in the OpenAIEmbedding class within the langchain package. This update would resolve the dependency conflicts and enable smoother integration of OpenAI into projects using Azure Bot Builder SDK.

Additional Information:

Current Behavior: Currently, the OpenAIEmbedding class in langchain relies on Tiktoken, which necessitates a regex version that is not compatible with the Bot Builder SDK's regex version support.

Desired Behavior: The botbuilder  classes should be updated to support Tiktoken's dependency on regex version 2022 or higher t

Impact of the Feature:

This feature would benefit developers working on chatbot projects that use Azure Bot Builder SDK and OpenAI. It would eliminate dependency conflicts, allowing for a seamless integration experience.


Discussion:
Thanx for assigning this ramfattah, this feature has a great impact on Microsoft ecosystem since azure open ai and botbuilder can easily work together 
Thanks @mohdhammad786, I'll discuss this internally with the Bot Framework SDK engineers about this issue. 

We will report back soon. 
Thanks.
> Thanks @mohdhammad786, I'll discuss this internally with the Bot Framework SDK engineers about this issue.
> 
> We will report back soon. Thanks.

Thanx ramfattah for such quick action on this 
Hello @mohdhammad786,

Thank you for your request. Our Bot Framework Python SDK will soon end support in November 2023. Because of this, we are focusing on security fixes. We will add your request to our backlog, but we don't have an ETA at the moment.

Thank you.
CC @tracyboehrer 

Resolving patch:
diff --git a/libraries/botbuilder-dialogs/setup.py b/libraries/botbuilder-dialogs/setup.py
--- a/libraries/botbuilder-dialogs/setup.py
+++ b/libraries/botbuilder-dialogs/setup.py
@@ -5,7 +5,7 @@
 from setuptools import setup
 
 REQUIRES = [
-    "regex<=2019.08.19",
+    "regex>=2022.1.18",
     "emoji==1.7.0",
     "recognizers-text-date-time>=1.0.2a1",
     "recognizers-text-number-with-unit>=1.0.2a1",


Test patch:
Repository: microsoft/botbuilder-python

Issue:
Advancing msrest version dependency
### Use this [query](https://github.com/Microsoft/botbuilder-python/issues?q=is%3Aissue+is%3Aopen++label%3Afeature-request+) to search for the most popular feature requests.

_No open issues are reported for msrest._

**Is your feature request related to a problem? Please describe.**
When installing a solution accelerator for OpenAI, the solution requires the bot framework.  However, aligning the requirements requires downgrading the msrest package.

botbuilder-schema 4.14.4 requires msrest==0.6.*, but you have msrest 0.7.1 which is incompatible.
botframework-connector 4.14.4 requires msrest==0.6.*, but you have msrest 0.7.1 which is incompatible.

Several key azure packages depend on msrest:
azure-mgmt-authorization 3.0.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.
azure-mgmt-containerregistry 10.1.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.
azure-mgmt-resource 22.0.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.
azure-mgmt-search 9.0.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.
azure-mgmt-storage 21.0.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.

**Describe the solution you'd like**
Align the entire botbuilder-python with msrest >= 0.7.1 

**Describe alternatives you've considered**
Since my part of the group collaboration does not require development on the botbuilder-python, my workaround in installing msrest back to 0.7.1.  Though, it would be good for botbuilder-python to be aligned with the azure-mgmt packages.

**Additional context**
Our team is forking this solution accelerator for customers deploying an accelerator solution which includes resources including Azure OpenAI, Azure Cognitive Search, and Azure CosmosDB (in addition to the bot), so the alignment will be important since the lost functionality in azure-mgmt is unknown.  The original source is at https://github.com/MSUSAzureAccelerators/Azure-Cognitive-Search-Azure-OpenAI-Accelerator


Discussion:

Resolving patch:
diff --git a/libraries/botbuilder-schema/setup.py b/libraries/botbuilder-schema/setup.py
--- a/libraries/botbuilder-schema/setup.py
+++ b/libraries/botbuilder-schema/setup.py
@@ -6,7 +6,7 @@
 
 NAME = "botbuilder-schema"
 VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
-REQUIRES = ["msrest==0.6.*", "urllib3<2.0.0"]
+REQUIRES = ["msrest== 0.7.*", "urllib3<2.0.0"]
 
 root = os.path.abspath(os.path.dirname(__file__))
 
diff --git a/libraries/botframework-connector/setup.py b/libraries/botframework-connector/setup.py
--- a/libraries/botframework-connector/setup.py
+++ b/libraries/botframework-connector/setup.py
@@ -7,7 +7,7 @@
 NAME = "botframework-connector"
 VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
 REQUIRES = [
-    "msrest==0.6.*",
+    "msrest==0.7.*",
     # "requests>=2.23.0,<2.26",
     "PyJWT>=2.4.0",
     "botbuilder-schema==4.15.0",


Test patch:
Repository: microsoft/botbuilder-python

Issue:
Recommended change to 3.8.6 or above
https://github.com/microsoft/botbuilder-python/blob/7b064bb9f916afc10e931f3713183f57e1d7ca47/libraries/botbuilder-integration-aiohttp/setup.py#L13

I have a conflict when introducing llamaindex, which requires version 3.8.6 or higher!


Discussion:
It also gets us flagged for 5 aiohttp vulnerabilities (1 high severity, 4 medium)

Resolving patch:
diff --git a/libraries/botbuilder-ai/setup.py b/libraries/botbuilder-ai/setup.py
--- a/libraries/botbuilder-ai/setup.py
+++ b/libraries/botbuilder-ai/setup.py
@@ -8,7 +8,7 @@
     "azure-cognitiveservices-language-luis==0.2.0",
     "botbuilder-schema==4.15.0",
     "botbuilder-core==4.15.0",
-    "aiohttp==3.8.5",
+    "aiohttp==3.9.3",
 ]
 
 TESTS_REQUIRES = ["aiounittest>=1.1.0"]
diff --git a/libraries/botbuilder-integration-aiohttp/setup.py b/libraries/botbuilder-integration-aiohttp/setup.py
--- a/libraries/botbuilder-integration-aiohttp/setup.py
+++ b/libraries/botbuilder-integration-aiohttp/setup.py
@@ -10,7 +10,7 @@
     "botframework-connector==4.15.0",
     "botbuilder-core==4.15.0",
     "yarl>=1.8.1",
-    "aiohttp==3.8.5",
+    "aiohttp==3.9.3",
 ]
 
 root = os.path.abspath(os.path.dirname(__file__))
diff --git a/libraries/botbuilder-integration-applicationinsights-aiohttp/setup.py b/libraries/botbuilder-integration-applicationinsights-aiohttp/setup.py
--- a/libraries/botbuilder-integration-applicationinsights-aiohttp/setup.py
+++ b/libraries/botbuilder-integration-applicationinsights-aiohttp/setup.py
@@ -6,7 +6,7 @@
 
 REQUIRES = [
     "applicationinsights>=0.11.9",
-    "aiohttp==3.8.5",
+    "aiohttp==3.9.3",
     "botbuilder-schema==4.15.0",
     "botframework-connector==4.15.0",
     "botbuilder-core==4.15.0",


Test patch:
diff --git a/libraries/botframework-connector/tests/requirements.txt b/libraries/botframework-connector/tests/requirements.txt
--- a/libraries/botframework-connector/tests/requirements.txt
+++ b/libraries/botframework-connector/tests/requirements.txt
@@ -1,5 +1,5 @@
 pytest-cov>=2.6.0
-pytest~=6.2.3
+pytest~=7.3.1
 pyyaml==6.0
 pytest-asyncio==0.15.1
 ddt==1.2.1
\ No newline at end of file
Repository: microsoft/botbuilder-python

Issue:
TeamsChannelAccount model missing aadObjectId
Fixes TeamsChannelAccount.add_object_id property.

The curent definition returns an additional property and a null add_object_id:

{'additional_property': {'aadObjectId': <UUID>}, 'add_object_id`: None}
instead of:

 {'additional_properties': {}, `add_object_id` <UUID>}
See: https://learn.microsoft.com/en-us/dotnet/api/microsoft.bot.schema.teams.teamschannelaccount?view=botbuilder-dotnet-stable


Discussion:

Resolving patch:
diff --git a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py
--- a/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py
+++ b/libraries/botbuilder-schema/botbuilder/schema/teams/_models_py3.py
@@ -1903,7 +1903,7 @@ class TeamsChannelAccount(ChannelAccount):
         "surname": {"key": "surname", "type": "str"},
         "email": {"key": "email", "type": "str"},
         "user_principal_name": {"key": "userPrincipalName", "type": "str"},
-        "aad_object_id": {"key": "objectId", "type": "str"},
+        "aad_object_id": {"key": "aadObjectId", "type": "str"},
         "tenant_id": {"key": "tenantId", "type": "str"},
         "user_role": {"key": "userRole", "type": "str"},
     }


Test patch: