Skip to content

Example in README has the wrong import for GraphServiceClient #1570

Description

Describe the bug

In section 2.3, the README has
from msgraph import GraphServiceClient
whereas
from msgraph.graph_service_client import GraphServiceClient
seems to work

Expected behavior

Please clarify or fix README

How to reproduce

install msgraph sdk
In a python repl
import msgraph
dir(msgraph) # this will show no GraphServiceClient
dir(msgraph.graph_service_client) will show GraphServiceClient

SDK Version

1.61.0

Latest version known to work for scenario above?

No response

Known Workarounds

use from msgraph.graph_service_client import GraphServiceClient

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:waiting-for-triageAn issue that is yet to be reviewed or assignedtype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions