BMW Questions? Ask a BMW Repair Expert for Answers.
I have seen this before I would check pin tension. To do this you will need to perform a pin drag test on the connector for the oil pressure switch. Use a male pin the same as the oil level sensor and put it in the female pin and pull it out, there should be resistance to it being removed if not the pin would need to replaced. This would cause a intermittent issue that would be hard to reproduce.