Engine starts, but dies when letting go of key. Ideas?

Hi Guys,

New problem developed with my 2014 XP900. When the engine is cold, and I turn the key to start the engine, It will turn right over and run like it should… However, as soon as i let go of the key from the ‘starter’ position the engine dies.

If i continue to hold the key in the ‘start’ position the engine will keep running.

I have to repeat this process for 30-45 seconds or so before the engine will keep running on its own after letting go of the key.

Once the engine is warm, like stopping to rest in a the middle of a trail. It fires back up no problem. Seems to happen the most after sitting for a little while.

Any ideas what to check? I’ve put the battery on a charger making sure it was 100% but no resolve.