Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new communication identifier for OPS #33358

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

paveldostalms
Copy link
Member

Packages impacted by this PR

@azure/communication-common

Issues associated with this PR

Describe the problem that is addressed by this PR

As a part of OnePhoneSystem feature, there were added new dual persona identities for Teams users that are using ACS to extend their Teams Phone setup. Ids of these dual personas look like the one used for CommunicationUserIdentifier, just it is structured to keep additional information about the Teams user.
To prevent necessity to parse CommunicationUserIdentifier id in every library to distinguish CommunicationUser and new Teams user dual persona, there has been new communication identifier TeamsExtensionUserIdentifier introduced.

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

This PR just implement changes corresponding to rest API changes from 2025-03-15-preview
Azure/azure-rest-api-specs#32704

Are there test cases added in this PR? (If not, why?)

Yes

Provide a list of related PRs (if any)

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

…tifier

Added support for a new communication identifier TeamsExtensionUserIdentifier with fields
-userId
-tenantId
-resourceId

Added new members to PhoneNumberIdentifier
- isAnonymous
-assertedId
…tifier - updated review

Changes in generated file
Fixed after CommunicationIdentifierKind member renamed
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

@azure/communication-common

Updated doc comments according to PR review comments
Added other teammembers of ACS Auth and Security team as codeowners of packages onwned by the team
Fixed prettier issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants