Broker App (Company P.) does not register the device after sign up

Macek 0 Reputation points
2023-10-15T16:12:10.9133333+00:00

I implemented Intune SDK into our Flutter mobile app - currently testing on Android.On the Azure portal - I have set up conditinal access to require the device to be marked as compliant.In our app I implement MSAL to authenticate the user, after signing in I call RegisterAndEnrollAccount - If the user does not have Company portal (broker app) installed the app prompts them to install. Otherwise the sign in is successful. But then when i go to connect OneDrive I get an error "You cant get there from here" and in the details I can see that the device is not registered.

Here in documentation it says "The broker app starts the Azure AD registration process, which creates a device record in Azure AD" So I assume that when user signs in with Company P. installed the portal should automatically register the device with Azure AD - this however never happens for me.

Only Error message, i got in logs was this:

*** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
java.lang.RuntimeException: android.os.RemoteException: Unable to get WPJ device id
                  at android.os.Parcel.writeException(Parcel.java:1829)
                  at android.os.Binder.execTransact(Binder.java:690)
Caused by: android.os.RemoteException: Unable to get WPJ device id
                  at com.microsoft.windowsintune.companyportal.workplace.WorkplaceJoinManagerService$notify.getDeviceId(:90)
                  at o.SafetyNetApi$CertificateInfo$1.onTransact(:67)
                  at android.os.Binder.execTransact(Binder.java:675)

However I was not able to find any solutions online. Anybody has an idea o tip what might be causing this.

Microsoft Intune Compliance
Microsoft Intune Compliance
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Compliance: Adhering to rules, standards, policies, and laws.
168 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,184 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,058 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 49,346 Reputation points Microsoft Vendor
    2023-10-16T01:52:41.81+00:00

    @Macek, Thanks for posting in Q&A. For your issue, it needs deep analysis, I suggest open Premier case to look into the case:

    https://learn.microsoft.com/en-us/mem/get-support

    Thanks for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.