Skip to content

Support standalone authentication for bicep deploy without requiring Azure CLI or Azure PowerShell #18172

@Gijsreyn

Description

@Gijsreyn

Is your feature request related to a problem? Please describe.

Currently, bicep deploy relies on an external tool such as Azure CLI, Azure PowerShell, or service principal environment variables to provide authentication. This means users must install additional tooling (e.g., az or pwsh), which creates unnecessary dependencies.
PowerShell is not shipped out-of-the-box on Windows, macOS, or Linux, and requiring Azure CLI or PowerShell makes bicep deploy less portable and harder to adopt in minimal environments or containerized workflows.

Describe the solution you'd like

I’d like bicep deploy to support standalone authentication flows, such as InteractiveBrowserCredential and DeviceCodeCredential from the Azure.Identity library. This would allow users to run deployments without requiring Azure CLI or PowerShell installed, making the CLI more self-contained and easier to use in environments where minimizing dependencies is important.

Related conversation at #17949.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions