We recently upgraded to ArcGISRuntime 100.9 (we were using 100.8 before) and now our Android application can no longer connect to an IWA-enabled endpoint. The code is simple:
Portal = await ArcGISPortal.CreateAsync(new Uri(_serviceUri));
This worked in 100.8 but now it throws the following exception:
System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
Do you have any insight into what changes we need to make to get this to work again? Or perhaps point us in the direction of what may have changed to cause this to no longer work?
Solved! Go to Solution.