App Config Provider Connection String to Entra ID testing#46018
Open
mrm9084 wants to merge 6 commits intoAzure:mainfrom
Open
App Config Provider Connection String to Entra ID testing#46018mrm9084 wants to merge 6 commits intoAzure:mainfrom
mrm9084 wants to merge 6 commits intoAzure:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR consolidates provider integration testing onto Entra ID (AAD) authentication by switching tests from using an App Configuration connection string to using the App Configuration endpoint + credential flow, and removes the now-redundant AAD-specific test modules.
Changes:
- Updated sync and async provider tests to use
endpoint=...instead ofconnection_string=.... - Removed separate AAD test files after folding their coverage into the main test modules.
- Updated live-only test resource setup to use
devtools_testutils.get_credential()instead ofDefaultAzureCredential.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| sdk/appconfiguration/azure-appconfiguration-provider/tests/test_provider.py | Migrates provider integration tests to endpoint-based auth (Entra ID) and keeps related unit-style tests (e.g., content-type processing). |
| sdk/appconfiguration/azure-appconfiguration-provider/tests/aio/test_async_provider.py | Migrates async provider integration tests to endpoint-based auth and adds additional tag-filter assertions. |
| sdk/appconfiguration/azure-appconfiguration-provider/tests/conftest.py | Uses get_credential() for live-only App Config setup instead of instantiating DefaultAzureCredential directly. |
| sdk/appconfiguration/azure-appconfiguration-provider/tests/test_provider_aad.py | Deleted (coverage moved into test_provider.py). |
| sdk/appconfiguration/azure-appconfiguration-provider/tests/aio/test_async_provider_aad.py | Deleted (coverage moved into test_async_provider.py). |
sdk/appconfiguration/azure-appconfiguration-provider/tests/aio/test_async_provider.py
Show resolved
Hide resolved
avanigupta
reviewed
Apr 1, 2026
sdk/appconfiguration/azure-appconfiguration-provider/tests/aio/test_async_provider.py
Show resolved
Hide resolved
avanigupta
reviewed
Apr 1, 2026
sdk/appconfiguration/azure-appconfiguration-provider/tests/test_provider.py
Show resolved
Hide resolved
avanigupta
approved these changes
Apr 1, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Moves testing of the provider from connection string to entra id.