Automating enterprise mobility