SAAS based solutions don’t scale well in terms of cost.
There is a threshold beyond which it makes more economic sense to build and maintain your own in-house infrastructure.
A key criteria for consideration is how critical the function is to the core of the business.
At a much larger scale of operation, priorly less important function becomes more critical.
It is another application of the generalized Pareto Principle