Closed msJinLei closed 3 days ago
Right, this is a feature gap with WAM. It does not support fetching SSH certificates.
Right, this is a feature gap with WAM. It does not support fetching SSH certificates.
But I don't find the same issue with AzureCLI. Does the MSAL.py has the same issue?
MSAL Py also supports fetching SSH certificates. It is possible that the team also added support for WAM + SSH certificates, I don't recollect.
@rayluo @jiasli @iulico-1 - do you remember?
MSAL Py also supports fetching SSH certificates. It is possible that the team also added support for WAM + SSH certificates, I don't recollect.
@rayluo @jiasli @iulico-1 - do you remember?
WAM has been improved to also support SSH cert now. MSAL .Net just needs to relay the relevant parameters to MsalRuntime. This was how MSAL Py did it.
Library version used
4.61.3.0
.NET version
.netstandard 2.0
Scenario
PublicClient - desktop app
Is this a new or an existing app?
The app is in production, and I have upgraded to a new version of MSAL
Issue description and reproduction steps
Raised by @vthiebaut10, in Azure PowerShell, when WAM is enabled, the customer fails to retry to connect a configured Azure VM using Az.Ssh. Here are the steps to reproduce
When the WAM is disabled, Enter-AzVM works as expected. And we find when WAM is enabled, WithSSHCertificateAuthenticationScheme doesn't return a SSH certificate but return a bearer token. But WAM is disabled, it returns a SSH certficate.
Relevant code snippets
Expected behavior
Return a SSH certificate as non-broker public client does
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response