E469 Account Enabled always returns None using Python SDK .get() — even with correct permissions · Issue #1302 · microsoftgraph/msgraph-sdk-python · GitHub
[go: up one dir, main page]

Skip to content

Account Enabled always returns None using Python SDK .get() — even with correct permissions #1302

@sumeet1495

Description

@sumeet1495

Hi All,

I'm using the Microsoft Graph Python SDK and running the following code:

detailed_user = await client.users.by_user_id("user_id").get()
print(detailed_user.account_enabled)

Even though my app has all the necessary application permissions (User.ReadWrite.All, Directory.ReadWrite.All, etc.) and admin consent is granted, the field account_enabled always returns None.

Is this a known limitation of the Python SDK?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0