Related command
az network bastion rdp --name bastion-name --resource-group rg-name --target-resource-id /subscriptions/subid/resourceGroups/vm-aad-bakic/providers/Microsoft.Compute/virtualMachines/vm-aad-test --enable-mfa true
Describe the bug
When login is attempted following error is displayed.

To Reproduce
Create resources as instructed in:
- https://learn.microsoft.com/en-us/azure/bastion/connect-native-client-windows
- Assign VM User Login and/or VM Admin Login IAM roles to user invited to tenant
- az login --tenant "tenantid-where-vm-and-bastion-are"
- az account set --subscription "sunscriptionid-where-vm-and-bastion-are"
- Run az network bastion rdp as instructed above
- In login screen select email account which was added to VM tenant
Expected behavior
Being able to login to VM using AAD authentication.
Environment summary
Windows 11 21H2
"azure-cli": "2.48.1",
"azure-cli-core": "2.48.1",
"azure-cli-telemetry": "1.0.8",
"extensions": {
"account": "0.2.5",
"bastion": "0.2.4"
Related command
az network bastion rdp --name bastion-name --resource-group rg-name --target-resource-id /subscriptions/subid/resourceGroups/vm-aad-bakic/providers/Microsoft.Compute/virtualMachines/vm-aad-test --enable-mfa true
Describe the bug

When login is attempted following error is displayed.
To Reproduce
Create resources as instructed in:
Expected behavior
Being able to login to VM using AAD authentication.
Environment summary
Windows 11 21H2
"azure-cli": "2.48.1",
"azure-cli-core": "2.48.1",
"azure-cli-telemetry": "1.0.8",
"extensions": {
"account": "0.2.5",
"bastion": "0.2.4"