Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@sumeet1495

Description

@sumeet1495
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.