azureb2c is not working on android emulator

Juan Rivero 20 Reputation points

azureb2c is not working on android emulator but is working on windows Machine. When I run the android emulator and the maui blazor app is running on the Android emulator, I click on login and it looks like it will connect to the azureb2c url and display the login page, but I only see a blank page. I copy and paste the azureb2c url on my laptop browser and it shows the login page, but not on the android emulator.

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,713 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 17,006 Reputation points Microsoft Employee

    @Juan Rivero

    Thank you for posting your query on Microsoft Q&A, from above description I could understand that your application sign in is not working for Azure B2C on Android emulator.

    Please do correct me if this not the issue.

    To start with Kindly validate the AndroidManifest.xml and add BrowserTabActivity activity to the application body:

    <!--Intent filter to capture System Browser or Authenticator calling back to our app after sign-in--> <activity
        android:name=""> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="msauth"
                android:path="/Signature_Hash" /> </intent-filter> </activity>

    Please do let me know by responding in the comments section if the issue persist.


    Akshay Kaushik

    Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.