Skip to content

[Azure AD] Execute command on non-default tenant #2560

@omerlh

Description

@omerlh

Hey
I would like to use the ad commands, but with a different tenant. We have multiple tenants in our subscriptions, but it seems that this command only works with the default tenant. Using PowerShell I can do something like Azure-LoginRmAccount -TenantId . I tried to do something similar using az login -t but it failed: No subscriptions found for this account. When I tried to login without tenant it succeeds. Does this flow supported?
Thanks,
Omer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions