Mikkel, when you publish the service are you making it available to everyone, and then once it is available, are you going into AGOL and creating a User/Role and securing the service with that User/Role in AGOL?
Not exactly. I had created the service as secured in our server instance, but when I added it to AGOL by connecting to that AGS instance, I didn't check the box to 'save credentials', so whenever a user was accessing the service first or refreshed the page they were asked to log in again. I think that as CE Howard mentioned above, I can create a new Map Image service in AGOL, and then use AGOL Assistant to change the service URLs in my Web Map to point to the new service that does have the credentials saved.
Hi,
Are you adding the secure service direct to a map, or referencing it through My Content?
Login details can only be saved through My Content. If you add it direct to a map you will always be asked for details.
Please find a workflow below:
- Go to My Content
- Add Item > On the Web
- Paste in the URL of the basemap
- ArcGIS Online will detect it�??s a secure service and ask you for the credentials and whether you want them stored.
- Click Add Item to save the service in My Content
- Go to the Map tab and create a new map
- Click Add > Search for layers
- Search for your service name
- Click Add to add it to your map
- If you want to use the map as a basemap then rather than clicking Add from the search results you need to click the name
- This open a new dialog box that allows you to �??Use As Basemap�?�
- The standard basemap is now replaced with your new map service
Regards,
Dave
Yes, the service has to be externally visible. There is no way for AGOL to validate the credentials if the service is not visible.
Mike
I'm having the same problem, but I'm going through My Content > Add Item > From the web. It's not prompting me to store.
Regarding the same issue, I bumped into this because of a lack of knowledge. I kept inputting the general internal server URL rather than the URL thrown by the web connector in the add items menu of ArcGIS Online. It would accept the internal and post the data but not offer the credential storing options below the credential input from the add items menu. Once I used the proper web adapter URL the options appeared.