A cloud-based identity and access management service for securing user authentication and resource access
Hello Munkh-Ochir Baatarkhuyag, the first part of your request is around directory synchronization from on-prem AD to Entra ID using Entra Connect. This doesn't require any special licenses. However, post this, you want API-driven provisioning for the 800 users across 6 apps. For this, you need a minimum of P1 license for each of the users, which means you need at a minimum 800 P1 licenses.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.