That is totally unacceptable, probably caused by not using approved BMW/German fuel .
Seriously that sucks !
Yeah, I'm trying to be mellow about it but I'm a bit concerned - the bucking and surging would be one thing and bad enough already if it repeated, but dying on you is quite another and IMHO, nontrivially dangerous - if I'd been entering a turn before traffic, this is how you get killed, and when I called the dealer, they asked if I could reproduce it and when I said no, the service guy said he wasn't sure what he could do for me, which was not reassuring. (So, what, I drive a bike that may die with no apparent cause at any moment until either I have a wreck or I can reliably kill it somehow but manage not to get killed?) My wife is actually unhappy and wants me to bring it in and leave it until they find something, I'm going to have the first service done in two weeks anyway so I'll wait until then and hopefully they'll catch something.
Much obliged for anyone with any ideas about what would cause this - my first thought was bad fuel pump but not sure this would cause the instant shutoff like that. I also had a hose in an odd place behind the left side glove box which I moved to the left because it was in the way of the box closure, perhaps some wiring or vacuum in there or something is loose? I also noticed at one point that after putting the third tank of gas in it, it suddenly seemed to be running smoother, but the dying was after that tank. Bad gas? Reaching for possibilities here...