Announcing Xamarin broker support in MSAL.NET 4.9.0

Microsoft identity platform team

Hello developers,

We are excited to announce that MSAL.NET now supports brokers for both Xamarin iOS and Xamarin Android apps!

What are brokers?

Brokers are Microsoft applications such as the Microsoft Authenticator app (available on iOS and Android) and the Intune Company Portal (available on Android). Brokers can provide your application with:

  • Single sign-on which allows users to sign-in once to access their apps associated with their Microsoft or Azure AD account on their mobile device.
  • Device identification, which is required by some Conditional Access policies such as setting a policy by device platform.
  • Application identification which is required in some enterprise scenarios such as Intune mobile application management.

Brokers are our recommended way to ensure seamless and secure sign-in experience for your mobile application and we encourage all developers to use them.

Get started with brokers for your application?

To enable brokers for your application, you will call WithBroker() at the construction of the application. When the user signs-in, they will be prompted by Azure AD to install the correct broker from the store, depending on the Conditional Access policies in your organization. For subsequent sign-ins, the authentication will directly use the broker instead of prompting the user for credentials.

If your application is using a broker on ADAL.NET, we encourage you to migrate to MSAL.NET by taking advantage of our migration guidance:

You can share your feedback or reach us for support through Stack Overflow. Thanks for supporting the Microsoft identity platform and we’re excited to see what you build with MSAL.NET!

Feedback usabilla icon