Skip to content

We should align with other languages and make initialization easier #180

@isvargasmsft

Description

@isvargasmsft

As discussed, we'd like to abstract these 3 lines of code:

auth_provider = AzureIdentityAuthenticationProvider(credential, scopes=scopes)

# Initialize a request adapter. Handles the HTTP concerns
request_adapter = GraphRequestAdapter(auth_provider)

# Get a service client
client = GraphServiceClient(request_adapter)

And only request from the developer to specify the context, the scope and its required values.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions