Skip to content

Conversation

@aavasthy
Copy link
Contributor

@aavasthy aavasthy commented Jun 19, 2025

Pull Request Template

Description

Add AAD audience scope override functionality when this environment variable is set AADScopeOverride = "AZURE_COSMOS_AAD_SCOPE_OVERRIDE". If no environment variable is et then it uses the existing default scope value.
This will help clients in accessing applications which have a different scope.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Closing issues

To automatically close an issue: closes #IssueNumber

Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

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

As discussed offline - there should be zero knowledge of DNS name for fabric endings and special casing of audiences in the SDK.

@kirankumarkolli
Copy link
Member

Please update title

@aavasthy aavasthy changed the title TokenCredentialCache: Fixes AAD audience scope for fabric. TokenCredentialCache: Adds an options to override AAD audience scope. Jun 26, 2025
Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

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

LGTM - thanks

@aavasthy aavasthy added the auto-merge Enables automation to merge PRs label Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Enables automation to merge PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants