intune-app-sdk-xamarin
intune-app-sdk-xamarin copied to clipboard
Help with error: the operation couldn’t be completed. (com.microsoft.commonlib.httpconnector error 603)
The issue is related with the registering and enrolling account process in an iOS application.
We are working on an iOS Xamarin based application using iOS 15.3.1 for iPhone. Building with Xcode 13.3, using MSAL authentication with Microsoft.Identity.Client 4.43.1 Nuget package and using the Microsoft.Intune.MAM.Xamarin.iOS 15.3.0.1 Nuget package.
When we call the IntuneMAMEnrollmentManager.Instance.RegisterAndEnrollAccount(string identity) for enrolling an account, then in the public virtual void EnrollmentRequestWithStatus (IntuneMAMEnrollmentStatus status) method we are capturing an IntuneMAMEnrollmentStatus object with the: 1- "Error = The operation couldn’t be completed. (com.microsoft.commonlib.httpconnector error 603)". 2- "StatusCode = MamEnrollmentStatusEnrollmentEndPointNetworkFailure)".
Check the below image for details:
![image](https://user-images.githubusercontent.com/83839889/164722786-effb634d-244d-43ee-b491-538da6a34fcc.png)
In the Entitlements.plist file we have the following:
![image](https://user-images.githubusercontent.com/83839889/164722914-eaa77f12-0f5c-4c97-943e-5ac8c19c276b.png)
Any ideas what can cause an "The operation couldn’t be completed. (com.microsoft.commonlib.httpconnector error 603)" error?
Thank you very much.