will not start after taking the battery out for charging, but starts with spare on 2000 BMW 328i

wife left the light on and the battery died. I took battery out to charge. Car starts with spare key but not with the key with the alarm on it. AAA said i needed to reset the anti- theft but they did not know how???

Asked by for the 2000 BMW 328i
1 answer 1 comment
I have the answer, and all keys have to be relearned. It cost me $200.00 a month to have this information.
Thank you