Skip to content

Fix issue #6991#6992

Closed
ferronsw wants to merge 1 commit into
Azure:mainfrom
ferronsw:fix-6691
Closed

Fix issue #6991#6992
ferronsw wants to merge 1 commit into
Azure:mainfrom
ferronsw:fix-6691

Conversation

@ferronsw

@ferronsw ferronsw commented Mar 4, 2026

Copy link
Copy Markdown

I'm no go expert so please verify if this is a good solution.
It worked for me regarding #6991

Copilot AI review requested due to automatic review settings March 4, 2026 15:46
@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported identify a customer issue label Mar 4, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution @ferronsw! We will review the pull request and get back to you soon.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses issue #6991 by changing how the Azure AI Agents extension enumerates Cognitive Services accounts when discovering Foundry projects, avoiding a known Azure SDK deserialization bug.

Changes:

  • Switch Foundry project discovery from armcognitiveservices.AccountsClient to the generic armresources.Client for listing Cognitive Services accounts.
  • Add an OData $filter (resourceType eq 'Microsoft.CognitiveServices/accounts') to scope the generic resources listing to the intended resource type.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@rajeshkamal5050

Copy link
Copy Markdown
Contributor

Fixed as part of #6957 and getting released #6995

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer-reported identify a customer issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants