-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting MSALErrorWorkplaceJoinRequired error with Latest Company portal in macOS #2380
Comments
Hi @parora9594, Can you provide the incident id from your company portal app? I can look up the logs using that. Can you elaborate on what you mean by 'registering the device on Azure'? |
@ameyapat, I can share more detail info for the same See below logs: We are sending a SSO payload via MDM onto device for company portal app, till 5.2205.0, it was working fine and we were able register the device in Azure portal for conditional access. but with latest version we have started facing issue. below is the ESSO Payload:
` |
@ameyapat Can you please help |
@parora9594 Please provide incident Id from Company Portal app after reproducing the issue. See instructions for getting incident id here: https://learn.microsoft.com/en-us/mem/intune/user-help/send-errors-macos#send-diagnostic-report-to-microsoft |
@ameyapat here is the required details: Incident ID: 33E1F270 Operating system: OSX 14.5.0 |
@parora9594 From the logs, it fails to retrieve Identity (device certificate + private key) from your keychain. The registration might have been messed up in keychain for some reason. Do you see any warnings when you open Company Portal app? When you open it should show you notification about repairing registration. Or you can remove device and re-enroll it. Also, do you have multiple iCloud/Apple accounts operating keychain? One might be overwriting the other |
Thanks for update @ameyapat. there is no warning in Company portal app. My question here is :
|
|
@ameyapat Here is the Incident id for success case: For failure case: |
@parora9594 Thanks for the logs. We did have a regression from Apple that caused similar issue. We had to hack a fix but hasn't shipped in production yet. It is available in beta though. Can you check if the beta version of company portal resolves your issue? For updating company portal to beta use Microsoft AutoUpdater and switch to beta channel : https://support.microsoft.com/en-us/office/update-office-for-mac-automatically-bfd1e497-c24d-4754-92ab-910a4074d7c1?ui=en-us&rs=en-us&ad=us Once switched to beta channel, newer version of company portal should show up as updateable version |
We are using the MSAL library in our macOS app for Conditional Access and Compliance Policy, but we've recently encountered the following issue with the Company Portal app while registering the device on Azure. The error started appearing with some of the latest versions, whereas it was functioning correctly on the older version (5.2205.0).
info=Error Domain=MSALErrorDomain Code=-50001 "(null)" UserInfo={MSALErrorDescriptionKey=Workplace join is required, [email protected], MSALCorrelationIDKey=07EF1D50-70F4-4FE3-A520-49407BCDE089, MSALBrokerVersionKey=5.2409.1, MSALHomeAccountIdKey=7382108e-18bc-44d0-8698-30232e855696.8770389d-4e0b-4cb8-82c8-120bdc88581a, MSIDTokenProtectionRequired=false
Could you provide guidance on addressing this issue with the newer versions?
The text was updated successfully, but these errors were encountered: