Use service user
Service users offer the option of logging in to SharePoint without using a personal user. A service user is useful, for example, if an automated login to SharePoint is to take place when processes are executed. It is also possible to set up an external data group so that the login to SharePoint takes place via a service user.
You can only use service users if you do not use two-factor authentication to log in to SharePoint.