Skip to content

Use certs saved in the local store to be used in cert-based auth for service principals #23448

@mdddev

Description

@mdddev

Related command
az login

Is your feature request related to a problem? Please describe.
For service principal based authentcation, I cannot reference a cert via its thumbprint in the computer store. The Az module of pwsh is able to do so:

https://docs.microsoft.com/en-us/powershell/module/az.accounts/connect-azaccount?view=azps-8.2.0

Describe the solution you'd like
az login --service-principal -u appId -certThumbprint cert:\LocalMachine\My\thumbprint

Describe alternatives you've considered
Going back to the Az module of pwsh

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions