May this thread help you
Azure Virtual Desktop App (Mac IOS) Cannot access DoD Certs in Keychain.
I am running Azure Virtual Desktop using the Windows Remote Desktop Application (MAC OS), and whenever I enter my username, using my smart card for credentials, the Application seem to have trouble accessing my certificates in Keychain. How do I remedy this issue?
2 answers
Sort by: Most helpful
-
-
Mounika Reddy Anumandla 2,265 Reputation points Microsoft Vendor
2025-01-29T07:26:39.1433333+00:00 Thank you for replying back to us. Based on your question, I understand that you are using Remote Desktop client (Mac OS) to connect to your AVD, and you get the error MSAL failed to acquire claims token.
Since MSAL (Microsoft Authentication Library) handles authentication, it might be failing due to Keychain access issues. Open the Keychain Access app by searching for it in Spotlight. Press Command + Space to open Spotlight, then type Keychain Access and press Enter.
1.Under Default Keychains, select the login keychain.
2.In the search box, type
com.microsoft.rdc.macos
. Your saved passwords are listed.3.Right-click a saved password, then select Get Info.
4.In the new pane that opens, select Access Control, which shows a list of apps that can access the password.
5.Check access to Microsoft Remote Desktop
Check if Conditional Access policies are blocking smart card authentication.
In version 11.0.0 and above, the Remote Desktop client has a new name, Windows App. For more information on the Windows App update, see What is Windows App. If you're using macOS or iOS/iPadOS, you should reference Get started with Windows App to connect to desktops and apps moving forward.
Here are the redirection setting for MAC OS.
Here's how to collect logs from the Remote Desktop client for macOS:
https://learn.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-client-macos?source=recommendations#collect-logsCan you confirm if you have gone through the ref doc: https://learn.microsoft.com/en-us/answers/questions/2104123/smart-card-reader-not-recognized-in-avd-on-macIn case I misunderstood the scenario, please add more details/context to help me better understand.
Hope this helps.