When I attempted to do this the map just says "layers not available". The goal is to create an application that is open to public, but with secure layers since we cannot have unlimited viewers for our organization.
Clarification. Web adaptor is authenticated using our iis domain network accounts for our organization. It was succesfully internally becasue web adaptor recognizes our internal network. Problem is that when using an ipad it does not and there is no prompt for logging into the domain account. Just says not available.
Are you able to access the Rest URL directly from the iPad?
Sorry for the delay. I have more details about what is going on. I am trying to create a web app in arcgis online with the layers closed to only to users with proper credentials. To answer your question, yes. I can get to the REST url once I provide the proper credentials to the authentication window. When using iphone/ipad the web app loads, but layers will not. I am receiving a message saying "The layer #### cannot be added to the map." I am not being offered that authentication window. I am able to load the map properly using an android. It appears as though it is something with iOS?
Are pop ups blocked on your iOS device? It sounds like you aren't being asked for credential so aren't able to access the layer.
Correct. There are no popups because there is nothing to pop up. Expected behavior would be to get an authentication window where i can pass my credentials. I get this auth window when I am using a android.
What browser are you using? How does it handle web server authentication requests? Does the login screen pop up or is it built into your application?
This is happening in multiple browsers. Safari, Chrome. This is not a custom authentication window, it should be whatever is inherent in a browser. I should see the same authentication window one sees when they view a rest endpoint that is secure. Just uses that same authentication window so you can pass credentials.
As far as I know, you are not allowed to use restricted content in a public app hosted in ArcGIS Online.To implement restricted access would require using identities (named users). You can integrate your Active Directory with ArcGIS Online.
I've had the same issue happening since last October. When I contacted ESRI Tech support for a solution they couldn't come up with one. Instead it was discovered as a known bug. It sounds like the same issue you're faced with.
Defect ID: BUG-000095629Synopsis: ArcGIS Online web maps and Web AppBuilder for ArcGIS applications do not challenge for Windows authentication on iOS devices when referencing ArcGIS for Server web-tier secured services with NT LAN Manager (NTLM) authentication.Status: New
Joe, this is great. When you sent this message I was literally on a call with ESRI about this topic. ESRI support, do you have an ETA on when this will be fixed?
Retrieving data ...