Skip to content

Do not extend scope, but replace it #743

@lmazuel

Description

@lmazuel
 self.credential_scopes = ['https://management.azure.com/.default'] 
 self.credential_scopes.extend(kwargs.pop('credential_scopes', [])) 

should be:

self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])

See Azure/azure-sdk-for-python#12947 for details

Metadata

Metadata

Assignees

Labels

bugThis issue requires a change to an existing behavior in the product in order to be resolved.p0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions