I have exactly the same type of problem. Using xCode Version 15.1 (15C65). iPhone 15Pro running IOS 17.2.1. I used xCode to copy profile to phone but see only a VPN icon (not connected) and "Sign in to Work or School Account" under VPN & Device Management. Consequently xCode downloads the App but it won't run.
Extremely annoyed at waste of time.
What is Apple doing about this?????
And now I get repeatedly "Your post couldn’t be saved. Please try again in a few minutes.".
WTF!!!