I also have same issue on the iphone 14, which I bought from my brother. Iphone 14 was reset and then i logged in with my apple account and when trying to do apple developer account enrolment, i get this error.
I reached out to Apple support team and they simply say, that I cannot enrol using my apple account on this device.
Is anyone aware of this issue and its resolution.
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program