Good afternoon
When creating a new item with these steps:
1. Add Item
2. From Web
3. paste the service URL, and choose Type: ArcGIS Server web service
4. popup windows that requests UserName and Password
Where do I select "Store credentials with service item."?
According to what I know, it could be a CORS issue. We had to add an entry for "allowProxyHosts" to make the portal act as a proxy : Restrict the portal's proxy capability—Portal for ArcGIS | Documentation for ArcGIS Enterprise.
If it doesn't work after that, check if there is still a issue with CORS with F12 in the browser. If so, you'll need to ask the service's organization to add an entry for your domain in their CORS settings.
Hello @SanchezNuñez, have you checked this one? Unable to store credentials with a secured service item in Portal for ArcGIS
"When adding a secure ArcGIS Server web service as an item to Portal for ArcGIS, the option to store credentials with the item is not available."