Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR simplifies the observability configuration to only support production endpoints, removing support for environment-specific test and preprod clusters. The changes consolidate all non-production environments to use the production Power Platform API endpoints.
Key changes:
- Removed environment-specific observability scopes and cluster categories (test, preprod)
- Simplified
get_observability_authentication_scope()to always return production scope - Updated cluster-to-suffix mapping to route dev/test/preprod to production endpoints
- Removed
get_observability_cluster_category()function entirely
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
power_platform_api_discovery.py |
Updated cluster-to-suffix mapping to route dev/test/preprod clusters to production API endpoints (api.powerplatform.com) |
environment_utils.py |
Removed environment-specific constants and simplified authentication scope function to always return production scope; removed cluster category function |
fpfp100
previously approved these changes
Nov 14, 2025
fpfp100
reviewed
Nov 14, 2025
.../microsoft-agents-a365-runtime/microsoft_agents_a365/runtime/power_platform_api_discovery.py
Outdated
Show resolved
Hide resolved
juliomenendez
approved these changes
Nov 14, 2025
rahuldevikar761
approved these changes
Nov 14, 2025
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.
Task
Only support prod observability cluster and scope