Pre-requisites to Host Active Directory In The Cloud

Hi. I have been trying to host my Active Directory in the cloud but every time I do that, I get an error saying “configuration not supported”. I have tried getting help from a lot of sources but to no good. Can you please tell me about the minimum requirements?
