post deleted.
When you say:
"We have changed the the credentials to the connection is why we are overwriting."
Have you tried changing the item owner to match the credentials? You can't overwrite layers you don't own. At least that's been my experience, as admin in portal or online.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.