Wifi dropping related to Apple Id
I got a new iPhoneX, running the latest iOS. It will drop the wifi connectivity just after I sign in with my Apple id. If I go to the wifi settings the wifi button is off and won't go on when i press it. From time to time it will go on for a very brief period (a few seconds) and then it will go off again. This happens with the wifi network at my University. At home I have no problem. If at home I log out with my Apple id then it will work within the University wifi until I login again with my Apple id account. I also have an iPad Pro running the latest iOS but with that one I have no problem with wifi connectivity. By the way, I have the Apple id account for ages and I never had any such issues with previous iPhone models or versions of iOS.
iPhone X, iOS 11.2.6