GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — IdentitySet class does not have 'phone' property · Issue #1424 · microsoftgraph/msgraph-sdk-python

IdentitySet class does not have 'phone' property #1424

New issue
Copy link
New issue
Copy link
Open
Open
IdentitySet class does not have 'phone' property#1424
Copy link
Labels
dependency:metadataAwaiting fix from core dependency project moduleAwaiting fix from core dependency project moduletype:bugA broken experienceA broken experience

Description

@nahueloco
nahueloco
opened on Mar 20, 2026
Issue body actions

Describe the bug

When trying to make a phone call, I specify the IdentitySet of the Target user like this:

    targets = [
        InvitationParticipantInfo(
            identity = IdentitySet(
                phone = Identity(
                    id = "+mynumber"
                )
            )
        )
    ]

However I get the following error "IdentitySet.init() got an unexpected keyword argument 'phone'" stating that this parameter is not available for the IdentitySet class.
This works when calling from the rest API

Expected behavior

Parameter should be present in the class, just like the user parameter for calling an teams userid

How to reproduce

target_identity = IdentitySet(phone=Identity(id=graph_p.phone_number))
target = InvitationParticipantInfo(
    identity = target_identity
)
request_body = Call(
    callback_uri = "myballback",
    tenant_id = tenant_id,
    source = ParticipantInfo(
        identity = IdentitySet(
            application = Identity(
                id = bot_instance_id
            )
        )
    ),
    targets = [target],
    requested_modalities = [Modality.Audio],
    media_config = ServiceHostedMediaConfig(
        pre_fetch_media = []
    )
)

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

Use IdentitySet additional_data parameter in order to inject the phone parameter to the body

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Activity

  1. nahueloco
    added
    status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assigned
    type:bugA broken experienceA broken experience
    on Mar 20, 2026
  2. Luis Ramos (lramosvea)
    added
    dependency:metadataAwaiting fix from core dependency project moduleAwaiting fix from core dependency project module
    and removed
    status:waiting-for-triageAn issue that is yet to be reviewed or assignedAn issue that is yet to be reviewed or assigned
    on Mar 30, 2026
  3. lramosvea commented on Mar 30, 2026

    @lramosvea
    Luis Ramos (lramosvea)
    on Mar 30, 2026
    Contributor
    More actions

    Thanks for flagging this nahueloco! As a workaround, try using communicationsIdentitySet (https://learn.microsoft.com/en-us/graph/api/resources/communicationsidentityset?view=graph-rest-1.0) instead. We'll loop in the API team responsible for IdentitySet so they can address the issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependency:metadataAwaiting fix from core dependency project moduleAwaiting fix from core dependency project moduletype:bugA broken experienceA broken experience

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.