A lot of the BMW VIN decoder sites have gone bust (or you have to pay)...but try this one...you’ll need to enter all 17 VIN digits (instead of just the last 7):
bimmer.work : VIN Decoder for BMW
TIP: make sure you use the correct dialog box...there is usually click bait sites that are also asking for your VIN which will not give you the info you want.