The moat
Distribution plus switching costs. Once a company is on Entra + 365, ripping it out is a multi-year operational event. Azure is not always the technical winner; it is often the political winner. GitHub owns the social graph of code. That combination is closer to a railroad than to a consumer app.
Pain, risk, or retraining required to leave.
The product gets better as more people use it.
Patents, data, licenses, process knowledge, regulation.
Fixed costs spread over a volume rivals cannot match.
Structural ability to be the low-cost producer.
Pricing power from trust, habit, or identity.