Skip to content
Discussion options

You must be logged in to vote

Short Answer

This is a known issue with MSAL (Microsoft Authentication Library) on iOS. The error occurs because adding the Entitlements.plist for MS Entra introduces keychain access group requirements that your provisioning profile doesn't yet include.

The fix: Switch from automatic provisioning to manual provisioning in Visual Studio, and ensure your Entitlements.plist includes the keychain access groups MSAL needs.


Root Cause

When you add MS Entra authentication to a .NET MAUI iOS app, you need an Entitlements.plist file with keychain access groups. The problem is that automatic provisioning doesn't properly handle these entitlements when deploying to a physical device.

The MSAL libra…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ianpele10-cpu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants