This restriction was recently added by the product team due to an unexpected behavior when trying to configure WebJobs when Run From Package is enabled.
Therefore, if you want to continue to deploy from the portal, you'll have to disconnect the portal deployment center, deploy to the portal, and re-enable. Otherwise, you can either deploy via Visual Studio, through kudu or an Azure DevOps CI/CD pipeline.