I am getting the error:
HTTP Error 500.21 - Internal Server Error Handler \"CloudConnectHandler\" has a bad module \"ManagedPipelineHandler\" in its module list
I discovered that the order of adding roles and features is important. On a fresh system I activate the role "application server" and there check explicitly .net, web server support and finally process activation service Then automatically a dialogue comes up that the role "Web server" needs to be added also.