Morning Bruce
I will assume the Battery is correct and in good condition. You need to spend some time testing "pulling fuses" then check with a multi meter to isolate systems and find the culprit. If you are not able or prepared to do that then you may find out why some say BMW stands for Breaks My Wallet 😆
If your stuck try and find a good Auto Electrician but remember tracing something like this is time consuming and time at an hourly rate adds up, whoever it is doing the work
Dave