Service Fabric Explorer always default to AAD

John Nguyen 26 Reputation points
2021-09-23T17:16:41.363+00:00

I've client cert installed on my Service Fabric cluster and I have been using the cert when running the SF Explorer. I recently enable AAD on my cluster, and it works great. But I really want SF Explorer to give me the option to access the cluster via the Client cert or AAD, but it always default to AAD. Is there a way to pick and choose? Please help!

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
252 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 24,441 Reputation points
    2021-09-24T04:08:29.883+00:00

    @John Nguyen

    Currently there is no way to choose one over the other.

    • If AAD is enabled and valid for the user AAD is used
    • If AAD is enabled but not valid for user then client cert is fall back

    There is no way to pick and choose; a client cert, if present, would be required at the time of establishing the TLS connection, and so SFX needs to know which form of authentication it should use right as it’s being opened. As mentioned above, if the user is signed in (AAD is enabled, and a token can be acquired), then the connection proceeds directly to the authorization phase (where the cluster examines the token’s claims). If the token is rejected/unauthorized, then the server falls back to prompting the client for a certificate. This dual-mode ‘authentication’ is only supported on Windows.

    Hope this helps.
    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments