We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN 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

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `libraries/botframework-connector/setup.py`
Content:
```
1 # Copyright (c) Microsoft Corporation. All rights reserved.
2 # Licensed under the MIT License.
3 
4 import os
5 from setuptools import setup
6 
7 NAME = "botframework-connector"
8 VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
9 REQUIRES = [
10     "msrest==0.6.*",
11     # "requests>=2.23.0,<2.26",
12     "PyJWT>=2.4.0",
13     "botbuilder-schema==4.15.0",
14     "msal==1.*",
15 ]
16 
17 root = os.path.abspath(os.path.dirname(__file__))
18 
19 with open(os.path.join(root, "README.rst"), encoding="utf-8") as f:
20     long_description = f.read()
21 
22 setup(
23     name=NAME,
24     version=VERSION,
25     description="Microsoft Bot Framework Bot Builder SDK for Python.",
26     author="Microsoft",
27     url="https://www.github.com/Microsoft/botbuilder-python",
28     keywords=["BotFrameworkConnector", "bots", "ai", "botframework", "botbuilder"],
29     install_requires=REQUIRES,
30     packages=[
31         "botframework.connector",
32         "botframework.connector.auth",
33         "botframework.connector.async_mixin",
34         "botframework.connector.operations",
35         "botframework.connector.models",
36         "botframework.connector.aio",
37         "botframework.connector.aio.operations_async",
38         "botframework.connector.skills",
39         "botframework.connector.teams",
40         "botframework.connector.teams.operations",
41         "botframework.connector.token_api",
42         "botframework.connector.token_api.aio",
43         "botframework.connector.token_api.aio.operations_async",
44         "botframework.connector.token_api.models",
45         "botframework.connector.token_api.operations",
46     ],
47     include_package_data=True,
48     long_description=long_description,
49     long_description_content_type="text/x-rst",
50     license="MIT",
51     classifiers=[
52         "Programming Language :: Python :: 3.7",
53         "Intended Audience :: Developers",
54         "License :: OSI Approved :: MIT License",
55         "Operating System :: OS Independent",
56         "Development Status :: 5 - Production/Stable",
57         "Topic :: Scientific/Engineering :: Artificial Intelligence",
58     ],
59 )
60
```

Path: `libraries/botbuilder-schema/setup.py`
Content:
```
1 # Copyright (c) Microsoft Corporation. All rights reserved.
2 # Licensed under the MIT License.
3 
4 import os
5 from setuptools import setup
6 
7 NAME = "botbuilder-schema"
8 VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
9 REQUIRES = ["msrest==0.6.*", "urllib3<2.0.0"]
10 
11 root = os.path.abspath(os.path.dirname(__file__))
12 
13 with open(os.path.join(root, "README.rst"), encoding="utf-8") as f:
14     long_description = f.read()
15 
16 setup(
17     name=NAME,
18     version=VERSION,
19     description="BotBuilder Schema",
20     author="Microsoft",
21     url="https://github.com/Microsoft/botbuilder-python",
22     keywords=["BotBuilderSchema", "bots", "ai", "botframework", "botbuilder"],
23     long_description=long_description,
24     long_description_content_type="text/x-rst",
25     license="MIT",
26     install_requires=REQUIRES,
27     packages=[
28         "botbuilder.schema",
29         "botbuilder.schema.teams",
30     ],
31     include_package_data=True,
32     classifiers=[
33         "Programming Language :: Python :: 3.7",
34         "Intended Audience :: Developers",
35         "License :: OSI Approved :: MIT License",
36         "Operating System :: OS Independent",
37         "Development Status :: 5 - Production/Stable",
38         "Topic :: Scientific/Engineering :: Artificial Intelligence",
39     ],
40 )
41
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

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",

{"golden_diff": "diff --git a/libraries/botbuilder-schema/setup.py b/libraries/botbuilder-schema/setup.py\n--- a/libraries/botbuilder-schema/setup.py\n+++ b/libraries/botbuilder-schema/setup.py\n@@ -6,7 +6,7 @@\n \r\n NAME = \"botbuilder-schema\"\r\n VERSION = os.environ[\"packageVersion\"] if \"packageVersion\" in os.environ else \"4.15.0\"\r\n-REQUIRES = [\"msrest==0.6.*\", \"urllib3<2.0.0\"]\r\n+REQUIRES = [\"msrest== 0.7.*\", \"urllib3<2.0.0\"]\r\n \r\n root = os.path.abspath(os.path.dirname(__file__))\r\n \r\ndiff --git a/libraries/botframework-connector/setup.py b/libraries/botframework-connector/setup.py\n--- a/libraries/botframework-connector/setup.py\n+++ b/libraries/botframework-connector/setup.py\n@@ -7,7 +7,7 @@\n NAME = \"botframework-connector\"\n VERSION = os.environ[\"packageVersion\"] if \"packageVersion\" in os.environ else \"4.15.0\"\n REQUIRES = [\n-    \"msrest==0.6.*\",\n+    \"msrest==0.7.*\",\n     # \"requests>=2.23.0,<2.26\",\n     \"PyJWT>=2.4.0\",\n     \"botbuilder-schema==4.15.0\",\n", "issue": "Advancing msrest version dependency\n### 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.\r\n\r\n_No open issues are reported for msrest._\r\n\r\n**Is your feature request related to a problem? Please describe.**\r\nWhen installing a solution accelerator for OpenAI, the solution requires the bot framework.  However, aligning the requirements requires downgrading the msrest package.\r\n\r\nbotbuilder-schema 4.14.4 requires msrest==0.6.*, but you have msrest 0.7.1 which is incompatible.\r\nbotframework-connector 4.14.4 requires msrest==0.6.*, but you have msrest 0.7.1 which is incompatible.\r\n\r\nSeveral key azure packages depend on msrest:\r\nazure-mgmt-authorization 3.0.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.\r\nazure-mgmt-containerregistry 10.1.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.\r\nazure-mgmt-resource 22.0.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.\r\nazure-mgmt-search 9.0.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.\r\nazure-mgmt-storage 21.0.0 requires msrest>=0.7.1, but you have msrest 0.6.21 which is incompatible.\r\n\r\n**Describe the solution you'd like**\r\nAlign the entire botbuilder-python with msrest >= 0.7.1 \r\n\r\n**Describe alternatives you've considered**\r\nSince 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.\r\n\r\n**Additional context**\r\nOur 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\n", "before_files": [{"content": "# Copyright (c) Microsoft Corporation. All rights reserved.\n# Licensed under the MIT License.\n\nimport os\nfrom setuptools import setup\n\nNAME = \"botframework-connector\"\nVERSION = os.environ[\"packageVersion\"] if \"packageVersion\" in os.environ else \"4.15.0\"\nREQUIRES = [\n    \"msrest==0.6.*\",\n    # \"requests>=2.23.0,<2.26\",\n    \"PyJWT>=2.4.0\",\n    \"botbuilder-schema==4.15.0\",\n    \"msal==1.*\",\n]\n\nroot = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(root, \"README.rst\"), encoding=\"utf-8\") as f:\n    long_description = f.read()\n\nsetup(\n    name=NAME,\n    version=VERSION,\n    description=\"Microsoft Bot Framework Bot Builder SDK for Python.\",\n    author=\"Microsoft\",\n    url=\"https://www.github.com/Microsoft/botbuilder-python\",\n    keywords=[\"BotFrameworkConnector\", \"bots\", \"ai\", \"botframework\", \"botbuilder\"],\n    install_requires=REQUIRES,\n    packages=[\n        \"botframework.connector\",\n        \"botframework.connector.auth\",\n        \"botframework.connector.async_mixin\",\n        \"botframework.connector.operations\",\n        \"botframework.connector.models\",\n        \"botframework.connector.aio\",\n        \"botframework.connector.aio.operations_async\",\n        \"botframework.connector.skills\",\n        \"botframework.connector.teams\",\n        \"botframework.connector.teams.operations\",\n        \"botframework.connector.token_api\",\n        \"botframework.connector.token_api.aio\",\n        \"botframework.connector.token_api.aio.operations_async\",\n        \"botframework.connector.token_api.models\",\n        \"botframework.connector.token_api.operations\",\n    ],\n    include_package_data=True,\n    long_description=long_description,\n    long_description_content_type=\"text/x-rst\",\n    license=\"MIT\",\n    classifiers=[\n        \"Programming Language :: Python :: 3.7\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Operating System :: OS Independent\",\n        \"Development Status :: 5 - Production/Stable\",\n        \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\n    ],\n)\n", "path": "libraries/botframework-connector/setup.py"}, {"content": "# Copyright (c) Microsoft Corporation. All rights reserved.\r\n# Licensed under the MIT License.\r\n\r\nimport os\r\nfrom setuptools import setup\r\n\r\nNAME = \"botbuilder-schema\"\r\nVERSION = os.environ[\"packageVersion\"] if \"packageVersion\" in os.environ else \"4.15.0\"\r\nREQUIRES = [\"msrest==0.6.*\", \"urllib3<2.0.0\"]\r\n\r\nroot = os.path.abspath(os.path.dirname(__file__))\r\n\r\nwith open(os.path.join(root, \"README.rst\"), encoding=\"utf-8\") as f:\r\n    long_description = f.read()\r\n\r\nsetup(\r\n    name=NAME,\r\n    version=VERSION,\r\n    description=\"BotBuilder Schema\",\r\n    author=\"Microsoft\",\r\n    url=\"https://github.com/Microsoft/botbuilder-python\",\r\n    keywords=[\"BotBuilderSchema\", \"bots\", \"ai\", \"botframework\", \"botbuilder\"],\r\n    long_description=long_description,\r\n    long_description_content_type=\"text/x-rst\",\r\n    license=\"MIT\",\r\n    install_requires=REQUIRES,\r\n    packages=[\r\n        \"botbuilder.schema\",\r\n        \"botbuilder.schema.teams\",\r\n    ],\r\n    include_package_data=True,\r\n    classifiers=[\r\n        \"Programming Language :: Python :: 3.7\",\r\n        \"Intended Audience :: Developers\",\r\n        \"License :: OSI Approved :: MIT License\",\r\n        \"Operating System :: OS Independent\",\r\n        \"Development Status :: 5 - Production/Stable\",\r\n        \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\r\n    ],\r\n)\r\n", "path": "libraries/botbuilder-schema/setup.py"}], "after_files": [{"content": "# Copyright (c) Microsoft Corporation. All rights reserved.\n# Licensed under the MIT License.\n\nimport os\nfrom setuptools import setup\n\nNAME = \"botframework-connector\"\nVERSION = os.environ[\"packageVersion\"] if \"packageVersion\" in os.environ else \"4.15.0\"\nREQUIRES = [\n    \"msrest==0.7.*\",\n    # \"requests>=2.23.0,<2.26\",\n    \"PyJWT>=2.4.0\",\n    \"botbuilder-schema==4.15.0\",\n    \"msal==1.*\",\n]\n\nroot = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(root, \"README.rst\"), encoding=\"utf-8\") as f:\n    long_description = f.read()\n\nsetup(\n    name=NAME,\n    version=VERSION,\n    description=\"Microsoft Bot Framework Bot Builder SDK for Python.\",\n    author=\"Microsoft\",\n    url=\"https://www.github.com/Microsoft/botbuilder-python\",\n    keywords=[\"BotFrameworkConnector\", \"bots\", \"ai\", \"botframework\", \"botbuilder\"],\n    install_requires=REQUIRES,\n    packages=[\n        \"botframework.connector\",\n        \"botframework.connector.auth\",\n        \"botframework.connector.async_mixin\",\n        \"botframework.connector.operations\",\n        \"botframework.connector.models\",\n        \"botframework.connector.aio\",\n        \"botframework.connector.aio.operations_async\",\n        \"botframework.connector.skills\",\n        \"botframework.connector.teams\",\n        \"botframework.connector.teams.operations\",\n        \"botframework.connector.token_api\",\n        \"botframework.connector.token_api.aio\",\n        \"botframework.connector.token_api.aio.operations_async\",\n        \"botframework.connector.token_api.models\",\n        \"botframework.connector.token_api.operations\",\n    ],\n    include_package_data=True,\n    long_description=long_description,\n    long_description_content_type=\"text/x-rst\",\n    license=\"MIT\",\n    classifiers=[\n        \"Programming Language :: Python :: 3.7\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: MIT License\",\n        \"Operating System :: OS Independent\",\n        \"Development Status :: 5 - Production/Stable\",\n        \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\n    ],\n)\n", "path": "libraries/botframework-connector/setup.py"}, {"content": "# Copyright (c) Microsoft Corporation. All rights reserved.\r\n# Licensed under the MIT License.\r\n\r\nimport os\r\nfrom setuptools import setup\r\n\r\nNAME = \"botbuilder-schema\"\r\nVERSION = os.environ[\"packageVersion\"] if \"packageVersion\" in os.environ else \"4.15.0\"\r\nREQUIRES = [\"msrest== 0.7.*\", \"urllib3<2.0.0\"]\r\n\r\nroot = os.path.abspath(os.path.dirname(__file__))\r\n\r\nwith open(os.path.join(root, \"README.rst\"), encoding=\"utf-8\") as f:\r\n    long_description = f.read()\r\n\r\nsetup(\r\n    name=NAME,\r\n    version=VERSION,\r\n    description=\"BotBuilder Schema\",\r\n    author=\"Microsoft\",\r\n    url=\"https://github.com/Microsoft/botbuilder-python\",\r\n    keywords=[\"BotBuilderSchema\", \"bots\", \"ai\", \"botframework\", \"botbuilder\"],\r\n    long_description=long_description,\r\n    long_description_content_type=\"text/x-rst\",\r\n    license=\"MIT\",\r\n    install_requires=REQUIRES,\r\n    packages=[\r\n        \"botbuilder.schema\",\r\n        \"botbuilder.schema.teams\",\r\n    ],\r\n    include_package_data=True,\r\n    classifiers=[\r\n        \"Programming Language :: Python :: 3.7\",\r\n        \"Intended Audience :: Developers\",\r\n        \"License :: OSI Approved :: MIT License\",\r\n        \"Operating System :: OS Independent\",\r\n        \"Development Status :: 5 - Production/Stable\",\r\n        \"Topic :: Scientific/Engineering :: Artificial Intelligence\",\r\n    ],\r\n)\r\n", "path": "libraries/botbuilder-schema/setup.py"}]}