Skip to content

AttributeError when setting active subscription #196

@derekbekoe

Description

@derekbekoe

Traceback (most recent call last):
File "/Users/debekoe/Repos/derekbekoe-azure-cli/src/azure/cli/main.py", line 39, in main
cmd_result = app.execute(args)
File "/Users/debekoe/Repos/derekbekoe-azure-cli/src/azure/cli/application.py", line 85, in execute
result = args.func(params)
File "/Users/debekoe/Repos/derekbekoe-azure-cli/src/command_modules/azure-cli-profile/azure/cli/command_modules/profile/account.py", line 34, in set_active_subscription
profile.set_active_subscription(subscription_name_or_id)
File "/Users/debekoe/Repos/derekbekoe-azure-cli/src/azure/cli/_profile.py", line 138, in set_active_subscription
subscription_id_or_name = subscription_id_or_name.lower()
AttributeError: 'NoneType' object has no attribute 'lower'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions