I have recently created a Service with Feature capability enabled and same is used in survey123 for add new feature,
Whenever I submit the survey, I usually see the below error message in arcgis server logs. I could go in to SQL Server and provide some manual permissions on SQL Server for published user. Is there a way to set automatically this permissions whenever a service is automatically published without opening a SQL Server ?
Error: Insufficient permissions [42000:[Microsoft][ODBC Driver 13 for SQL Server][SQL Server]The EXECUTE permission was denied on the object 'i<id>_get_ids', database '<database>', schema 'dbo'.] [<featureClass>].